PRB: Can't Change Width of Vertical Up-Down ControlLast reviewed: January 29, 1998Article ID: Q180077 |
The information in this article applies to:
SYMPTOMSWhen creating a vertical up-down control, the width passed in CreateWindow or specified in the dialog box template is ignored.
CAUSEA vertical up-down control sets its width to the width of a vertical scroll bar when created, regardless of whether the buddy window handle is valid or NULL.
RESOLUTIONThe width of the vertical up-down control can be changed manually by using the SetWindowPos() or MoveWindow() function after the control has been created.
STATUSThis behavior is by design.
MORE INFORMATIONThis problem does not affect horizontal up-down controls because horizontal up-down controls do not change width when created. Keywords : UsrCtl Version : WINNT: Platform : winnt Issue type : kbprb Solution Type : kbnofix |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |