home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power GUI Programming with VisualAge C++
/
powergui.iso
/
powergui
/
advframe
/
tstdlg
/
dlghndlr.hpp
< prev
next >
Wrap
C/C++ Source or Header
|
1996-10-29
|
835b
|
35 lines
#ifndef _DLGHNDLR_
#define _DLGHNDLR_
//************************************************************
// Advanced Frame - Dialog Window Example
//
// Copyright (C) 1994, Law, Leong, Love, Olson, Tsuji.
// Copyright (c) 1997 John Wiley & Sons, Inc.
// All Rights Reserved.
//************************************************************
#include <ievent.hpp>
#include <ihandler.hpp>
class DialogInitEvent : public IEvent {
public:
DialogInitEvent ( const IEvent& event );
IWindowHandle
defaultFocusWindow ( ) const;
void
*createParameters ( ) const;
DialogInitEvent
&setFocusChanged ( );
};
class DialogHandler : public IHandler {
public:
virtual Boolean
initialize ( DialogInitEvent& initEvent );
protected:
virtual Boolean
dispatchHandlerEvent ( IEvent& event );
};
#endif // _DLGHNDLR_