c++ - Initializing a control's member variable from device context -
I'm writing custom control obtained from Update : I have no chance of receiving custom control via the original editor because of the CWnd I use my custom presentation to get my custom control What is the right way to do this, to start the member's variables (such as: a memory DC)? I think the device will not be ready in the reference constructor. So what's the next option? Is it
OnCreate event protected by using DC? I'm probably looking for something like
OnInitDialog , but it has a custom control, no dialogue.
WM_CREATE event because it is sub-clinging Already made.
Comments
Post a Comment