adik2dmax666 Posted August 8, 2010 Share Posted August 8, 2010 (edited) I wonder why $Fav_Btn doesn't show any image but sometimes it does on other machines... Im using 64 bit xp, there seems to be an issue with it... Global $shell = "shell.dll" Global $Fav_Btn = GUICtrlCreateButton(" ",3,2,35,35) GUICtrlSetResizing(-1,BitOR($GUI_DOCKHEIGHT, $GUI_DOCKTOP)) GUICtrlSetImage(-1,$shell,-247) GUICtrlSetTip(-1,$LANG_Toolbar_Favourites,$LANG_Toolbar_Favourites_Title) GUICtrlSetOnEvent(-1,"_Favourites") GUICtrlSetState($Fav_Btn,$GUI_ENABLE) SOLVED: just need to add the EXSTYLE $BS_ICON Global $Fav_Btn = GUICtrlCreateButton(" ",3,2,35,35, $BS_ICON) Edited August 8, 2010 by adik2dmax666 First learn computer science and all the theory. Next develop a programming style. Then forget all that and just hack. -George Carrette[sub]GD Keylogger Creator (never released)[/sub][sub]Garena Autojoin v3.0[/sub] Link to comment Share on other sites More sharing options...
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