cs000862
開發夥伴平台:
s60 3rd edition, mr
s60 3rd edition, fp1
s60 3rd edition, fp2 beta
詳細描述
下列**片段演示了如何在ceikedwin周圍畫上標準邊框。同行的方法可以運用在所有從ceikbordercontrol派生的控制項上。
mmp檔案
需要下列鏈結庫
library egul.lib
library eikcoctl.lib
標頭檔案ceikedwin* ieditor;
原始檔// set border type
ieditor->setborder(tgulborder::esingledotted);
// get the standard graphics context
cwindowgc& gc = systemgc();
// clear the screen
gc.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控制項周圍會有標準邊框出現
為CEikEdwin繪製標準邊框 ZT
下列 片段演示了如何在ceikedwin周圍畫上標準邊框。同行的方法可以運用在所有從ceikbordercontrol派生的控制項上。需要下列鏈結庫 library egul.lib library eikcoctl.libceikedwin ieditor constructl const tre...
Coreldraw繪製標準波浪線
coreldraw 中如何繪製標準波浪線?先畫一根直線,單擊工具欄中的 互動式工具組 選擇 互動式變形工具 再在彈出的屬性欄中選擇 拉鍊變形 在幅度和頻率中分別輸入波形的波峰 到波底的值 波浪線個數,再點選後面的 平滑式變形 即可生成標準的波 浪線。同時你還可以根據自己的需要隨時調整波峰值和波浪個數...
delphi中為自定控制項繪製windows按鈕
若要自定工具攔,但也要保留windows樣式的按鈕時 下面給出一種實現 procedure tmybutton.defaultdraw var arect,r trect wpos,hpos integer details tthemedelementdetails begin hpos 0 are...