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.
 
 
 
 
 

56 lines
1.1 KiB

//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright © 2000-2002. All Rights Reserved.
// Version 1.0 01/01/2000
// Last modification: 08/10/2003
// PROJECT:
// SUBSYSTEM:
// FILE: LgButton.h
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Header file of LgButton.h
//----------------------------------------------------------------------------
#ifndef __LG__BUTTON__H__INCLUDED__
#define __LG__BUTTON__H__INCLUDED__
#if _MSC_VER > 1000
#pragma once
#endif
#include <afxext.h>
#define LG_BUTTON_BM_SET_STATE (WM_USER+100)
class CLgButton :
public CButton
{
public:
CLgButton();
virtual ~CLgButton();
public:
//{{AFX_VIRTUAL(CLgButton)
public:
protected:
virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
//}}AFX_VIRTUAL
public:
BOOL SetBitmaps( UINT nUp, UINT nDown );
protected:
//{{AFX_MSG(CLgButton)
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void UpdateImages();
HBITMAP m_hUpBitmap;
HBITMAP m_hDownBitmap;
};
//{{AFX_INSERT_LOCATION}}
#endif