serialzs Posted March 16, 2006 Share Posted March 16, 2006 (edited) GUICreate("ICON") GUICtrlCreateIcon("icon.exe", 0, 5,5, 128,128) GUISetState() While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE then ExitLoop WEndProblems:-> "icon.exe" is a autoitscript with a icon size 128x128 its blurred wen viewit does have a 128x128 max size icon..clear and smooth icon..i tested any icon in *.exe it doesnt work it only viewed 32x32 icon thats why it blurred..example is IEXPLORER.exe have max icon size of 48x48 but it only viewed 32x32.. -> "$GUI_EVENT_CLOSE" always error in this script..need help i dont know what making that error.. ill attach the "icon.exe" here..-=[serialzs]=-icon.zip Edited March 16, 2006 by serialzs Link to comment Share on other sites More sharing options...
Developers Jos Posted March 16, 2006 Developers Share Posted March 16, 2006 GUICreate("ICON") GUICtrlCreateIcon("icon.exe", 0, 5,5, 128,128) GUISetState() While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE then ExitLoop WEnd Problems: -> "icon.exe" is a autoitscript with a icon size 128x128 its blurred wen view it does have a 128x128 max size icon..clear and smooth icon.. i tested any icon in *.exe it doesnt work it only viewed 32x32 icon thats why it blurred..example is IEXPLORER.exe have max icon size of 48x48 but it only viewed 32x32.. -> "$GUI_EVENT_CLOSE" always error in this script.. need help i dont know what making that error.. ill attach the "icon.exe" here.. -=[serialzs]=- Could you please post questions in the GUI support forum _> moving this post. This version works fine for me: #include<guiconstants.au3> GUICreate("ICON") GUICtrlCreateIcon("icon.exe", 0, 5,5, 128,128) GUISetState() While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE then ExitLoop WEnd SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
serialzs Posted March 16, 2006 Author Share Posted March 16, 2006 (edited) look for the difference of this.. my icon is clear and smooth but in autoitscript its not.. i make my icons in MICROANGELO Software..i just preview it..thats the actual size of the icon.. why is it not viewed with a good quality icon??? -=[serialzs]=- Edited March 16, 2006 by serialzs Link to comment Share on other sites More sharing options...
Valuater Posted March 16, 2006 Share Posted March 16, 2006 (edited) look for the difference of this.. my icon is clear and smooth but in autoitscript its not.. why is it not viewed with a good quality icon??? -=[serialzs]=- your bmp link is dead 8) EDIT... thats fixed Edited March 16, 2006 by Valuater Link to comment Share on other sites More sharing options...
serialzs Posted March 16, 2006 Author Share Posted March 16, 2006 your bmp link is dead8)EDIT... thats fixedi editing it..its not dead now... Link to comment Share on other sites More sharing options...
Developers Jos Posted March 16, 2006 Developers Share Posted March 16, 2006 look for the difference of this.. my icon is clear and smooth but in autoitscript its not.. i make my icons in MICROANGELO Software..i just preview it..thats the actual size of the icon.. why is it not viewed with a good quality icon??? -=[serialzs]=- aren't program Icons max 64*64 ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
serialzs Posted March 16, 2006 Author Share Posted March 16, 2006 (edited) aren't program Icons max 64*64 ? nope..the icons max size for XP is 128x128.. any solution for that problem? -=[serialzs]=- Edited March 16, 2006 by serialzs Link to comment Share on other sites More sharing options...
GaryFrost Posted March 17, 2006 Share Posted March 17, 2006 (edited) Not sure what the problem is, but I extracted the 128 x 128 icon from the exe and it shows as it should #include<guiconstants.au3> GUICreate("ICON") GUICtrlCreateIcon("s_icon.ico", -1, 5,5, 128,128) GUISetState() While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE then ExitLoop WEnd Edited March 17, 2006 by gafrost SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
nfwu Posted March 17, 2006 Share Posted March 17, 2006 Ahhh... this problem... When I use Microsoft Visual C++ to create icons, you are able to create icons for different "devices", but there is this "Standard" device of size (32x32) which connot be deleted. I have also noticed that Windows XP displays the highest resultion it can file in an ICO file which is on it's own. Therefore, I can say that MICROANGELO creates an ico file with 2 device types, the one that you selected, and "Standard" (32x32). Therefore, AutoIt displays 32x32 ico images because either: 1) AutoIt can always depend on the fact that there will be a Standard type in an ico file 2) The Standard type is always listed first in an ico file (assumption, based on the way that Microsoft Visual C++ arranges the ico types in it's dropdown menu in it's editor) #) TwitterOut of date stuff:Scripts: Sudoku Solver | Webserver | 3D library (Pure AutoIt) | Wood's GadgetsUDFs: _WoodUniqueID() | _DialogEditIni() | _Console*() | _GetIPConfigData() | _URLEncode/Decode() Link to comment Share on other sites More sharing options...
serialzs Posted March 17, 2006 Author Share Posted March 17, 2006 Therefore i cant view a 128x128 icon file in this script.. i expect it to work on next beta or release of autoit i know you can do it guys... -=[serialzs]=- Link to comment Share on other sites More sharing options...
jpm Posted March 17, 2006 Share Posted March 17, 2006 Therefore i cant view a 128x128 icon file in this script.. i expect it to work on next beta or release of autoit i know you can do it guys... -=[serialzs]=-I don't know if we can do it. AutoIt is using basic interfae to windows but if somebody expalyn what can be done more than the ExtractIcon() interface I will be glad to introduce it in AutoIt code provide not too complicated code has to ,be introduce inside AutoIt Code. 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