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

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

Наверх




Память: 0.47 MB
Время: 0.017 c
1-61201
Hagis
2002-09-08 14:00
2002.09.19
Как в переменную типа String загнать 3 строку из текстового файла


1-61129
avr555
2002-09-06 02:51
2002.09.19
TPageControl - рождение и убитие


14-61287
delphiguru
2002-08-23 19:32
2002.09.19
ShellExecute и WinExec


3-61008
Beer
2002-08-29 07:10
2002.09.19
Динамическая таблица по параметрам.


14-61306
Polevi
2002-08-24 17:45
2002.09.19
http://ilga.econ.msu.ru/doc/rfc/SMTP/