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

SendMessage   Найти похожие ветки 

← →
Shrek ©   (2002-09-09 19:55) [0]

Привет Дюди! У меня такая проблема, исполюзую:
SendMessage(GetFocus, WM_PASTE, 0, 0);
для вставки текста из буфера, и для Word-да не работает. Может кто сталкивался с такой проблемой. Помогите кто может!


← →
TTCustomDelphiMaster ©   (2002-09-09 20:20) [1]

Word это вам не notepad, с ним такой номер не пройдет.


← →
Shrek ©   (2002-09-09 20:26) [2]

Да об этом я знаю.
Но всётаки существует ли способ?


← →
TTCustomDelphiMaster ©   (2002-09-09 21:21) [3]

This example copies and pastes the first table in the active document into a new document.

If ActiveDocument.Tables.Count >= 1 Then
ActiveDocument.Tables(1).Range.Copy
Documents.Add.Content.Paste
End If

This example copies the first paragraph in the document and pastes it at the insertion point.

ActiveDocument.Paragraphs(1).Range.Copy
Selection.Collapse Direction:=wdCollapseStart
Selection.Paste



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

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



Память: 0.45 MB
Время: 0.012 c
1-61102
иван61
2002-09-08 21:35
2002.09.19
Как открыть проводник диска А из своей программы в модальном окне


4-61363
Alex_i
2002-07-01 19:11
2002.09.19
Запуск Explorer через ShellExecute


1-61072
Шурик Ш
2002-09-09 15:34
2002.09.19
Редактирование TreeView


3-60934
Serg2002
2002-08-30 12:25
2002.09.19
Подскажите написать запрос!!!


1-61044
Blacki
2002-09-09 09:39
2002.09.19
Картинка в PopupMenu




   Наверх