怎么得到数据窗口中某个dwo的句柄 或者 改变数窗中一可编辑列的Caret
wu_07 2002-12-30 10:20:30 在单行编辑框我可以用这种方法来改变插入标记(一个插入标记是位于窗口绘图区中的一个闪动的直线、方块或图标。插入标记通常用于指示文本或图形将插入的位置。)
long h,ll_bmp
h =handle(this)
LONG ll_inst
string ss
SetNull(ll_inst)
ss= 'C:\powerbuilder\test.BMP'
//载入
ll_bmp = guo_gdi.LoadImage(ll_inst,ss,0,0,0,16)
CreateCaret(h,ll_bmp , 0,0) //create new caret size
ShowCaret(h) //show the new caret
// SetCaretPos(xpos,ypos)
我现在想做的是想改变数据窗口中一个可编辑列的Caret
问题是将上边一端语句加到数据窗口中,它改变的是数据窗口的Caret,而不是数据窗口中某个具体的dwo,例如可编辑的列.
所以我想得到这个具体列的句柄,从而使其作用到一个列
但是怎么得到,现在没有头绪!?
或者用其他办法曲线救国也行!~??呵呵