MFC: Drawing within the client area of CMDIFrameWnd
-
Hi. How can I acces for painting the client area of the main frame window (derived from CMDIFrameWnd) in multi-doc application? Thanks in advance... Juntek
-
Hi. How can I acces for painting the client area of the main frame window (derived from CMDIFrameWnd) in multi-doc application? Thanks in advance... Juntek
you have WM_PAINT message, that you can use to paint the client area
-
you have WM_PAINT message, that you can use to paint the client area
I've checked it already and it seems to not work, I'm afraid... thanks
-
I've checked it already and it seems to not work, I'm afraid... thanks
use this in ur mainframe.cpp file, this is not a member function long FAR PASCAL NewMDIClientProc(HWND hWnd,WORD wMesg,WORD wParam,LONG lParam) { switch (wMesg) { case WM_SIZE: { } case WM_PAINT: { } } }