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

📄 listbox.h

📁 0S9.平台任务管理.内存监控示例.还sign后才可以安装
💻 H
字号:
#ifndef LISTBOX_H
#define LISTBOX_H

#include <eikclb.h>     // CEikColumnListBox
#include <eiklbo.h>     // MEikListBoxObserver

class CSingleListBox : public CEikColumnListBox, public MListBox
{
public:
    void ConstructL(CCoeControl* aParent, TInt aFlags = 0);
    TInt CurrentItemIndex() const;
    TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent, TEventCode aType);
    void RefreshL();
    void SetContainerWindowL(const CCoeControl& aContainer);
    void SetItemList(MDesCArray* aTextArray, CArrayPtr<CGulIcon>* aIconArray);
    void SetListBoxObserver(MEikListBoxObserver* aObserver);
    void SetMopParent(MObjectProvider* aParent);
    void SetRect(const TRect& aRect);
    void SetScrollBarL();
    void ShowScrollBarL(TBool aShow);

    CEikListBox* This();
};

class CDoubleListBox : public CEikTextListBox, public MListBox
{
public:
    void ConstructL(CCoeControl* aParent, TInt aFlags = 0);
    TInt CurrentItemIndex() const;
    TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent, TEventCode aType);
    void RefreshL();
    void SetContainerWindowL(const CCoeControl& aContainer);
    void SetItemList(MDesCArray* aTextArray, CArrayPtr<CGulIcon>* aIconArray);
    void SetListBoxObserver(MEikListBoxObserver* aObserver);
    void SetMopParent(MObjectProvider* aParent);
    void SetRect(const TRect& aRect);
    void SetScrollBarL();
    void ShowScrollBarL(TBool aShow);

    CEikListBox* This();

protected:
    void CreateItemDrawerL();

private:
    CArrayPtr<CGulIcon>* iIconArray;
};

#endif

⌨️ 快捷键说明

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