MGUI::COMMAND_TARGET::CMDUI Class Reference

#include <mgui/command.h>

List of all members.

Public Member Functions

void Enable (bool enable=true)
void SetCheck (bool check=true)
void SetRadio (bool check=true)
void SetText (const MIUNICODE *text)
void SetText (const char *text)


Member Function Documentation

void MGUI::COMMAND_TARGET::CMDUI::Enable bool  enable = true  )  [inline]
 

Enable or disable the user-interface item.

It is similar to the CCmdUI class in MFC. In fact, in MFC, CMDUI is just a typedef alias to CCmdUI

Definition at line 105 of file command.h.

void MGUI::COMMAND_TARGET::CMDUI::SetCheck bool  check = true  )  [inline]
 

For toggle buttons, set the current state.

Definition at line 112 of file command.h.

void MGUI::COMMAND_TARGET::CMDUI::SetRadio bool  check = true  )  [inline]
 

Same as Set Check but for buttons in a radio group.

Note that it does not enforce radio behaviour, as the MFC version doesn't either. It is here for completeness.

Definition at line 121 of file command.h.

void MGUI::COMMAND_TARGET::CMDUI::SetText const MIUNICODE text  ) 
 

Change the text of an item.

void MGUI::COMMAND_TARGET::CMDUI::SetText const char *  text  ) 
 

Change the text of an item (via resource file lookup).


The documentation for this class was generated from the following file:
Generated on Wed May 31 15:29:46 2006 for TNTsdk by  doxygen 1.3.8-20040913