[Deleted]
Found the answer! ;o)
Type: Posts; User: Knight Chat X
[Deleted]
Found the answer! ;o)
Ok, just got your other post after I already sent the last post, oops!!! lol =o)
Here's how I have it now:
//Global Variable.
HWND hListbox=0;
//Create Listbox.
hListbox = CreateWindowEx(WS_EX_CLIENTEDGE, Listbox_Class, NULL, WS_VSCROLL | WS_VISIBLE | WS_BORDER | WS_CHILD...
Thanks, just tried that, but now it gives 2 error's =o( :
error C2065: 'hListBox' : undeclared identifier
error C2664: 'MessageBoxA' : cannot convert parameter 2 from 'struct HWND__ *' to 'const...
How do I display a window handle in Messagebox after using the CreateWindowEx function?
This is how I'm using Messagebox:
MessageBox(NULL, hListbox, "Window Handle!", MB_OK);
And it gives...