WM_PAINT disappeared

Fabian Cenedese Cenedese at indel.ch
Fri Sep 13 07:51:26 CDT 2002


Hi all

I have a problem with my MFC-MDI-app. There are some other windows docked
in the main window. The problem now is that they don't get painted. I end 
up with
an app-window with some areas that never get updated. I first tried with 
tracing
but I never saw anything wrong. Now I logged in my child window (CIXDockWnd)
all messages it gets. This is what happens at creation in Windows:

CMainFrame::OnCreate
CIXDockWnd:
-WM_NCCREATE
-WM_NCCALCSIZE
-WM_CREATE
-WM_SIZE
-WM_MOVE
.. (some other stuff)
-WM_WINDOWPOSCHANGING
-WM_NCCALCSIZE
-WM_WINDOWPOSCHANGED
-WM_SIZE
-WM_SHOWWINDOW
CImdApp::InitInstance: Call ShowWindow
CImdApp::InitInstance: Call UpdateWindow
CIXDockWnd:
-WM_PAINT (*)
-WM_NCPAINT (*)
CImdApp::InitInstance: Call SetFocus
CIXAppFrame::OnWindowPosChanged
CIXDockWnd:
-WM_PAINT (*)
-WM_NCPAINT (*)
-WM_ERASEBKGND (*)
IDLE_UPDATE

Here the window is finished and visible, waiting for actions. In Wine though
the paint messages of the child window (*) never show up, it stays clear. I
don't know now if this is a problem in message routing (I don't think so as
all other messages come through) or if these messages aren't sent at
all. To investigate this can somebody point me to directions where these
messages should be generated?

Thanks

bye  Fabi





More information about the wine-devel mailing list