Register FAQ Search Today's Posts Mark Forums Read
Go Back   JazzJackrabbit Community Forums » Open Forums » General Jazz Jackrabbit Talk

Icons on windows

Matrix

JCF Member

Joined: Apr 2001

Posts: 76

Matrix is doing well so far

Feb 26, 2002, 09:56 PM
Matrix is offline
Reply With Quote
Icons on windows

OK, this is windows problems related not Jazz probs related but still...

Since I program for the mac I don't know very much about windows programs and how to do things like make icons, change the screen rez (you can do that can't you?), ect..

But my question:
I have a program for th emacintosh that can create icons for Mac System 7, MacOS 8 & 9, MacOS X, Windows and Win XP. Now if i save the icons for win or win xp i get an .ico file. But if i put this inside the folder where my app resides the icons don't appear, or so i'm told..

So how do you make the icons appers under win and win xp?

Thanks for any help,
Matrix
__________________
iMac: MacOS X 10.2.6. 256MB RAM. 266MHz PPC G3
iBook: MacOS X 10.2.4. 640MB RAM. 800MHz PPC G3
Jazz: 1.2.8 OSX


Link

Untitled

Joined: Apr 2001

Posts: 2,099

Link is doing well so far

Feb 27, 2002, 06:18 AM
Link is offline
Reply With Quote
The icons for programs are stored inside the program executable. You have to get a program that can write icons right to the program file. Most programming languages have that ability though. Make the main form have the icon you want, and it should program it right in there.

The only time you need separate .ico files is if you want other people to use your icons, or you are making an MS-DOS program (which cannot have built-in icons)

For changing the screen resolution, you have to use Windows API functions.

Use ChangeDisplaySettings()
__________________
With our extreme gelatinous apology,
We beg to inform your Imperial Majesty,
Unto whom be dominion and power and glory,
There still remains that strange precipitate
Which has the quality to resist
Our oldest and most trusted catalyst.
It is a substance we cannot cremate
By temperatures known to our Laboratory.

~ E.J. Pratt
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

All times are GMT -8. The time now is 03:38 AM.