[Bug 3637] New: dialog: no wm_paint message at first draw
http://bugs.winehq.org/show_bug.cgi?id=3637 Summary: dialog: no wm_paint message at first draw Product: Wine Version: 20050930 Platform: Other OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-user AssignedTo: wine-bugs(a)winehq.org ReportedBy: T.Bonner(a)freesurf.ch In a program I want to create a (modal) dialog (like in petzold), but additionaly I've inserted in the message handler code to draw something when WM_PAINT is received (besides other things defined in the resource file). with wine this wm_paint code isn't called at the very first startup of the dialog, but afterwards (e.g. at repainting) all is ok. e.g. (handle messages of the given dialog) case WM_PAINT: hdc = GetDC (hDlg); /* draw something */ ReleaseDC (hDlg, hdc); break; -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
participants (1)
-
Wine Bugs