Discussion in 'Win32' started by imrantechi, Feb 13, 2008.
Vote for article of the month for Feb 2008
thank u very much!
I can run your code correctly in c++ builder, but i get someting wrong with visual c++ running
the error info is:
F:\test\vc6\win32Ctl\m.cpp(256) : error C2664: 'CreateWindowExA' : cannot convert parameter 11 from 'void *' to 'struct HINSTANCE__ *'
Conversion from 'void*' to pointer to non-'void' requires an explicit cast
i don't know why ? please help me . thks
i'm from china, speaking English is not good.
how can i trigger en event such as RadioButton's OnClick, and do something in the event?
i'm so poor English , sry
is it possible to create a window without caption and border, but with menu ? If so, then how?
hi the code works perfectly fine in vc++ there is no such error
under WM_COMMAND ,you can create the switch case in which you can handle any of the radio button on click event.
the sitch will be written as switch(LOWORD(wParam))
then you need to create cases with the Identifiers of the buttons .
Inside the case you can do any event
Separate names with a comma.