文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
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转过来的,重新格式化一下,备份与提供到网上能收集到。

相关阅读 更多 +
排行榜 更多 +
超级冒险王安卓版

超级冒险王安卓版

休闲益智 下载
玩具小镇手机版

玩具小镇手机版

休闲益智 下载
这一关特上头手机版

这一关特上头手机版

休闲益智 下载