Jump to content

Recommended Posts

Posted (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 by nowagain
  • 2 weeks later...
Posted

$GUI = GUICreate("EXAMPLE",200,200,-1,-1)
$ICON = GUICtrlCreateIcon("spider.ico",-1,20,20)
GUISetState(@SW_SHOW,$GUI)
While GUIGetMsg() <> -3
    Sleep(25)
WEnd

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...