WEB开发网
开发学院手机开发Symbian 开发 关于在symbian listbox中添加svg图片的问题 阅读

关于在symbian listbox中添加svg图片的问题

 2010-05-31 20:19:00 来源:WEB开发网   
核心提示:* @param aCommandObserver command observer* @return initialized instance of CATestList2ListBox*/CATestList2ListBox* CATestList2ListBox::NewL(const TRect& aRect,

* @param aCommandObserver command observer

* @return initialized instance of CATestList2ListBox

*/

CATestList2ListBox* CATestList2ListBox::NewL(

const TRect& aRect,

const CCoeControl* aParent,

MEikCommandObserver* aCommandObserver )

{

CATestList2ListBox* self = CATestList2ListBox::NewLC(

aRect,

aParent,

aCommandObserver );

CleanupStack::Pop( self );

return self;

}

/**

* Construct the control (first phase).

* Creates an instance and initializes it.

* Instance is left on cleanup stack.

* @param aRect The rectangle for this window

* @param aParent owning parent, or NULL

* @param aCommandObserver command observer

* @return new instance of CATestList2ListBox

*/

CATestList2ListBox* CATestList2ListBox::NewLC(

const TRect& aRect,

const CCoeControl* aParent,

MEikCommandObserver* aCommandObserver )

{

CATestList2ListBox* self = new ( ELeave ) CATestList2ListBox();

CleanupStack::PushL( self );

self->ConstructL( aRect, aParent, aCommandObserver );

return self;

}

/**

* Construct the control (second phase).

* Creates a window to contain the controls and activates it.

* @param aRect bounding rectangle

* @param aCommandObserver command observer

* @param aParent owning parent, or NULL

*/

void CATestList2ListBox::ConstructL(

const TRect& aRect,

const CCoeControl* aParent,

MEikCommandObserver* aCommandObserver )

{

if ( aParent == NULL )

{

CreateWindowL();

}

else

{

上一页  9 10 11 12 13 14 15 16 17 18 19  下一页

Tags:关于 symbian listbox

编辑录入:coldstar [复制链接] [打 印]
赞助商链接