HeidiR Posted December 9, 2008 Share Posted December 9, 2008 Hi All, I have used SciTE to embed some additional icons to my exe. I have confirmed that the icons are in the exe by using a Windows shortcut to view the available icons. However, when I try to access the icons in the exe using GUICtrlCreateIcon, they don't appear. Code below. What am I missing? CODEGUICtrlCreateIcon(@ScriptDir & "\test.exe", 6, 10, 10) HeidiRFind free applications, code examples and more on my site at:http://heidisdownloads.com/ Link to comment Share on other sites More sharing options...
Zedna Posted December 9, 2008 Share Posted December 9, 2008 (edited) Look here:http://www.autoitscript.com/forum/index.ph...st&p=614501EDIT: I think it should beGUICtrlCreateIcon(@ScriptFullPath, -5, 10, 10) Edited December 9, 2008 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
HeidiR Posted December 9, 2008 Author Share Posted December 9, 2008 Thanks Zedna! That was it! Need the ordinal (-5) instead of the name 5. HeidiRFind free applications, code examples and more on my site at:http://heidisdownloads.com/ 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