Microsoft KB Archive/252967

From BetaArchive Wiki

HOWTO: Problem with DLGWINDOWEXTRA Definition in Winuser.h File


The information in this article applies to:

  • Microsoft Windows CE Operating System versions 2.11, 2.12, 3.0


The include file, Winuser.h, for Windows CE defines DLGWINDOWEXTRA to be 32. When you create a custom dialog box window class, by using the value that is provided for DLGWINDOWEXTRA, a variety of problems occur, presumably because the number of extra window bytes provided (32) isn't sufficient.

Instead, Microsoft recommends that you use the GetClassInfo function, which actually returns a value of 36 for the dialog box window class.

Additional query words:

Keywords : kbdocfix kbOSWinCE211 _IK kbOSWinCE212
Issue type : kbhowto
Technology : kbOSWinCE kbWinCESearch kbWinCE211 kbWinCE212 kbWinCE300

Last Reviewed: May 7, 2000
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.