Jump to content

Combo Dropdownlist Style


Rex
 Share

Recommended Posts

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 :think:

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

No one ???

It's realy bugging me, that the scroolbar dissaperes

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. :think:

Link to comment
Share on other sites

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. :think:

Now i got it

$Combo1 = GUICtrlCreateCombo("", 240, 24, 49, 210,$CBS_DROPDOWNLIST+$CBS_AUTOHSCROLL+$WS_VSCROLL); Combo as a dropdown

Thx

/Rex

Link to comment
Share on other sites

  • 1 month later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...