AustrianOak Posted June 26, 2008 Posted June 26, 2008 I tried using GUICtrlCreatePic() to create an icon in my gui window and it appeared as blank. Whats a simple way to load an icon file into my gui?
AustrianOak Posted June 26, 2008 Author Posted June 26, 2008 (edited) I feel dumb. Never saw that function. Edit: Before I used GUICtrlCreatePic on a Child GUI like this: GUICreate("", 26, 26, 98,25,$WS_POPUP,-1,$GUI) $pic = GUICtrlCreatePic("3.gif", 0, 0, 26, 26) Is there any way I can use GUICtrlCreateIcon in the same fashion? Edited June 26, 2008 by nowagain
AustrianOak Posted July 5, 2008 Author Posted July 5, 2008 Sorry to bump this old topic but am still looking for the answer...
Andreik Posted July 5, 2008 Posted July 5, 2008 $GUI = GUICreate("EXAMPLE",200,200,-1,-1) $ICON = GUICtrlCreateIcon("spider.ico",-1,20,20) GUISetState(@SW_SHOW,$GUI) While GUIGetMsg() <> -3 Sleep(25) WEnd
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