Meszaros Csaba Posted December 28, 2005 Posted December 28, 2005 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
MrSpacely Posted December 28, 2005 Posted December 28, 2005 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
seandisanti Posted December 28, 2005 Posted December 28, 2005 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 thisthat'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)
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