Sign in to follow this  
Followers 0
MajSlayer420

Icon not displaying correctly on Windows XP 64bit

7 posts in this topic

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

Share this post


Link to post
Share on other sites



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

Maybe 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).

[center]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.[/center]

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 size

MajSlayer420

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Curious on why you had to draw it twice.

[center]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.[/center]

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0