Microsoft KB Archive/252967

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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


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