Public Member Functions | Protected Attributes

ResIconEx Struct Reference

convenient loading of icon resources with specified sizes More...

#include <globals.h>

Collaboration diagram for ResIconEx:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ResIconEx (UINT nid, int w, int h)
 operator HICON () const

Protected Attributes

HICON _hicon

Detailed Description

convenient loading of icon resources with specified sizes

Definition at line 333 of file globals.h.


Constructor & Destructor Documentation

ResIconEx::ResIconEx ( UINT  nid,
int  w,
int  h 
)

Definition at line 687 of file explorer.cpp.

References _hicon, and ExplorerGlobals::_hInstance.

{
    _hicon = (HICON)LoadImage(g_Globals._hInstance, MAKEINTRESOURCE(nid), IMAGE_ICON, w, h, LR_SHARED);
}

Member Function Documentation

ResIconEx::operator HICON (  ) const [inline]

Definition at line 337 of file globals.h.

{return _hicon;}

Member Data Documentation

HICON ResIconEx::_hicon [protected]

Definition at line 340 of file globals.h.

Referenced by ResIconEx().


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