studyviewcontainer.h

来自「symbian下自制按钮实现」· C头文件 代码 · 共 48 行

H
48
字号
// StudyViewContainer.h: interface for the CStudyViewContainer class.
//
//////////////////////////////////////////////////////////////////////
#ifndef __STUDYVIEWCONTAINER_HH__
#define __STUDYVIEWCONTAINER_HH__

#include <coecntrl.h>

class CStudyViewContainer  :public CCoeControl 
{
public:
	CStudyViewContainer( );
	virtual ~CStudyViewContainer();
    
	static CStudyViewContainer* NewL( 
		const TRect& aRect, 
		const CCoeControl* aParent);
	static CStudyViewContainer* NewLC( 
		const TRect& aRect, 
		const CCoeControl* aParent);        
	void ConstructL( 
		const TRect& aRect, 
		const CCoeControl* aParent );

	public:
	// from base class CCoeControl
	//TInt CountComponentControls() const;
	//CCoeControl* ComponentControl( TInt aIndex ) const;
	//TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent,TEventCode aType );
	
protected:
	// from base class CCoeControl

private:
	// from base class CCoeControl
	void Draw( const TRect& aRect ) const;
	//void SizeChanged();
    
	enum TControls
	    {
			ELastControl = 0 
	    };


};

#endif // !defined(AFX_STUDYVIEWCONTAINER_H__C2BD2CFD_02B2_4DBB_9E96_501F2BB27292__INCLUDED_)

⌨️ 快捷键说明

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