[ros-bugs] [Bug 2289] Apps crash when defined with EXSTYLE DS_SHELLFONT
ReactOS.Bugzilla at www.reactos.org
ReactOS.Bugzilla at www.reactos.org
Wed Jun 6 20:25:17 CEST 2007
http://www.reactos.org/bugzilla/show_bug.cgi?id=2289
------- Comment #5 from tykef at atlas.cz 2007-06-06 20:25 CET -------
so here is the result of my investigation:
the problem is that DS_SHELLFONT is defined like this:
#define DS_FIXEDSYS 8
#define DS_SETFONT 64
#define DS_SHELLFONT (DS_SETFONT | DS_FIXEDSYS)
in user32.dll window.c line 196 we have:
if (dwExStyle & WS_EX_MDICHILD){...
-> this is true 'cos WS_EX_MDICHILD is defined as
#define WS_EX_MDICHILD 64
and we have passed DS_SHELLFONT as dwExStyle. Then it crashes because it tries
to create mdi child dialog and there are some uninitialized variables.. so the
solution is just fixing that condition statement.
I hope I remeber this right. It's been a few months since I messed with this
and I can't compile trunk at the moment to verify that.
--
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
You are the assignee for the bug, or are watching the assignee.
More information about the Ros-bugs
mailing list