RE: [AD] Proposal for a set_icon function

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> Er, I may make myself seem stupid here (as always ;), but can't you have a
> set resource name for an icon (.rc windows):
> 
> ALLEGICON ICON "myicon.ico"
> 
> and check in the register class thing (if GetResource("ALLEGICON").....)
> then put it in the icon member before registering the class.... 
> You then get
> the same icon for the exe as in the titlebar....

The trick being to find a way that would do it for all
supported platforms (err, maybe excepting DOS).
Probably a script that would do what you mention for Win32,
and other things for other platforms.

-- 
Lyrian 



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/