#include <widgets.h>
Public Member Functions | |
void | Run () |
Method that recieves massages and dispatches them to widgets. | |
unsigned int | GetNewId () |
Generate unique id. | |
ATOM | GetAtom () |
Returns ATOM of widgets window class. | |
Static Public Member Functions | |
static Widgets * | Instance () |
Return pointer to Widgets instance. | |
static void | Destroy () |
Remove all data used by Widgets. | |
static void | Init (Icon *pBigIcon=NULL, Icon *pSmallIcon=NULL) |
Init some common data for all Widgets. | |
Protected Member Functions | |
void | AddWidget () |
Increment widgets counter. | |
void | DelWidget () |
Decrement widgets counter. | |
Friends | |
class | Widget |
Definition at line 14 of file widgets.h.
void MWidgets::Widgets::AddWidget | ( | ) | [protected] |
Increment widgets counter.
Definition at line 94 of file widgets.cpp.
Referenced by MWidgets::Widget::Create().
void MWidgets::Widgets::DelWidget | ( | ) | [protected] |
Decrement widgets counter.
Definition at line 99 of file widgets.cpp.
Referenced by MWidgets::Widget::OnMessage(), and MWidgets::Widget::~Widget().
void MWidgets::Widgets::Destroy | ( | ) | [static] |
Remove all data used by Widgets.
Definition at line 129 of file widgets.cpp.
References CATCHEXCEPT, count, and EXCEPT.
ATOM MWidgets::Widgets::GetAtom | ( | ) |
unsigned int MWidgets::Widgets::GetNewId | ( | ) |
Generate unique id.
Definition at line 123 of file widgets.cpp.
Referenced by MWidgets::Menu::InsertSubMenuItem(), and MWidgets::Widget::SetHotKey().
Init some common data for all Widgets.
Definition at line 25 of file widgets.cpp.
References EXCEPT, MWidgets::Icon::GetHICON(), m_aWidget, and MWidgets::Widget::WindowProcedure().
Widgets * MWidgets::Widgets::Instance | ( | ) | [static] |
Return pointer to Widgets instance.
Definition at line 68 of file widgets.cpp.
References CATCHEXCEPT, and EXCEPT.
Referenced by MWidgets::Widget::Create(), MWidgets::Menu::InsertSubMenuItem(), MWidgets::Widget::OnMessage(), MWidgets::Widget::SetHotKey(), and MWidgets::Widget::~Widget().
void MWidgets::Widgets::Run | ( | ) |
Method that recieves massages and dispatches them to widgets.
Definition at line 104 of file widgets.cpp.