Вниз
Скачать: 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.008 c
1-61186
RDA
2002-09-08 11:24
2002.09.19
Дочерние окна


3-60965
bubuka
2002-08-28 18:53
2002.09.19
Умножение в запросе


3-61009
PP
2002-08-29 11:55
2002.09.19
Подсоединение через интернет к ИБ6


4-61374
Alibaba
2002-07-31 12:32
2002.09.19
FindWindowEx - не работает под Win2k! Что делать?


3-60954
Rider
2002-08-27 17:06
2002.09.19
Связать таблицы




   Наверх