| | | | Browse by category |
Article ID: 1020
Last updated: 05 Feb, 2008
Problem
Horizontal scroll bars do not appear in combo boxes.
Cause
Object Factory cannot create a horizontal scroll bar for a combo box. The Auto Horz Scroll check box under Style does not create a horizontal scroll bar, but allows the edit line portion of the combo box to scroll the text to the right automatically when the user enters text past the end of the line.
Action
Put the following line in the code after the Combo Box is created. (This code goes in the constructor protect block.)
Horizontal scroll bars do not appear in combo boxes.
Cause
Object Factory cannot create a horizontal scroll bar for a combo box. The Auto Horz Scroll check box under Style does not create a horizontal scroll bar, but allows the edit line portion of the combo box to scroll the text to the right automatically when the user enters text past the end of the line.
Action
Put the following line in the code after the Combo Box is created. (This code goes in the constructor protect block.)
PostMessage(*pComboBox1, CB_SETHORIZONTALEXTENT, 800, 0L );
This article was:
Helpful |
Not helpful
Report an issue
Article ID: 1020
Last updated: 05 Feb, 2008
Revision: 1
Views: 2704
Posted: 14 Oct, 1997 by
Dean J.
Updated: 05 Feb, 2008 by
Dean J.
Others in this category
Powered by KBPublisher (Knowledge base software)