⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mydialog.h

📁 symbian下自制按钮实现
💻 H
字号:
// MyDialog.h: interface for the CMyDialog class.
//
//////////////////////////////////////////////////////////////////////

#ifndef __MYDIALOG_H__
#define __MYDIALOG_H__

#include <aknDialog.h>
#include <eikedwin.h>
#include "BtnCtrl.h"


class CMyDialog :public CAknDialog
{
public: 
   CMyDialog( TRect aRect ) ;	
	~CMyDialog( ) ;
	
   static TBool RunAaaLD(TRect & aRect ) ;

public: // from CAknDialog 
	TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent, TEventCode aType) ;  
    
 
protected:	// from CAknDialog

   TBool OkToExitL(TInt aButtonId) ;

   void PreLayoutDynInitL( ) ;
   void PostLayoutDynInitL( ) ;

  SEikControlInfo CreateCustomControlL(TInt aControlType);

private: //数据
   TRect iRect ; 
   CBtnCtrl *  igBtn[3] ;
   TInt   inCurrBtn ;  //当前焦点的标签
  
   enum{ EBtnUp=0, EBtnDown ,EBtnView } ;

private:
  

};

#endif // !defined(AFX_MYDIALOG_H__1163F42A_4D2D_447C_9C30_6D7E5450C439__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -