[Bug 3637] New: dialog: no wm_paint message at first draw
Wine Bugs
wine-bugs at winehq.org
Sat Oct 22 11:43:32 CDT 2005
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 at winehq.org
ReportedBy: T.Bonner at 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.
More information about the wine-bugs
mailing list