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

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

 2010-05-31 20:19:00 来源:WEB开发网   
核心提示:SetContainerWindowL( *aParent );}iFocusControl = NULL;iCommandObserver = aCommandObserver;InitializeControlsL();SetRect( aRect );ActivateL();// [[[ begin genera

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]

}

/**

* Return the number of controls in the container (override)

* @return count

*/

TInt CATestList2ListBox::CountComponentControls() const

{

return ( int ) ELastControl;

}

/**

* Get the control with the given index (override)

* @param aIndex Control index [0...n) (limited by #CountComponentControls)

* @return Pointer to control

*/

CCoeControl* CATestList2ListBox::ComponentControl( TInt aIndex ) const

{

// [[[ begin generated region: do not modify [Generated Contents]

switch ( aIndex )

{

case EListBox:

return iListBox;

}

// ]]] end generated region [Generated Contents]

// handle any user controls here...

return NULL;

}

/**

* Handle resizing of the container. This implementation will lay out

* full-sized controls like list boxes for any screen size, and will layout

* labels, editors, etc. to the size they were given in the UI designer.

* This code will need to be modified to adjust arbitrary controls to

* any screen size.

*/

void CATestList2ListBox::SizeChanged()

{

CCoeControl::SizeChanged();

LayoutControls();

// [[[ begin generated region: do not modify [Generated Contents]

// ]]] end generated region [Generated Contents]

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

Tags:关于 symbian listbox

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