Вниз
Скачать: CL | DM;

Как установавить саретку в TMemo в нужное положение   Найти похожие ветки 

 
TeNY ©   (2004-10-11 19:51) [0]

Как установавить саретку в TMemo в нужное положение,через selstart геморно больно а через SendMessage или др АПИ функции


 
cerber1 ©   (2004-10-12 00:33) [1]

API:    
SetCaretPos()


 
TeNY ©   (2004-10-12 06:42) [2]

The SetCaretPos function moves the caret to the specified coordinates. If the window that owns the caret was created with the CS_OWNDC class style, then the specified coordinates are subject to the mapping mode of the device context associated with that window.

BOOL SetCaretPos(

   int X, // horizontal position
   int Y  // vertical position
  );


Parameters

X

Specifies the new x-coordinate of the caret.

Y

Specifies the new y-coordinate of the caret.



Return Values

If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.

Remarks

SetCaretPos moves the caret whether or not the caret is hidden.
The caret is a shared resource; there is only one caret in the system. A window can set the caret position only if it owns the caret.

See Also

здесь можно указывать x и y,а на что обьект ссылается непонятно и поэтому не устанавливает,так как установить ссылку на обьект?



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.022 c
1-1099642881
КиТаЯц
2004-11-05 11:21
2004.11.21
MS Excel + Delphi открытие файла (формат ячеек)


3-1098189214
Григорьев Антон
2004-10-19 16:33
2004.11.21
Арифметическое И в Access


1-1099937284
Змей
2004-11-08 21:08
2004.11.21
Горячая клавиша


1-1099939597
lomman
2004-11-08 21:46
2004.11.21
TWebBrowser


1-1100015551
Dema-X
2004-11-09 18:52
2004.11.21
}{афман и его адаптивный метод кодирования




   Наверх