#include <blnktool.h>
Inheritance diagram for BlankInfoBarOp:
Public Member Functions | |
BlankInfoBarOp (BlankTool *pTool=NULL) | |
MsgResult | Message (Msg *Msg) |
Blank info bar dialog message handler. | |
Private Attributes | |
BlankTool * | m_pBlankTool |
Definition at line 185 of file blnktool.h.
|
Definition at line 189 of file blnktool.h. 00190 { 00191 m_pBlankTool = pTool; 00192 DlgResID = _R(IDD_BLANKTOOLBAR); 00193 }
|
|
Blank info bar dialog message handler.
Reimplemented from InformationBarOp. Definition at line 522 of file blnktool.cpp. 00523 { 00524 if (IS_OUR_DIALOG_MSG(Message)) 00525 { 00526 DialogMsg* Msg = (DialogMsg*)Message; 00527 00528 // Check if the message is a CANCEL 00529 if (Msg->DlgMsg == DIM_CANCEL) 00530 { 00531 Close(); // Close the dialog 00532 } 00533 else if (Msg->DlgMsg == DIM_CREATE) 00534 { 00535 // Initialise the infobar controls here 00536 // This is sent when you create the infobar in your tool startup code 00537 } 00538 else 00539 { 00540 // Switch statement allows you to do things when receiving messages 00541 // for specific gadgets 00542 // 00543 // Just uncomment the next 3 lines to get started 00544 // 00545 // switch (Msg->GadgetID) 00546 // { 00547 // } 00548 } 00549 } 00550 00551 // Pass the message on to the immediate blank class 00552 return (InformationBarOp::Message(Message)); 00553 }
|
|
Definition at line 198 of file blnktool.h. |