AustrianOak Posted June 26, 2008 Share 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? Link to comment Share on other sites More sharing options...
NELyon Posted June 26, 2008 Share Posted June 26, 2008 GUICtrlCreateIcon...? Link to comment Share on other sites More sharing options...
AustrianOak Posted June 26, 2008 Author Share 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 Link to comment Share on other sites More sharing options...
AustrianOak Posted July 5, 2008 Author Share Posted July 5, 2008 Sorry to bump this old topic but am still looking for the answer... Link to comment Share on other sites More sharing options...
Andreik Posted July 5, 2008 Share 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 When the words fail... music speaks. 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