#include <opwhat.h>
Inheritance diagram for OpWhatsThis:
Public Member Functions | |
OpWhatsThis () | |
OpWhatsThis constructor. | |
void | Do (OpDescriptor *) |
Puts Camelot into the "What's This?" help mode. | |
Static Public Member Functions | |
static BOOL | Init () |
OpWhatsThis initialiser method. | |
static OpState | GetState (String_256 *, OpDescriptor *) |
For finding the OpWhatsThis' state. |
Definition at line 122 of file opwhat.h.
|
OpWhatsThis constructor.
Definition at line 134 of file opwhat.cpp. 00134 : Operation() 00135 { 00136 }
|
|
Puts Camelot into the "What's This?" help mode.
Reimplemented from Operation. Definition at line 215 of file opwhat.cpp. 00216 { 00217 MessageBox(NULL, "Not implemented","Message", MB_OK ); 00218 00219 // Selecting this op drops the program into a mode where clicking on anything in 00220 // the program elicits help on it. The pointer should change when the program 00221 // is in this mode. 00222 00223 #ifdef _DEBUG 00224 TRACEUSER( "Ollie", _T("What's This Operation -> Do it!\n")); 00225 #endif 00226 00227 // Send a WM_HELP to a greyed button. 00228 // ????? 00229 00230 // Drop into the context sensitive help mode. 00231 // BOOL Succeeded = HelpManager::EnterHelpMode(); 00232 00233 End(); 00234 }
|
|
For finding the OpWhatsThis' state.
Definition at line 191 of file opwhat.cpp. 00192 { 00193 OpState OpSt; 00194 00195 OpSt.Greyed = FALSE; 00196 00197 return(OpSt); // isn't this returning a local variable???????? 00198 }
|
|
OpWhatsThis initialiser method.
Reimplemented from SimpleCCObject. Definition at line 156 of file opwhat.cpp. 00157 { 00158 return (RegisterOpDescriptor(0, // Module (Tool) ID 00159 _R(IDS_WHATSTHISOP), // String resource ID 00160 CC_RUNTIME_CLASS(OpWhatsThis), // Ops runtime class 00161 OPTOKEN_WHATSTHIS, // Optoken ID 00162 OpWhatsThis::GetState, // Pointer to the GetState function 00163 0, /* help ID */ // help identifier 00164 _R(IDBBL_WHATSTHIS), // string resource for bubble help 00165 0, // resource ID 00166 0, // control ID 00167 SYSTEMBAR_ILLEGAL, // group bar ID 00168 TRUE, // Receive messages 00169 FALSE, 00170 FALSE, 00171 0, 00172 0 00173 )); 00174 }
|