PcExpert Posted September 16, 2006 Posted September 16, 2006 Hello, Is it possible to use an icon from shell32.dll for my program? If yes, how? Thanks!
BigDod Posted September 16, 2006 Posted September 16, 2006 Yes #include <GUIConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("AForm1", 633, 447, 193, 115) GUISetIcon("C:\WINDOWS\system32\shell32.dll", 17) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother
PcExpert Posted September 16, 2006 Author Posted September 16, 2006 Sorry, but that's not what I mean (sorry if I explained it the wrong way) What is: If you compile your script with options you can choose a custom icon. But how to choose one from shell32.dll?
GaryFrost Posted September 16, 2006 Posted September 16, 2006 Sorry, but that's not what I mean (sorry if I explained it the wrong way) What is: If you compile your script with options you can choose a custom icon. But how to choose one from shell32.dll?not that I know of SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
PcExpert Posted September 16, 2006 Author Posted September 16, 2006 OK, thanks! Is there a way to get those icons in ico format?
GaryFrost Posted September 16, 2006 Posted September 16, 2006 OK, thanks! Is there a way to get those icons in ico format?google for icon extract, should find plenty. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
BigDod Posted September 16, 2006 Posted September 16, 2006 OK, thanks! Is there a way to get those icons in ico format?Use This program Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother
Moderators SmOke_N Posted September 16, 2006 Moderators Posted September 16, 2006 Resource Hacker wouldn't do it and just save it to a different location? Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
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