CWnd derived class doesn't drag like a normal window
I have created a CWnd derived class but it doesn't drag like a normal window. It will end up where I drop it but the moving of the window is not rendering.
I have just started working on this CWnd derived class and am currently overriding the OnPaint handler.
Microsoft Visual Studio 2010 on Windows 7 32-bit. platform using Visual C++.
Microsoft Development
Last Comment
supportoranges
8/22/2022 - Mon
AndyAinscow
>>am currently overriding the OnPaint handler.
Which is why it isn't working like normal - you are obviously not doing something that the default OnPaint would be doing.
supportoranges
ASKER
Thank you for your feedback. Even if I comment out the paint message (as below) the problem doesn't go away. (void CMyFrame::OnPaint() not called)
Which is why it isn't working like normal - you are obviously not doing something that the default OnPaint would be doing.