Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: How to set text to text boxes?

by bulk88 (Priest)
on Feb 11, 2014 at 07:04 UTC ( #1074354=note: print w/replies, xml ) Need Help??

in reply to How to set text to text boxes?

I'm not sure how RDC is implemented under the hood, but if I substitute VNC, you can't do that. A VNC window is a flat pixel canvass. The individual addressable controls you see are on the remote machine, not your machine. I dont think there are any User32.dll recognized buttons in that window for you to click. Try Winspector Spy, use the red gunscope thing, drag it over your RDC window. A red border around the selected control will show up. See if you can isolate individual controls out of that RDC window. If you can not, the entire large RDC window is the smallest addressable thing, and it is not "a button". Your only choice is to synthesize keyboard keys or X,Y coord mouse clicks inside that window. You also didn't check the return value of PushChildButton as per If you read the source you will see "the button" was clicked at 0,0. If your "button" is the entire window. The synthesized click landed nowhere near your human seen button in that window.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1074354]
LanX .oO( But what if the nuclears codes don't fit into 140 characters ??? o_O )

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2017-01-20 15:20 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (174 votes). Check out past polls.