Microsoft KB Archive/235582

{|
 * width="100%"|

PRB: Caption Bar Buttons Are Not Positioned Correctly

 * }

Q235582

-

The information in this article applies to:


 * Microsoft Windows CE Operating System versions 1.0, 2.0

-

SYMPTOMS
When you add the Help, OK, or Close buttons to the caption bar of a window, the buttons may appear oddly positioned, depending on which buttons you added. For example, if you use the Help and Close buttons, there will be a space between these buttons where the OK button would normally appear.

CAUSE
In earlier versions of Windows CE (before 2.10), the locations of the three buttons that can appear in the caption bar (Help, OK, and Close) are hard-coded.

Windows CE version 2.10 and later dynamically position the buttons based on which buttons are in the caption bar.

STATUS
This behavior is by design.

MORE INFORMATION
The window styles necessary to add the buttons to the caption bar are:

Additional query words:

Keywords : kbGrpDSUser kbOSWinCE100 kbOSWinCE200 kbWndw kbWndwProp

Issue type : kbprb

Technology : kbOSWinCE kbWinCESearch kbWinCE100 kbWinCE200