Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

LDialogBox Class Reference

#include <LDialogBox.h>

Inheritance diagram for LDialogBox:

Inheritance graph
[legend]
Collaboration diagram for LDialogBox:

Collaboration graph
[legend]
List of all members.

PowerPlant-compatible message handling

virtual Boolean ObeyCommand (CommandT, void *ioParam=nil)
virtual Boolean ProcessCommand (CommandT, void *ioParam=nil)
virtual LCommanderGetSuperCommander ()
LCommanderGetTopCommander ()

Public Methods

 LDialogBox (UINT nIDTemplate, LCommander *pParentWnd)
virtual ~LDialogBox ()
virtual BOOL OnInitDialog ()
virtual void DoClose ()
virtual void Refresh ()
virtual void Enable ()
virtual void Disable ()
virtual LPaneFindPaneByID (PaneIDT)
void SwitchTarget (LPane *changeToWnd)
virtual LPanefindPaneForWND (HWND) const
void registerPane (LPane *)
void deregisterPane (LPane *)
LPanepane (unsigned int) const
virtual BOOL OnCommandRedirector (WPARAM, LPARAM)
virtual void ListenToMessage (MessageT, void *ioParam)
virtual void FindCommandStatus (CommandT, Boolean &outEnabled, Boolean &outUsesMark, Char16 &outMark, Str255 outName)
virtual BOOL OnCommand (WPARAM wParam, LPARAM lParam)
virtual LPanefindCurrentPane () const
virtual Boolean matchesHWND (HWND) const
virtual LPCTSTR runtimeClassName ()
BOOL OnWndMsgRedirector (UINT message, WPARAM wParam, LPARAM lParam, LRESULT *pResult)
void overrideMFCmessage (MessageT, CWnd *fromWnd)
void overrideMFCmessage (MessageT, short inWindowsMsg)
CWndtarget () const
bool hasMessageRemapping () const
BOOL isLatent () const
bool HasBroadcaster (LBroadcaster *inBroadcaster)
void StartListening ()
void StopListening ()
Boolean IsListening () const
virtual void ListenToMessage (MessageT, void *ioParam)=0

Static Public Methods

LDialogBox * currentlyConstructing ()
BOOL FrontmostOnCommand (WPARAM wParam, LPARAM lParam)
BOOL FrontmostOnWndMsg (UINT message, WPARAM wParam, LPARAM lParam, LRESULT *pResult)
Boolean IsSyntheticCommand (CommandT, ResIDT &outMenuID, Int16 &outMenuItem)

Protected Methods

void MaybeRemapMessage (CommandT &ioCommand)
void ActivateCommander ()
void DeactivateCommander ()
void BecomeFrontmost ()
void BecomeLatent ()
void AddSubCommander (LCommander *inSub)
void RemoveSubCommander (LCommander *inSub)
void AddBroadcaster (LBroadcaster *inBroadcaster)
 Changes mIsListening = true if there are no current broadcasters.

void RemoveBroadcaster (const LBroadcaster *inBroadcaster)

Protected Attributes

CWndmTarget
LCommandermSuperCommander
p2mMessageReMapmMessageReMap
p2mCommanderStackmSubCommanders
BOOL mLatent
OOF_ExpandableLongArraymBroadcasters
 owned

LBroadcastermSingleBroadcaster
 optimisation for common single case

Boolean mIsListening
int mStopRequests
 nested count to avoid restarting


Static Protected Attributes

p2mCommanderStack sLatentStack
 declare this static here as need to encounter definition above

LCommandersFrontmostCommander = 0
HWND sForeignWnd = 0

Constructor & Destructor Documentation

LDialogBox::LDialogBox UINT    nIDTemplate,
LCommander   pParentWnd
 

LDialogBox::~LDialogBox   [virtual]
 


Member Function Documentation

void LCommander::ActivateCommander   [protected, inherited]
 

void LListener::AddBroadcaster LBroadcaster   inBroadcaster [protected, inherited]
 

Changes mIsListening = true if there are no current broadcasters.

Leaves mIsListening at current state when we are already listening to one or more.

void LCommander::AddSubCommander LCommander   inSub [protected, inherited]
 

void LCommander::BecomeFrontmost   [protected, inherited]
 

void LCommander::BecomeLatent   [protected, inherited]
 

LDialogBox* LDialogBox::currentlyConstructing   [inline, static]
 

void LCommander::DeactivateCommander   [protected, inherited]
 

void LDialogBox::deregisterPane LPane  
 

void LDialogBox::Disable   [virtual]
 

void LDialogBox::DoClose   [virtual]
 

void LDialogBox::Enable   [virtual]
 

void LWindow::FindCommandStatus CommandT   ,
Boolean   outEnabled,
Boolean   outUsesMark,
Char16 &    outMark,
Str255    outName
[virtual, inherited]
 

Reimplemented from LCommander.

LPane * LWindow::findCurrentPane   const [virtual, inherited]
 

Reimplemented from LCommander.

LPane * LDialogBox::FindPaneByID PaneIDT    [virtual]
 

LPane * LDialogBox::findPaneForWND HWND    const [virtual]
 

Reimplemented from LWindow.

BOOL LCommander::FrontmostOnCommand WPARAM    wParam,
LPARAM    lParam
[static, inherited]
 

BOOL LCommander::FrontmostOnWndMsg UINT    message,
WPARAM    wParam,
LPARAM    lParam,
LRESULT *    pResult
[static, inherited]
 

LCommander * LCommander::GetSuperCommander   [virtual, inherited]
 

LCommander* LCommander::GetTopCommander   [inline, static, inherited]
 

bool LListener::HasBroadcaster LBroadcaster   inBroadcaster [inherited]
 

bool LCommander::hasMessageRemapping   const [inline, inherited]
 

BOOL LCommander::isLatent   const [inline, inherited]
 

Boolean LListener::IsListening   const [inline, inherited]
 

Boolean LCommander::IsSyntheticCommand CommandT   ,
ResIDT   outMenuID,
Int16 &    outMenuItem
[static, inherited]
 

virtual void LListener::ListenToMessage MessageT   ,
void *    ioParam
[pure virtual, inherited]
 

void LWindow::ListenToMessage MessageT   ,
void *    ioParam
[virtual, inherited]
 

Boolean LWindow::matchesHWND HWND    const [virtual, inherited]
 

Reimplemented from LCommander.

void LCommander::MaybeRemapMessage CommandT   ioCommand [protected, inherited]
 

Boolean LCommander::ObeyCommand CommandT   ,
void *    ioParam = nil
[virtual, inherited]
 

BOOL LWindow::OnCommand WPARAM    wParam,
LPARAM    lParam
[virtual, inherited]
 

BOOL LWindow::OnCommandRedirector WPARAM   ,
LPARAM   
[virtual, inherited]
 

Reimplemented from LCommander.

BOOL LDialogBox::OnInitDialog   [virtual]
 

BOOL LCommander::OnWndMsgRedirector UINT    message,
WPARAM    wParam,
LPARAM    lParam,
LRESULT *    pResult
[inherited]
 

void LCommander::overrideMFCmessage MessageT   ,
short    inWindowsMsg
[inherited]
 

void LCommander::overrideMFCmessage MessageT   ,
CWnd   fromWnd
[inherited]
 

LPane * LDialogBox::pane unsigned    int const
 

Boolean LCommander::ProcessCommand CommandT   ,
void *    ioParam = nil
[virtual, inherited]
 

void LDialogBox::Refresh   [virtual]
 

void LDialogBox::registerPane LPane  
 

void LListener::RemoveBroadcaster const LBroadcaster   inBroadcaster [protected, inherited]
 

void LCommander::RemoveSubCommander LCommander   inSub [protected, inherited]
 

LPCTSTR LWindow::runtimeClassName   [virtual, inherited]
 

Reimplemented from LCommander.

void LListener::StartListening   [inherited]
 

void LListener::StopListening   [inherited]
 

void LDialogBox::SwitchTarget LPane   changeToWnd
 

CWnd* LCommander::target   const [inline, inherited]
 


Member Data Documentation

OOF_ExpandableLongArray* LListener::mBroadcasters [protected, inherited]
 

owned

Boolean LListener::mIsListening [protected, inherited]
 

BOOL LCommander::mLatent [protected, inherited]
 

p2mMessageReMap* LCommander::mMessageReMap [protected, inherited]
 

LBroadcaster* LListener::mSingleBroadcaster [protected, inherited]
 

optimisation for common single case

int LListener::mStopRequests [protected, inherited]
 

nested count to avoid restarting

p2mCommanderStack* LCommander::mSubCommanders [protected, inherited]
 

LCommander* LCommander::mSuperCommander [protected, inherited]
 

CWnd* LCommander::mTarget [protected, inherited]
 

HWND LCommander::sForeignWnd = 0 [static, protected, inherited]
 

LCommander * LCommander::sFrontmostCommander = 0 [static, protected, inherited]
 

p2mCommanderStack LCommander::sLatentStack [static, protected, inherited]
 

declare this static here as need to encounter definition above


The documentation for this class was generated from the following files:
Generated on Mon Jul 22 18:20:55 2002 for PP2MFC by doxygen1.2.17