Sign in to follow this  
Followers 0
Meszaros Csaba

GUICreate and BitOR

3 posts in this topic

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

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

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)

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

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