There is a problem don't understand!
I use the CreateEX setting up of a main window, and then use the Create in the main window to set up a control, set up successfully, but the control can't use the message function to modify the color of the button or the departure message, where the application is unable to run to the message function,
I set up a class respectively, Cwnd as base class, set up the main window class, and class button controls, if can use the message function called main window class, but not a controls,
Why is this?
Thank you master!
CodePudding user response:
"A simple MFC?"CodePudding user response:
SetWindowLong (GWL_WNDPROC)???????