29 #ifndef PROPERTYGRID_H_
30 #define PROPERTYGRID_H_
32 #define PGN_ITEMCHANGED 100
34 #define PGS_HEADERS 0x00000001
35 #define PGS_ALLOWINSERT 0x00000002
59 bool Create ( HWND parent,
int id,
int style = 0 );
104 static LRESULT CALLBACK
WndProc ( HWND hWnd,
UINT msg, WPARAM wParam,
LPARAM lParam );
114 return SendMessage (
mWindow, LB_GETCURSEL, 0, 0 );
119 SendMessage (
mWindow, LB_SETCURSEL, index, 0 );
123 #endif // PROPERTYGRID_H_
GLsizei const GLfloat * value
CONST PIXELFORMATDESCRIPTOR UINT
void RemoveAllItems(void)
GLuint GLuint GLsizei GLenum type
void Move(int x, int y, int w, int h, BOOL redraw=FALSE)
const char * GetItemValue(int index)
bool Create(HWND parent, int id, int style=0)
int AddItem(const char *name, const char *value, EItemType type=PGIT_STRING)
GLubyte GLubyte GLubyte GLubyte w
bool ReflectMessage(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
void RemoveItem(int index)
void SetCurSel(int index)
void StartEdit(int item, bool label)
int HandleDrawItem(WPARAM wParam, LPARAM lParam)
static LRESULT CALLBACK WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
const char * GetItemName(int index)