Thank you in advance
Helge Sorgenfrei
try
keybd_event( VK_F10, MapVirtualKey(VK_F10,0), 0, 0 );
keybd_event( VK_F10, MapVirtualKey(VK_F10,0), KEYEVENTF_KEYUP, 0 );
Peter Below (TeamB) 10011...@compuserve.com)
Peter,
I am very thankful for your quick response.
I had a little difficulties implementing the solution in the
formshow-event (I tracked it down to a missing delay), but putting
focus on a visual component first helped.
Helge Sorgenfrei.