[Bug 11657] Problems with MessageBox API
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Jun 12 04:30:25 CDT 2008
http://bugs.winehq.org/show_bug.cgi?id=11657
johne53 <johne53 at tiscali.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |johne53 at tiscali.co.uk
--- Comment #9 from johne53 <johne53 at tiscali.co.uk> 2008-06-12 04:30:24 ---
This might be related to a problem I've just found this morning.... Windows
itself seems to create message boxes based on the supplied type / icontype etc.
So, for example, a message box created with MB_YESNO|MB_ICONSTOP will have a
button with IDYES and a button with IDNO. But it WOULDN'T have buttons with IDs
of (say) IDOK and IDCANCEL.
However, Wine seems to create message boxes with all the standard button IDs
predefined - but then it only uses (i.e. displays) the ones that are relevant.
Therefore, given a suitable handle to a messagebox, GetDlgItem(hMsgBox, IDOK)
will return a seemingly valid handle - even if the message box DOESN'T have an
OK button.
Is this something that the developers are aware of?
P.S. Congratulations on a great and impressive product.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list