文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>为CEikEdwin绘制标准边框(转)

为CEikEdwin绘制标准边框(转)

时间:2010-10-27  来源:冰岛

{  

// ...

// Set border type

iEditor->SetBorder(TGulBorder::ESingleDotted);   

// ...

}

void CAppView::Draw(const TRect&aRect) const   

{

// Get the standard graphics context

CWindowGc& gc = SystemGc();  

// Clear the screengc.Clear(aRect);  

// Get the border

TGulBorder border = iEditor->Border();  

// Draw the border so that it surrounds iEditor

TRect editorRect = iEditor->Rect(); 

border.Draw(gc, border.OuterRect(editorRect)); 

}

  • 后记

CEikEdwin控件周围会有标准边框出现 转自:forum.nokia.com

 

 备注:从devdiv转过来的,重新格式化一下,备份与提供到网上能收集到。

相关阅读 更多 +
排行榜 更多 +
方块枪战战场安卓版

方块枪战战场安卓版

飞行射击 下载
战斗火力射击安卓版

战斗火力射击安卓版

飞行射击 下载
空中防御战安卓版

空中防御战安卓版

飞行射击 下载