![]() |
| ||
|
|
Новости |
Поиск |
FAQ |
Статьи |
Книги |
Новости VCL
| | Форумы ЧАТ |
Орешник |
|
| |||
| |||
« предыдущая ветвь | форум | следующая ветвь »
sending message inside same application [Delphi, Windows]
Lars © (2005-02-04 11:30:00)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:00) [1]EditBox must be in focus, no matter in the same or in another application. It is better to use Stroke2Window sometime.