when a window is not active (eg it is minimized, hidden, or under other windows) it does not receive mouse click messages.
I am going to write a program that produces a few circular waves around mouse pointer whenever the user clicks. my program is always hidden & so it is not active.
my question is how can my program receive mouse messages while it is hidden?
my program is not going to do anything else, it only produces waves after clicks.
:)

there is a feature in Windows XP that produces the waves when the user presses Ctrl Key.
Can I use this feature?

I found the API SetCapture . I think it helps writing such a program. SetCapture says to Windows to send more mouse notifications to the window.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.