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.
67 lines
1.5 KiB
67 lines
1.5 KiB
#include "precomp.h"
|
|
#include "resource.h"
|
|
#include "global.h"
|
|
#include "PropPg.h"
|
|
#include "WelcmSht.h"
|
|
#include "nmakwiz.h"
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
// Static member vars
|
|
CWelcomeSheet* CWelcomeSheet::ms_pWelcomeSheet = NULL;
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
// Static member fns
|
|
|
|
INT_PTR CALLBACK CWelcomeSheet::DlgProc( HWND hDlg, UINT message, WPARAM uParam, LPARAM lParam ) {
|
|
|
|
switch( message ) {
|
|
case WM_INITDIALOG:
|
|
PropSheet_SetWizButtons( GetParent( hDlg ), PSWIZB_NEXT );
|
|
return TRUE;
|
|
|
|
case WM_NOTIFY:
|
|
switch( reinterpret_cast< NMHDR FAR* >( lParam ) -> code ) {
|
|
case PSN_QUERYCANCEL:
|
|
SetWindowLong( hDlg, DWL_MSGRESULT, !VerifyExitMessageBox());
|
|
return TRUE;
|
|
|
|
case PSN_SETACTIVE:
|
|
g_hwndActive = hDlg;
|
|
PropSheet_SetWizButtons( GetParent( hDlg ), PSWIZB_NEXT );
|
|
return TRUE;
|
|
|
|
}
|
|
|
|
default:
|
|
break;
|
|
|
|
}
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
// Member fns
|
|
|
|
|
|
CWelcomeSheet::CWelcomeSheet( void )
|
|
: m_PropertySheetPage( MAKEINTRESOURCE( IDD_PROPPAGE_WELCOME ),
|
|
CWelcomeSheet::DlgProc
|
|
)
|
|
{
|
|
if( NULL == ms_pWelcomeSheet ) { ms_pWelcomeSheet = this; }
|
|
}
|
|
|
|
CWelcomeSheet::~CWelcomeSheet( void )
|
|
{ ; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|