Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: Sending a message to Win32 Dialog in background.

by balajinagaraju (Sexton)
on Oct 31, 2012 at 10:10 UTC ( [id://1001641]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Sending a message to Win32 Dialog in background.
in thread Sending a message to Win32 Dialog in background.

Hi, Thanks for your responses, win32 windows will indeed process the messages sent to them no matter whether they are foreground or background, but i am facing an issue particularly here. I think the only way to achieve this could be to set the required window to foreground and then sendkeys. Let me check other options.

  • Comment on Re^3: Sending a message to Win32 Dialog in background.

Replies are listed 'Best First'.
Re^4: Sending a message to Win32 Dialog in background.
by Corion (Patriarch) on Oct 31, 2012 at 10:15 UTC

    As the alternative, you could try to send the keyboard messages directly to the appropriate window instead of using SendKeys. This will not always work in a convenient way, as the keycodes and keyboard states do not necessarily translate into Windows messages.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1001641]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2025-07-10 20:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.