pust si WinSight .. tam si najdi okno Kalkulacky a stiknji klavesy .. uvidis, ktere zpravy se posilaji
pak uz jen
var hadleOkna:HWND;
begin
hadleOkna := FindWindow(nil,'Kalkulaèka');
SendMessage(hadleOkna,WM_SYSKEYDOWN,VK_MENU,0);
SendMessage(hadleOkna,WM_SYSKEYDOWN,78,0); 78 = 'n'
SendMessage(hadleOkna,WM_SYSKEYUP,78,0);
SendMessage(hadleOkna,WM_SYSKEYUP,VK_MENU,0);
Jirka Virt