Главная страница
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
1-1126629913
Дмитрий_05
2005-09-13 20:45
2005.10.02
Popup меню раскрыть и скрыть


14-1125986780
Igorek
2005-09-06 10:06
2005.10.02
За что мы любим США


14-1126064978
Rentgen
2005-09-07 07:49
2005.10.02
QBasic + COM-Port; s


2-1124895009
ArtemESC
2005-08-24 18:50
2005.10.02
Тип Pointer


9-1116958134
ins3rt
2005-05-24 22:08
2005.10.02
OpenGL движок