Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2004.11.21;
Скачать: 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 вся ветка

Текущий архив: 2004.11.21;
Скачать: CL | DM;

Наверх




Память: 0.45 MB
Время: 0.046 c
14-1099760400
VID
2004-11-06 20:00
2004.11.21
Посоветуйте где можно прочитать об...


1-1100057935
тт
2004-11-10 06:38
2004.11.21
Архивацыя.


11-1082741850
Max003
2004-04-23 21:37
2004.11.21
Почему MCK проекты не работают под Windows98 !!!


1-1099993977
Andry
2004-11-09 12:52
2004.11.21
Сколько страниц напечатал принтер


14-1099761724
default
2004-11-06 20:22
2004.11.21
Послепятничная задачка





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский