Sign in to follow this  
Followers 0
Rex

Combo Dropdownlist Style

5 posts in this topic

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

Share this post


Link to post
Share on other sites



No one ???

It's realy bugging me, that the scroolbar dissaperes

Share this post


Link to post
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:

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Thanks, was really in need for this one :D...


This post will be edited again by Polyphem: Tomorrow, 11:55 AM

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0