MWidgets::Icon Class Reference

Class for manipulating with icon resources. More...

#include <icon.h>

List of all members.

Public Member Functions

 Icon ()
 Constructor.
void Load (std::string fileName)
 Load bitmap;.
void Free ()
 Free bitmap handle;.
 ~Icon ()
 Destructor.
HICON GetHICON ()
 Returns handle to bitmap.

Protected Attributes

HICON m_hIcon
 Handle to icon.


Detailed Description

Class for manipulating with icon resources.

Definition at line 13 of file icon.h.


Constructor & Destructor Documentation

MWidgets::Icon::Icon (  ) 

Constructor.

Definition at line 13 of file icon.cpp.

References m_hIcon.

MWidgets::Icon::~Icon (  ) 

Destructor.

Definition at line 33 of file icon.cpp.

References m_hIcon.


Member Function Documentation

void MWidgets::Icon::Free (  ) 

Free bitmap handle;.

Definition at line 26 of file icon.cpp.

References m_hIcon.

HICON MWidgets::Icon::GetHICON (  ) 

Returns handle to bitmap.

Definition at line 39 of file icon.cpp.

References m_hIcon.

Referenced by MWidgets::Widgets::Init().

void MWidgets::Icon::Load ( std::string  fileName  ) 

Load bitmap;.

Parameters:
fileName path to file.

Definition at line 18 of file icon.cpp.

References EXCEPT, and m_hIcon.


Member Data Documentation

HICON MWidgets::Icon::m_hIcon [protected]

Handle to icon.

Definition at line 16 of file icon.h.

Referenced by Free(), GetHICON(), Icon(), Load(), and ~Icon().


The documentation for this class was generated from the following files:
Generated on Thu Oct 26 13:47:46 2006 for MWidgets by  doxygen 1.4.7