TraceMsg Class Reference

This is a foolish message to bring up a tracer dialog. More...

#include <tracedlg.h>

Inheritance diagram for TraceMsg:

Msg CCObject SimpleCCObject List of all members.

Public Member Functions

 TraceMsg (KernelBitmap *pTheBitmap)

Static Public Member Functions

static void OpenOrUse (KernelBitmap *pBitmap)
 Open the tracer dialog if it's not already open, else just uses that bitmap.

Public Attributes

KernelBitmappBitmap

Detailed Description

This is a foolish message to bring up a tracer dialog.

Author:
Alex_Bligh (Xara Group Ltd) <camelotdev@xara.com>
Date:
24/4/95
See also:
BfxDlg

Definition at line 142 of file tracedlg.h.


Constructor & Destructor Documentation

TraceMsg::TraceMsg KernelBitmap pTheBitmap  )  [inline]
 

Definition at line 147 of file tracedlg.h.

00147 :pBitmap(pTheBitmap) { /* empty */ };


Member Function Documentation

void TraceMsg::OpenOrUse KernelBitmap pBitmap  )  [static]
 

Open the tracer dialog if it's not already open, else just uses that bitmap.

Author:
Alex_Bligh (Xara Group Ltd) <camelotdev@xara.com>
Date:
20/02/95
Parameters:
pBitmap = bitmap to use [INPUTS]
- [OUTPUTS]
Returns:
-

Errors: -

See also:
-

Definition at line 1711 of file tracedlg.cpp.

01712 {
01713     // Obtain a pointer to the op descriptor for the create operation 
01714     OpDescriptor* OpDesc = OpDescriptor::FindOpDescriptor(CC_RUNTIME_CLASS(TraceDlg));
01715     if (!OpDesc) return;
01716 
01717     // Only one live instance of the operation is allowed. It's probably a dialog 
01718     if (!MessageHandler::MessageHandlerExists(CC_RUNTIME_CLASS(TraceDlg)))
01719     {
01720         OpParam param((void *)pBitmap,(void *)NULL);
01721         OpDesc->Invoke(&param);
01722     }
01723     else
01724     {
01725         BROADCAST_TO_CLASS(TraceMsg(pBitmap),DialogOp); 
01726     }   
01727     return;
01728 }


Member Data Documentation

KernelBitmap* TraceMsg::pBitmap
 

Definition at line 146 of file tracedlg.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 04:02:07 2007 for Camelot by  doxygen 1.4.4