TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Peter Fitzsimmons
from: Kelly Schrock
date: 1994-12-24 01:34:08
subject: Lost title-bar icon

PF> The *.ICO file must contain more than one type of icon for 
PF> this.  Open the icon editor (for one of the default system 
PF> icons that DOES work properly) and select "Device--->List". 
PF>  You will see several "Small" forms... these are used in 
PF> the titlebar.

I've been trying to figure this out for some time myself, and have
added small versions of the icons to the ICO file, but I still can't
seem to get the "real" small icon to display in the titlebar. The
window that's supposed to get the small icon in the titlebar is getting
created with WinCreateStdWindow() with a style of FCF_ICON, and the res
ID of the Icon is the same as the window. Is there something else I
need to be doing to get this to work?

___
 X KWQ/2 1.2g NR X I'm an OS/2 developer...I don't NEED a life!

--- Maximus/2 2.02
* Origin: OS/2 Shareware BBS, Fairfax, VA: 703-385-4325 (1:109/347)
SEEN-BY: 12/2442 620/243 624/50 632/348 640/820 690/660 711/409 410 413 430
SEEN-BY: 711/807 808 809 934 942 949 712/353 515 713/888 800/1
@PATH: 109/347 2 7 3615/50 229/2 12/2442 711/409 808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.