CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2000
    Posts
    24

    Sending KeyStrokes to App

    Hi,

    I want to send the keystrokes to the mdi form, irrespective of child windows open or active.

    if child windows are active, and i pressed some key, and i want to pass it to the mdi form.

    thanks


  2. #2
    Join Date
    Jun 2001
    Location
    MO, USA
    Posts
    2,868

    Re: Sending KeyStrokes to App

    You'll have to get the window handle of the MDI form and use the SendMessage API or set the MDI form as the active window, use SendKeys, and then reset the child form as active.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured