📄 contextmenucontainer.h
字号:
#ifndef CONTEXTMENUCONTAINER_H
#define CONTEXTMENUCONTAINER_H
// INCLUDES
// System includes
#include <coecntrl.h> // CCoeControl
// FORWARD DECLARATIONS
class CEikTextListBox;
// CLASS DECLARATION
/**
*
* @class CContextMenuContainer ContextMenuContainer.h
* @brief This is the container class for the ContextMenu example based on the
* standard Symbian OS architecture.
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*
*/
class CContextMenuContainer : public CCoeControl
{
public: // Constructors and destructor
static CContextMenuContainer* NewL(const TRect& aRect);
static CContextMenuContainer* NewLC(const TRect& aRect);
~CContextMenuContainer();
public: // members
void DeleteSelectedGameL();
void PlaySelectedGame();
private:
void ConstructL(const TRect& aRect);
private: // from CoeControl
void SizeChanged();
TInt CountComponentControls() const;
CCoeControl* ComponentControl(TInt aIndex) const;
void Draw(const TRect& aRect) const;
TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
private: //data
CEikTextListBox* iSavedGamesListBox; // the saved games list
};
#endif // #ifndef CONTEXTMENUCONTAINER_H
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -