Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6615977
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T20:31:39+00:00 2026-05-25T20:31:39+00:00

I would like to write an application which passes every message it receives to

  • 0

I would like to write an application which passes every message it receives to another window. For example, I have an application where user can press some keys, move mouse over it, etc. and I want all these messages passed to, for example, MS Paint.

How do I do this? Any ideas? As far as I know, there may be a problem with sending key strokes to another window, so please advice as well.

EDIT

Okay, maybe I will give you more description of what I’m looking for.

My applications displays a window of another application on the form. Now I would like to control the other window using messages sent to my application’s form (like key downs, mouse moves, etc.).

I have been thinking of passing all the messages my form receives to the window of the application I’m kind of ’embedding’ into my own. By ’embedding’ I mean making the application window display on my form.

Maybe there’s another solution to my problem. Please advice.

Thank you for your time.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T20:31:40+00:00Added an answer on May 25, 2026 at 8:31 pm

    Some messages (i.e. input messages) arrive through the message queue and the rest are delivered straight to the recipient windows. What you are asking to do therefore requires you to do all of the following:

    1. Implement a top level message loop that retrieves messages from the queue and sends them to the other app.
    2. Reimplement all modal window loops to pass all messages on.
    3. Replace the window procedure for all windows in your process with one that passes all messages on to the other app.
    4. Look for other opportunities for messages to arrive that I have not covered.

    I can’t imagine that this is really going to be the solution to your problem, whatever that problem is.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to write a web application in which users can record short
I would like to write application which will iterate trough certain test cases and
I would like to write an application which will stream data at 2400 baud
I would like to write a rather simple content application which displays a list
I would like to write application (as background service) which will encrypt whole file
I have a Django application which prints out a pdf file. I would like
May be duplicate. I would like to write javascript which can execute linux command
I would like to write a standalone Erlang application which could be run just
I would like to write a web application (in django) which scans the client/remote
I would like to write an application that will copy MP3 files to a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.