Главная страница
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.026 c
1-1126614631
Tor
2005-09-13 16:30
2005.10.02
Пауза без остановки процесса типа Sleep


14-1126079926
Антоний
2005-09-07 11:58
2005.10.02
Файл *.12M


1-1126259631
BFG9k
2005-09-09 13:53
2005.10.02
Некорректная работа PrinterSetupDialog


1-1126178903
Xmen
2005-09-08 15:28
2005.10.02
Шифрация файла.


1-1126524266
lauren
2005-09-12 15:24
2005.10.02
forms