flat assembler
Message board for the users of flat assembler.

Index > Windows > statusbar icon

Author
Thread Post new topic Reply to topic
dv4-fa



Joined: 08 Feb 2013
Posts: 14
dv4-fa
I used senddlgitemmessagew,[hwnddlg],1001,sb_seticon,0,[hicon] but the icon is displayed at the wrong size. It should be 16 by 16 pixels.
Post 23 Apr 2013, 12:00
View user's profile Send private message Reply with quote
bitRAKE



Joined: 21 Jul 2003
Posts: 2891
Location: [RSP+8*5]
bitRAKE
How did you create the [hicon]?

LoadImage,0,IDI_ICON,IMAGE_ICON,16,16,LR_CREATEDIBSECTION ?

_________________
¯\(°_o)/¯ unlicense.org
Post 23 Apr 2013, 12:47
View user's profile Send private message Visit poster's website Reply with quote
dv4-fa



Joined: 08 Feb 2013
Posts: 14
dv4-fa
bitRAKE wrote:
How did you create the [hicon]?

LoadImage,0,IDI_ICON,IMAGE_ICON,16,16,LR_CREATEDIBSECTION ?



I used loadiconw.
LoadImage,[hinst],103,IMAGE_ICON,16,16,LR_CREATEDIBSECTION did the trick.

Thanks.
Post 23 Apr 2013, 13:14
View user's profile Send private message Reply with quote
abc



Joined: 03 Nov 2009
Posts: 7
Location: Russia
abc
CreateIconIndirect example show as create icon from embed data;
another example;
example show 32 bit colored masks with alpha channel.
all code is written in Python, but this show base WinAPI functional.
these methods may be use as alternative for embed icon, cursor, bitmap resource

_________________
private serfing
pyIrrlicht
Post 20 May 2013, 07:23
View user's profile Send private message Visit poster's website 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-2020, Tomasz Grysztar.

Powered by rwasa.