Microsoft KB Archive/252967

{|
 * width="100%"|

HOWTO: Problem with DLGWINDOWEXTRA Definition in Winuser.h File

 * }

Q252967

-

The information in this article applies to:


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

-

SUMMARY
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