1 #ifndef __OBJECTINSPECTOR_H__
2 #define __OBJECTINSPECTOR_H__
6 #include "UIBaseObject.h"
12 ObjectInspector( HWND hWnd
);
13 ~ObjectInspector( void );
15 void SetObject( UIBaseObject
* );
16 UIBaseObject
*GetObject( void ) const;
18 bool GetSelectedPropertyName( UINarrowString
&Out
);
19 void SendKeyDown( unsigned KeyCode
);
21 HWND
GetTextControl( void ) const { return mTextOverlay
; };
25 static LRESULT CALLBACK
StaticWindowProc( HWND
, UINT
, WPARAM
, LPARAM
);
26 LRESULT
WindowProc( HWND
, UINT
, WPARAM
, LPARAM
);
28 static LRESULT CALLBACK
StaticTextboxWindowProc( HWND
, UINT
, WPARAM
, LPARAM
);
29 LRESULT
TextboxWindowProc( HWND
, UINT
, WPARAM
, LPARAM
);
31 void LoadListboxWithObjectProperties( void );
32 void UpdateButtonEnabledState( void );
34 void ShowTextControl( void );
35 void UpdateTextControlFromProperty( void );
36 void UpdatePropertyFromTextControl( void );
38 HWND mPropertyListbox
;
40 WNDPROC mOldWindowProc
;
41 WNDPROC mOldTextboxWindowProc
;
43 UIBaseObject::UIBaseObjectPointer mObject
;
44 UINarrowString mCurrentPropertyName
;
46 unsigned int mTimerID
;
51 #endif /* __OBJECTINSPECTOR_H__ */