home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power GUI Programming with VisualAge C++
/
powergui.iso
/
powergui
/
advframe
/
tstdlg
/
dialog.hpp
< prev
next >
Wrap
C/C++ Source or Header
|
1996-10-29
|
1KB
|
42 lines
#ifndef _DIALOG_
#define _DIALOG_
//************************************************************
// Advanced Frame - Dialog Window Example
//
// Copyright (C) 1994, Law, Leong, Love, Olson, Tsuji.
// Copyright (c) 1997 John Wiley & Sons, Inc.
// All Rights Reserved.
//************************************************************
#include <iframe.hpp>
#include <ireslib.hpp>
class DialogHandler;
class DialogWindow : public IFrameWindow {
public:
// Use this to construct a dialog using
// your own dialog procedure.
DialogWindow( const IResourceId& resId,
IWindow* owner,
IWinProc* dlgProc = 0,
void* pCreateParms = 0 );
// Use this to construct a dialog using
// your own dialog handler.
DialogWindow( const IResourceId& resId,
IWindow* owner,
DialogHandler& dlgHandler,
void* pCreateParms = 0 );
protected:
void
loadDialog ( const IResourceId& resId,
IWindow* owner,
IWinProc* dlgProc,
void* pCreateParms );
private:
DialogWindow (const DialogWindow&);
DialogWindow& operator= (const DialogWindow&);
}; // class DialogWindow
#endif // _DIALOG_