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

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

 2010-05-31 20:19:00 来源:WEB开发网   
核心提示:aParent,aCommandObserver );CleanupStack::Pop( self );return self;}/*** Construct the control (first phase).* Creates an instance and initializes it.* Instance i

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

{

SetContainerWindowL( *aParent );

}

iFocusControl = NULL;

iCommandObserver = aCommandObserver;

InitializeControlsL();

SetRect( aRect );

ActivateL();

// [[[ begin generated region: do not modify [Post-ActivateL initializations]

// ]]] end generated region [Post-ActivateL initializations]

}

/**

上一页  21 22 23 24 25 26 27 28 29 30 31  下一页

Tags:关于 symbian listbox

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