P
PaltryProgrammer
Guest
Through the generous assistance of RLWA32 I was able to add a custom control to a dialog. I now have the problem of the custom control not receiving WM_CREATE messages. As you can see below the message map includes the WM_CREATE message id. Even though "ccustom_control::OnPaint()" and "ccustom_control::OnLButtonDown()" are called "ccustom_control::OnCreate()" is never called. What must I do to ensure that it is called? Thank you kindly. Cheerios
BEGIN_MESSAGE_MAP(ccustom_control, CWnd)
ON_WM_PAINT()
ON_WM_CREATE()
ON_WM_LBUTTONDOWN()
END_MESSAGE_MAP()
PS am utilizing VS Community 2017
Continue reading...
BEGIN_MESSAGE_MAP(ccustom_control, CWnd)
ON_WM_PAINT()
ON_WM_CREATE()
ON_WM_LBUTTONDOWN()
END_MESSAGE_MAP()
PS am utilizing VS Community 2017
Continue reading...