Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2005.10.02;
Скачать: CL | DM;

Вниз

sending message inside same application   Найти похожие ветки 

 
Lars   (2005-02-04 11:30) [0]

Hello,

Inside the same program, when calling these messages to an edit box it doesn"t seem to work. Maybe I am missing something or there is a valid reason..

{Ed1 is a KOLEditBox on the form}

ed1.Perform(wm_char,70,0);
sendmessage(ed1.handle,wm_char,70,0);

Yet from an external KOL exe sending to another KOL Exe I can do this:

sendmessage(HandleOfEd1,wm_char,70,0);


 
Владимир Кладов   (2005-02-04 18:47) [1]

EditBox must be in focus, no matter in the same or in another application. It is better to use Stroke2Window sometime.



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

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

Наверх




Память: 0.46 MB
Время: 0.037 c
2-1124591922
Rytek
2005-08-21 06:38
2005.10.02
Хинты


14-1126264615
Ylia___
2005-09-09 15:16
2005.10.02
Обмен данными по локальной сети


1-1126172596
AddValue
2005-09-08 13:43
2005.10.02
Delphi vs Assembler


2-1124773293
Serfy
2005-08-23 09:01
2005.10.02
Не могу разобраться...


2-1124875734
irq
2005-08-24 13:28
2005.10.02
TThread.Synchronize