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