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.
 
 
 
 
 

44 lines
1.0 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.cpp
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Source file of LgButton.cpp
//----------------------------------------------------------------------------
#include "stdafx.h"
#include "..\..\LgLib\Version.h"
#include "LgButton.h"
CLgButton::CLgButton()
{
}
CLgButton::~CLgButton()
{
}
BEGIN_MESSAGE_MAP(CLgButton, CButton)
//{{AFX_MSG_MAP(CLgButton)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
LRESULT CLgButton::WindowProc( UINT message, WPARAM wParam, LPARAM lParam )
{
switch( message )
{
case BM_SETSTATE:
if( GetParent() )
GetParent()->SendMessage( WM_LG_BUTTON_SET_STATE, (WPARAM)::GetWindowLong( GetSafeHwnd(), GWL_ID ), (LPARAM)wParam );
break;
}
return CButton::WindowProc(message, wParam, lParam);
}