Public Member Functions | Protected Attributes

SmallIcon Struct Reference

convenient loading of small (16x16) icon resources More...

#include <globals.h>

Collaboration diagram for SmallIcon:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SmallIcon (UINT nid)
 operator HICON () const

Protected Attributes

HICON _hicon

Detailed Description

convenient loading of small (16x16) icon resources

Definition at line 322 of file globals.h.


Constructor & Destructor Documentation

SmallIcon::SmallIcon ( UINT  nid )

Definition at line 682 of file explorer.cpp.

References _hicon, and ExplorerGlobals::_hInstance.

{
    _hicon = (HICON)LoadImage(g_Globals._hInstance, MAKEINTRESOURCE(nid), IMAGE_ICON, GetSystemMetrics(SM_CXSMICON), GetSystemMetrics(SM_CYSMICON), LR_SHARED);
}

Member Function Documentation

SmallIcon::operator HICON (  ) const [inline]

Definition at line 326 of file globals.h.

{return _hicon;}

Member Data Documentation

HICON SmallIcon::_hicon [protected]

Definition at line 329 of file globals.h.

Referenced by SmallIcon().


The documentation for this struct was generated from the following files:

ROS Explorer Source Code Documentation
generated on 02.01.2013 by doxygen

ROS Explorer Homepage