| |

VerySource

 Forgot password?
 Register
Search
View: 683|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.00

Credits

Newbie

Rank: 1

Credits
7.00

 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

23

Posts

17.00

Credits

Newbie

Rank: 1

Credits
17.00

 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.00

Credits

Newbie

Rank: 1

Credits
7.00

 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-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list