LimeSeed Posted August 21, 2008 Posted August 21, 2008 is there any way to make round buttons by using guictrlcreatebutton("round button", 23,23,23,23) ? global $warming = true
FlintBrenick Posted August 23, 2008 Posted August 23, 2008 I looked around some and from what I can tell, you can't make a button rounded, sorry. I'll repost if I find out otherwise. ~Flint Brenick~
Pain Posted August 23, 2008 Posted August 23, 2008 you can always use a picture as a button $picture = GUICtrlCreatePic("img.jpg", 50, 50, 200, 50) While 1 $msg = GUIGetMsg() If $msg = $picture Then ; Do something EndIf Wend
FlintBrenick Posted August 23, 2008 Posted August 23, 2008 you can always use a picture as a button $picture = GUICtrlCreatePic("img.jpg", 50, 50, 200, 50)While 1 $msg = GUIGetMsg() If $msg = $picture Then ; Do something EndIfWendYeah, that is the closest thing that you can do, but even if you have a picture of a circle, the controller itself is still not rounded.
JRowe Posted August 25, 2008 Posted August 25, 2008 Can do a custom button widget by monitoring mouse events, and test radius from a point in order to get a circular button. [center]However, like ninjas, cyber warriors operate in silence.AutoIt Chat Engine (+Chatbot) , Link Grammar for AutoIt , Simple Speech RecognitionArtificial Neural Networks UDF , Bayesian Networks UDF , Pattern Matching UDFTransparent PNG GUI Elements , Au3Irrlicht 2Advanced Mouse Events MonitorGrammar Database GeneratorTransitions & Tweening UDFPoker Hand Evaluator[/center]
AdmiralAlkex Posted August 25, 2008 Posted August 25, 2008 is there any way to make round buttons by using guictrlcreatebutton("round button", 23,23,23,23) ?Try _GuiRoundCorners() with a label (it doesn't work with buttons), see THIS thread for how to do it. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface
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