| |

VerySource

 Forgot password?
 Register
Search
View: 37|Reply: 2

I would like to ask: how to change the icon of the document window, I want to use my own.

[Copy link]

3

Threads

6

Posts

7

Credits

Newbie

Rank: 1

Credits
7

 China

Post time: 2020-1-31 10:00:01
| Show all posts |Read mode
I added in _WinMain
invoke LoadIcon, hInstance, ICO_MAIN
Where ICO_MAIN equ 1000
In rc, there is
#define ICO_MAIN 1000
After I write this way, there is no response, how do I write it?
Reply

Use magic Report

0

Threads

22

Posts

16

Credits

Newbie

Rank: 1

Credits
16

 China

Post time: 2020-3-30 15:00:01
| Show all posts
You also have to define ICON_MAIN icon "myicon.ico" and your own icon file myicon.ico
Reply

Use magic Report

3

Threads

6

Posts

7

Credits

Newbie

Rank: 1

Credits
7

 China

 Author| Post time: 2020-4-29 19:15:01
| Show all posts
OK
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2020|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list