Old fashion design for PC-104
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.
 
 
 
 
 

71 lines
1.7 KiB

//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright © 2000-2002. All Rights Reserved.
// Version 1.0 01/01/2000
// Last modification: 08/10/2003
// PROJECT:
// SUBSYSTEM:
// FILE: ServiceDlg.h
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Header file of ServiceDlg.h
//----------------------------------------------------------------------------
#ifndef __SERVICE__DLG__H__INCLUDED__
#define __SERVICE__DLG__H__INCLUDED__
#include "DialogItemsPosition.h"
class CApplication;
class CServiceDlg
{
public:
CServiceDlg();
virtual ~CServiceDlg();
public:
BOOL Create( CApplication* pApplication, HWND hParent, INT x, INT y, INT cx, INT cy );
void Destroy();
void ShowWindow( UINT nShow );
public:
void SetEditCheck(BOOL fCheck);
void SetSetupCheck(BOOL fCheck);
void SetShowNormalCheck(BOOL fCheck);
void EnableOptions(BOOL fEnable);
void EnableEditor(BOOL fEnable);
void EnableCameraShift(BOOL fEnable);
private:
LRESULT OnDestroy( WPARAM, LPARAM );
LRESULT OnCommand( WPARAM, LPARAM );
LRESULT OnInitDialog( WPARAM, LPARAM );
LRESULT OnMove( WPARAM, LPARAM );
LRESULT OnSize( WPARAM, LPARAM );
LRESULT OnPaint( WPARAM, LPARAM );
LRESULT OnEraseBackground( WPARAM, LPARAM );
private:
void OnDraw( HDC );
private:
static BOOL CALLBACK WindowProc_( HWND, UINT, WPARAM, LPARAM );
virtual BOOL WindowProc( UINT, WPARAM, LPARAM );
private:
HWND m_hWnd;
public:
HWND GetSafeHwnd() { return m_hWnd; }
private:
HBITMAP m_hButtonBitmaps[40];
private:
CApplication* m_pApplication;
private:
CDialogItemsPosition m_DialogItemsPosition;
};
#endif