Rex Posted April 27, 2006 Share Posted April 27, 2006 Hi how can i make a combo readonly with a dropdown, and keep my Hscrool if i use the $CBS_DROPDOWNLIST or the $CBS_DROPDOWN my Hscroolbar dissapears Can any one tell me how to get over this prob. Im sure that it's just somthing simpel i have overlooked, reading the helpfile + forum /Rex Link to comment Share on other sites More sharing options...
Rex Posted April 28, 2006 Author Share Posted April 28, 2006 No one ??? It's realy bugging me, that the scroolbar dissaperes Link to comment Share on other sites More sharing options...
jpm Posted April 28, 2006 Share Posted April 28, 2006 No one ???It's realy bugging me, that the scroolbar dissaperesWhen you set a style only forced style are included. So in this specificic case you destroy the default value which is $CBS_AUTOHSCROLL and also $WS_VSCROLL.If you need one of them you need to Ored it to the one you select. Link to comment Share on other sites More sharing options...
Rex Posted April 28, 2006 Author Share Posted April 28, 2006 When you set a style only forced style are included. So in this specificic case you destroy the default value which is $CBS_AUTOHSCROLL and also $WS_VSCROLL.If you need one of them you need to Ored it to the one you select. Now i got it$Combo1 = GUICtrlCreateCombo("", 240, 24, 49, 210,$CBS_DROPDOWNLIST+$CBS_AUTOHSCROLL+$WS_VSCROLL); Combo as a dropdownThx/Rex Link to comment Share on other sites More sharing options...
Polyphem Posted June 21, 2006 Share Posted June 21, 2006 Thanks, was really in need for this one ... This post will be edited again by Polyphem: Tomorrow, 11:55 AM Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now