Jump to content

Recommended Posts

Posted

i have used this many times... and now it does not work

$Icon_4A = GUICtrlCreateIcon("", 0, 360, 395, 30, 30)
GUICtrlSetImage(-1, "shell32.dll", 131)

example script

#include <GUIConstants.au3>

GUICreate("My GUI Button") ; will create a dialog box that when displayed is centered

Opt("GUICoordMode",2)
GUICtrlCreateButton ("OK",  10, 30, 50)
GUICtrlCreateButton ( "Cancel",  0, -1)

$Icon_4A = GUICtrlCreateIcon("", 0, 30, 95, 30, 30)
GUICtrlSetImage(-1, "shell32.dll", 131)

GUISetState ()    ; will display an  dialog box with 2 button

; Run the GUI until the dialog is closed
While 1
    $msg = GUIGetMsg()
    
    If $msg = $GUI_EVENT_CLOSE Then ExitLoop
Wend

thanks

8)

NEWHeader1.png

Posted

if you check out my *Xpedite Pro* script below it has this use throughout...

and there is no error... and it DID WORK BEFORE??

I guess i have to go through and change all of the icons now

thanks

8)

NEWHeader1.png

Posted (edited)

I have such a problem to sometimes...

But then I chance some thing more, it will show the icon instantly.

I'm using tabs...

It hapens for example when i'm using GUICtrlSetFont in the previous page...

Edited by Ghastly_MIB

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...