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

📄 tempcontainer.h

📁 自己做的Symbian小项目 可给大家参考
💻 H
字号:
#ifndef __TEMPCONTAINER_H__
#define __TEMPCONTAINER_H__

// INCLUDES
#include <aknview.h>
//#include <eiklbo.h> // MEikListBoxObserver

class CAknColumnListBox;

class CTempContainer : public CCoeControl/*, MEikListBoxObserver*/
{
public: // Constructors and destructor
 	CTempContainer();	
	virtual ~CTempContainer();
	void ConstructL(const TRect& aRect);
	TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType );
	
//	void CTempContainer::HandleListBoxEventL(CEikListBox* /*aListBox*/, TListBoxEvent aListBoxEvent);
//	TInt returnIndex();
	void CTempContainer::addInfotolist(const TDesC& aFlag, const TDesC& aName);

	TInt CTempContainer::getListBoxIndex();

private: // Functions from base classes
    void SizeChanged();
    TInt CountComponentControls() const;
    CCoeControl* ComponentControl( TInt aIndex ) const;
    void Draw( const TRect& aRect ) const;

	TInt listIndex;

	CAknColumnListBox* aListBox;
	CDesCArrayFlat* m_pListBoxArray;
};

#endif      // __TempCONTAINER_H__
// End of File





















⌨️ 快捷键说明

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