Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 6 results for
applicationcommand
- Page 1
Send ApplicationCommand to a Different Application
Programming
Software Development
13 Years Ago
by oredigger
I've been reading about ApplicationCommands (specifically Paste) [URL="http://msdn.microsoft.com/en-us/library/system.windows.input.applicationcommands.paste.aspx"]here[/URL] and I have a question regarding the following paragraph: [QUOTE]A MenuItem is created and it's Command property is set to the Paste command. The CommandTarget is …
Re: Send ApplicationCommand to a Different Application
Programming
Software Development
13 Years Ago
by Momerath
It means exactly that. As long as what has focus can accept a paste and there is something to paste, it will work just like when you copied that text from the webpage where you found it and pasted it into the box to post your message :)
Re: Send ApplicationCommand to a Different Application
Programming
Software Development
13 Years Ago
by N4JRY
Hi there, You will need to listen to all the windows messages and find the one(s) you want. If it is a paste command then you might need to capture the event - copy what ever you need into the clipboard then let the original target app pick up the message aswell. I looked at capturing these type of messages along time ago and do not remember the …
Re: Send ApplicationCommand to a Different Application
Programming
Software Development
13 Years Ago
by oredigger
Thank you both for getting back on my first question. I've now started building my app and have made some good progress, but have run into another issue. I've created a custom command that will be called when the appropriate key binding event has been raised so that I can process the information needed before pasting it (which is my final goal).…
Re: Send ApplicationCommand to a Different Application
Programming
Software Development
13 Years Ago
by N4JRY
This is not exactly what I had to do but if I have understood you correctly then you could raise a new windows message that the second application can capture and interpret. Have a read of this article. It may give you what you need: [url]http://ryanfarley.com/blog/archive/2004/05/10/605.aspx[/url] N
Re: Send ApplicationCommand to a Different Application
Programming
Software Development
13 Years Ago
by oredigger
I may not have understood everything in that article correctly, but it seemed like it detailed how to send messages between two applications that I would have control of (ie, two apps that I wrote) since you have to have a specific target process to send the message to: [CODE]//now send the RF_TESTMESSAGE to the running instance SendMessage(p.…
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC