flat assembler
Message board for the users of flat assembler.

Index > Windows > How insert icon ? :)

Author
Thread Post new topic Reply to topic
jentos



Joined: 30 Mar 2004
Posts: 8
Location: Russia
jentos 30 Mar 2004, 14:34
Hello! I have a little-little question.
How i insert in my programm an icon and then use it ? (Load with help LoadIcon ?).
I use Fasm 1.48 with his includes.
Post 30 Mar 2004, 14:34
View user's profile Send private message Reply with quote
alonso



Joined: 06 Aug 2003
Posts: 15
alonso 01 Apr 2004, 13:06
Hi Jentos

Where do you want to use the icon: in Main Window, in a Button or in a static control, etc.?

Usually icons are included in the resource section at the end of the program, but if you want to load the icon from a file at certain time I can give the code for that too.
Post 01 Apr 2004, 13:06
View user's profile Send private message Reply with quote
jentos



Joined: 30 Mar 2004
Posts: 8
Location: Russia
jentos 02 Apr 2004, 13:56
Hi alonso!

I want include in '.rsrc' section and then use in Main Window, but don`t know as describe my icon in resource section. Sad
Post 02 Apr 2004, 13:56
View user's profile Send private message Reply with quote
alonso



Joined: 06 Aug 2003
Posts: 15
alonso 02 Apr 2004, 15:00
Jentos

Attach is a zip file that contains an Exe file, source code and some icons. The Source code has comments that explain some things; take a look at it.

Good luck and I hope this will be usefull for you and for alot more people that visit this forum.

Sincerely,
Alonso Murillo.


Description:
Download
Filename: Icon use sample.zip
Filesize: 5.92 KB
Downloaded: 531 Time(s)

Post 02 Apr 2004, 15:00
View user's profile Send private message Reply with quote
jentos



Joined: 30 Mar 2004
Posts: 8
Location: Russia
jentos 04 Apr 2004, 05:39
Thanks very much
Post 04 Apr 2004, 05:39
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.