orcselcontainer.h
来自「同样自己做的 还不错哦 Symbian的 上面没找到分类」· C头文件 代码 · 共 65 行
H
65 行
#ifndef __ORCSelCONTAINER_H__
#define __ORCSelCONTAINER_H__
// INCLUDES
#include <aknview.h>
#include <eiklbo.h>
class CAknColumnListBox;
class CORCSelContainer : public CCoeControl,
public MEikListBoxObserver
{
public: // Constructors and destructor
CORCSelContainer();
virtual ~CORCSelContainer();
void ConstructL(const TRect& aRect);
TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType );
private: // Functions from base classes
void SizeChanged();
TInt CountComponentControls() const;
CCoeControl* ComponentControl( TInt aIndex ) const;
void Draw( const TRect& aRect ) const;
private:
void CreateListL(const TRect& aRect);
void SetupListIconsL();
void AddListInfo();
private: // from MEikListBoxObserver
void HandleListBoxEventL(CEikListBox* aListBox, TListBoxEvent aListBoxEvent);
public:
RArray<TInt> GetListBoxIndex();
void addInfotolist(const TDesC& aIcon, const TDesC& aName);
void HandleMarkCommandL(TInt aCommand);
void GetListInfo(); //get select information
private:
CAknColumnListBox* iOrcerListBox;
CDesCArrayFlat* m_pNoteLtboxArray;
RArray<TInt> copyIndices;
};
#endif // __ORCSelCONTAINER_H__
// End of File
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?