MajSlayer420 Posted January 30, 2007 Share Posted January 30, 2007 Hello I put a icon in my GUI and it works fine on windows 2000 pro/server. but I installed XP pro 64bit and now the icon doesnt display correctly Sometimes it looks fine. But most of the time its all broken up and only a line or 2 of the icon displays Thanks MajSlaye420 Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted January 30, 2007 Moderators Share Posted January 30, 2007 Hello I put a icon in my GUI and it works fine on windows 2000 pro/server. but I installed XP pro 64bit and now the icon doesnt display correctlySometimes it looks fine. But most of the time its all broken up and only a line or 2 of the icon displaysThanksMajSlaye420Maybe you should check how you made the icon? Don't see what this has to do with AutoIt, other than I know I had to edit my own icons (could only put 32x32 and 16x16 to work properly). 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. Link to comment Share on other sites More sharing options...
Richard Robertson Posted January 30, 2007 Share Posted January 30, 2007 Is it an icon that contains the normal sizes and colors? The normal colors are 16 colors, 256 colors, and 32 bit color. Then 16x16, 32x32, and 48x48 for sizes. In a few rare cases, they need to be in a certain order in the file even. Link to comment Share on other sites More sharing options...
MajSlayer420 Posted January 30, 2007 Author Share Posted January 30, 2007 Is it an icon that contains the normal sizes and colors? The normal colors are 16 colors, 256 colors, and 32 bit color. Then 16x16, 32x32, and 48x48 for sizes. In a few rare cases, they need to be in a certain order in the file even.Well I used icon32. and had no problems with the icons displaying till i installed XP Pro 64bit. I think that has something to due with it..Sometimes the icon displays fine.. most of the time it doesnt.I currently am expanding the icon to a larger size. ill try showing it at the default sizeMajSlayer420 Link to comment Share on other sites More sharing options...
MajSlayer420 Posted January 30, 2007 Author Share Posted January 30, 2007 Oh here is the code im using $Icon1 = GUICtrlCreateIcon("Skull7.ico", 0, 180, 315, 48, 54, BitOR($SS_NOTIFY,$WS_GROUP)) generated with Koda new version MajSlayer420 Link to comment Share on other sites More sharing options...
MajSlayer420 Posted January 30, 2007 Author Share Posted January 30, 2007 Okay I fixed it.. Had to put in 2 commands to get it to display correctly $Icon1 = GUICtrlCreateIcon("Skull7.ico", 0, 180, 315, 48, 54, BitOR($SS_NOTIFY,$WS_GROUP)) $Icon1 = GUICtrlCreateIcon("Skull7.ico", 0, 180, 315, 48, 54, BitOR($SS_NOTIFY,$WS_GROUP)) Stange, slight bug somewhere , least its fixable Thanks anyhow MajSlayer420 Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted January 30, 2007 Moderators Share Posted January 30, 2007 Okay I fixed it.. Had to put in 2 commands to get it to display correctly$Icon1 = GUICtrlCreateIcon("Skull7.ico", 0, 180, 315, 48, 54, BitOR($SS_NOTIFY,$WS_GROUP)) $Icon1 = GUICtrlCreateIcon("Skull7.ico", 0, 180, 315, 48, 54, BitOR($SS_NOTIFY,$WS_GROUP)) Stange, slight bug somewhere , least its fixableThanks anyhowMajSlayer420Curious on why you had to draw it twice. 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. 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