How to hide the box of checkbox

11/05/2013 22:01 fuso98#1
Hi guys, i'm making an UDF to make GUI like Java style. I made GUI, buttons and now i'm making checkbox/radiobox. How can i hide the checkbox box and make visible only the image of java style checkbox?

Here a picture:
[Only registered and activated users can see links. Click Here To Register...]
11/05/2013 22:03 alpines#2
If it's possible you could put a label over it.
11/05/2013 22:12 fuso98#3
Quote:
Originally Posted by alpines View Post
If it's possible you could put a label over it.
Yes i tryed it, but the when mouse go over checkbox label go under it.

PHP Code:
#include <GUIConstantsEx.au3>
#include <GuiButton.au3>
#include <GuiImageList.au3>
GuiCreate("Example...")
    
$chk GUICtrlCreateCheckbox("Check Button1"2601012025)
    
$hidelabel=GUICtrlCreateLabel("s",260,10,15,19)
    
GUICtrlSetColor(-10xF0F0F0)
    
GUICtrlSetState($hidelabel,$GUI_ONTOP
11/05/2013 22:51 alpines#4
You could probably use $BS_PUSHLIKE as Styles if you want to hide it, choose a transparent color and it's ok.
11/05/2013 23:07 YatoDev#5
use a label with a click event not a real checkbox
11/05/2013 23:10 alpines#6
Dann musst du den animierten Effekt aber nachfügen und das ist ein bisschen umständlicher.
11/06/2013 01:08 YatoDev#7
hmm om than better :
Make a label and a picture if clicked on picture or label -> checkbox = checked (use the picure of a checked box and a not checked)
11/06/2013 05:57 berkay2578#8
Or just use xp styles for autoit.. google it, download it, modify it, use it.
11/06/2013 11:44 alpines#9
Or use SkinCrafter for AutoIt, it's much better and you can change the whole theme with just 1 DLL and 1 Skin.
11/06/2013 13:54 fuso98#10
I tryed skincrafter, but it don't work for me :( fluttershy can you come on skype? :D