Jump to content

Recommended Posts

Posted

Hi,

I have a simlpe question: How can I use BitOr in GUICreate command. I have two ideas:

1. GUICreate("Somename",x,y,w,h,BitOR($style,$extendedstyle,$parentGUI))

2. GUICreate("Somename",x,y,w,h,BitOR($style,$extendedstyle),$parentGUI)

Which one is correct ?

Csaba

Posted

both wrong

Style extended gui and the parent handle have their own parameter.

3. GUICreate("Somename",x,y,w,h,$style,$extendedstyle,$parentGUI)

bitor is not needed for this

Posted

both wrong

Style extended gui and the parent handle have their own parameter.

3. GUICreate("Somename",x,y,w,h,$style,$extendedstyle,$parentGUI)

bitor is not needed for this

that's actually inaccurate. it is not used correctly in either of the examples given, but any time you want to combine styles or extended styles, not styles AND extended styles.

such as:

GUICreate ( "title" , width , height , left , top , BitOr(style1,style2,style3) ,BitOr(exStyle1,exStyle2) , parent)

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
×
×
  • Create New...