Heartless I post too much
Reputation: 0
Joined: 03 Dec 2006 Posts: 2436
|
Posted: Fri Dec 19, 2008 9:37 am Post subject: [C++] Listbox Problems |
|
|
| Code: | ...
Window = CreateWindowEx(WS_EX_OVERLAPPEDWINDOW, TEXT("Console"), TEXT("Console"), WS_SYSMENU, X, Y, W, H, NULL, NULL, hInstance, NULL);
EditWindow = CreateWindow(TEXT("listbox"), TEXT(""), WS_CHILD | WS_VISIBLE | WS_VSCROLL | LBS_NOSEL, 0, 0, W - 5, H - 5, Window, (HMENU)1000, hInstance, NULL);
...
SendMessage(EditWindow, (UINT)LB_ADDSTRING, (WPARAM)0, (LPARAM)"Testing");
|
My window works fine, but the SendMessage dosen't add anything to my listbox.
_________________
What dosen't kill you, usually does the second time. |
|