mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.4 KiB
60 lines
1.4 KiB
/**********************************************************************/
|
|
/** Microsoft Windows/NT **/
|
|
/** Copyright(c) Microsoft Corp., 1991 **/
|
|
/**********************************************************************/
|
|
|
|
/*
|
|
srvbase.hxx
|
|
Class declaration for the SRV_BASE_DIALOG class.
|
|
|
|
The SRV_BASE_DIALOG class is a wrapper that adds
|
|
the SetCaption method to DIALOG_WINDOW.
|
|
|
|
|
|
FILE HISTORY:
|
|
ChuckC 27-Dec-1991 Created, stole from now defunct srvutil.hxx
|
|
|
|
*/
|
|
|
|
#ifndef _SRVBASE_HXX
|
|
#define _SRVBASE_HXX
|
|
|
|
|
|
/*************************************************************************
|
|
|
|
NAME: SRV_BASE_DIALOG
|
|
|
|
SYNOPSIS: This class just adds some commonly used functionality
|
|
needed by Srv Manager to DIALOG_WINDOW.
|
|
|
|
INTERFACE: SRV_BASE_DIALOG() - Class constructor.
|
|
|
|
~SRV_BASE_DIALOG - Class destructor.
|
|
|
|
SetCaption - Sets the caption for the dialog
|
|
|
|
HISTORY:
|
|
ChuckC 27-Dec-1991 Created.
|
|
|
|
**************************************************************************/
|
|
class SRV_BASE_DIALOG: public DIALOG_WINDOW
|
|
{
|
|
public:
|
|
|
|
//
|
|
// Usual constructor/destructor goodies.
|
|
//
|
|
|
|
SRV_BASE_DIALOG( const IDRESOURCE & idrsrcDialog,
|
|
const PWND2HWND & wndOwner );
|
|
|
|
~SRV_BASE_DIALOG();
|
|
|
|
static APIERR SetCaption( OWNER_WINDOW * powin,
|
|
UINT idCaption,
|
|
const TCHAR * pszServerName );
|
|
|
|
}; // class SRV_BASE_DIALOG
|
|
|
|
|
|
#endif // _SRVBASE_HXX
|