Re: [GD-Windows] Icon for game window
Brought to you by:
vexxed72
|
From: Rich <leg...@xm...> - 2002-01-07 17:49:31
|
In article <001a01c197a1$84d1df00$0101a8c0@HOOKDELL220>,
Brian Hook <bri...@py...> writes:
> What magical bit of tomfoolery do I need to do to have my application's
> icon show up in the caption bar?
MSDN Library January 2001 / Platform SDK / User Interface Services /
Windows user Interface / Windowing / Windows / About Windows /
Application Windows, in the section heading "Nonclient Area":
``The title bar displays an application-defined icon and line of
text; typically, the text specifies the name of the application or
indicates the purpose of the window. An application specifies the
icon and text when creating the window. The title bar also makes
it possible for the user to move the window by using a mouse or
other pointing device.''
and in the reference for WNDCLASS:
hIcon
Handle to the class icon. This member must be a handle to an icon
resource. If this member is NULL, the system provides a default
icon.
I beleive this is where you set it.
--
Ask me about my upcoming book on Direct3D from Addison-Wesley!
Direct3D Book <http://www.xmission.com/~legalize/book/>
Don't Support Spammers! Boycott Fractal Painter 7!
<http://www.xmission.com/~legalize/spammers.html>
|