12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- // SLiaDlg.cpp: implementation of the SLiaDlg class.
- //
- //////////////////////////////////////////////////////////////////////
- #include "stdafx.h"
- #include "YLGL.h"
- #include "SLiaDlg.h"
- #ifdef _DEBUG
- #undef THIS_FILE
- static char THIS_FILE[]=__FILE__;
- #define new DEBUG_NEW
- #endif
- //////////////////////////////////////////////////////////////////////
- // Construction/Destruction
- //////////////////////////////////////////////////////////////////////
- SLiaDlg::SLiaDlg()
- {
- }
- SLiaDlg::~SLiaDlg()
- {
- }
- void SLiaDlg::OnFSCommand(LPCTSTR command, LPCTSTR args)
- {
- }
- void SLiaDlg::Init()
- {
- ((MyBmpButton2*)m_picarray.ElementAt (0))->m_bAutoFocusImg=1;
- }
- void SLiaDlg::Destory()
- {
- }
- void SLiaDlg::BtnClick(WPARAM wParam, LPARAM lParam)
- {
- int id=lParam;
- id-=99;
- switch(id)
- {
- case 1:
- break;
- case 2:
- break;
- }
- }
- BOOL SLiaDlg::PreTransMsg(MSG* pMsg)
- {
- if(pMsg->message==WM_KEYDOWN)
- {
- switch (pMsg->wParam)
- {
- case VK_ESCAPE:
- case VK_F3:
- case VK_MULTIPLY:
- case VK_OEM_2:
- return 1;
- }
- }
- return CDialog::PreTranslateMessage(pMsg);
- }
|