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 the following error:
error C2664: 'MessageBoxA' : cannot convert parameter 2 from 'struct HWND__ *' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast