?? btnviewcontainer.h
字號:
// BtnViewContainer.h: interface for the CBtnViewContainer class.
//
//////////////////////////////////////////////////////////////////////
#ifndef __BTNVIEWCONTAINER_HH__
#define __BTNVIEWCONTAINER_HH__
#include <coecntrl.h>
#include "BtnCtrl.h"
#include <eiklabel.h>
class CBtnViewContainer :public CCoeControl
{
public:
CBtnViewContainer( );
virtual ~CBtnViewContainer();
static CBtnViewContainer* NewL( const TRect& aRect, const CCoeControl* aParent );
static CBtnViewContainer* NewLC(const TRect& aRect, const CCoeControl* aParent) ;
void ConstructL( const TRect& aRect, const CCoeControl* aParent );
public: //來自于 CCoeControl
TInt CountComponentControls( ) const;
CCoeControl* ComponentControl( TInt aIndex ) const;
TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent,TEventCode aType );
protected:
void Draw( const TRect& aRect ) const ;
void SizeChanged( ) ;
private: //來自于 CCoeControl
void LayoutControls( ) ;
private:
void InitControlsL( ) ;
private: //私有數據
CBtnCtrl * igBtn[3] ;
TInt inCurrBtn ; //當前焦點的按鈕
// CEikLabel * iLabel1 ;
enum TControls{ EBtnUp=0, EBtnDown ,EBtnView, ELastControl } ;
};
#endif // !defined(AFX_BTNVIEWCONTAINER_H__7BDB0876_3CF0_439E_9E63_3933AEF22950__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -