Click here to Skip to main content
15,887,267 members
Home / Discussions / C#
   

C#

 
GeneralRe: Debugging Pin
EssOEss30-Apr-05 19:51
EssOEss30-Apr-05 19:51 
QuestionError handling using MS Word ? Pin
fracalifa30-Apr-05 5:18
fracalifa30-Apr-05 5:18 
GeneralDrag-Drop & Transparent Panel Pin
ADeris30-Apr-05 4:46
ADeris30-Apr-05 4:46 
GeneralRe: Drag-Drop & Transparent Panel Pin
ADeris30-Apr-05 6:01
ADeris30-Apr-05 6:01 
Generalcopying feature from Mac OS X Tiger Pin
ekynox30-Apr-05 3:56
ekynox30-Apr-05 3:56 
GeneralRe: copying feature from Mac OS X Tiger Pin
Dave Kreskowiak30-Apr-05 4:03
mveDave Kreskowiak30-Apr-05 4:03 
GeneralRe: copying feature from Mac OS X Tiger Pin
ekynox30-Apr-05 4:17
ekynox30-Apr-05 4:17 
GeneralRe: copying feature from Mac OS X Tiger Pin
Dave Kreskowiak30-Apr-05 4:38
mveDave Kreskowiak30-Apr-05 4:38 
Hmmm... Possible to do, but not the way to think.

If this key combination is pressed, your application would be launched, stealing the focus from the application you want to copy the text from. There is no way to determine which application HAD the focus and therefore no way to force that application to do a copy to the clipboard.

You can get around this, though, by writing your application as a Service that interacts with the desktop or as a normal application that is launched on user login (Startup folder or Registry Run key) that shows no windows, but has a System Tray icon. You application would have to hook the keyboard to look for the key combination your using to luanch this. Once you code sees this combination you could inject the Ctrl-C key codes without stealing the focus. Most applications support this as the Copy to Clipboard command and will dutifly do so.

You said this is your first Windows application? You've got a lot to learn to get this far and this doesn't include the dictionary functionality. What kind of programming experience do you have?


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: copying feature from Mac OS X Tiger Pin
Luis Alonso Ramos30-Apr-05 11:01
Luis Alonso Ramos30-Apr-05 11:01 
GeneralRe: copying feature from Mac OS X Tiger Pin
ekynox30-Apr-05 15:18
ekynox30-Apr-05 15:18 
GeneralRe: copying feature from Mac OS X Tiger Pin
Luis Alonso Ramos30-Apr-05 15:36
Luis Alonso Ramos30-Apr-05 15:36 
GeneralRe: copying feature from Mac OS X Tiger Pin
ekynox1-May-05 3:33
ekynox1-May-05 3:33 
GeneralDeveloping On Pin
MrJJKoolJ30-Apr-05 3:27
MrJJKoolJ30-Apr-05 3:27 
GeneralRe: Developing On Pin
Dave Kreskowiak30-Apr-05 3:59
mveDave Kreskowiak30-Apr-05 3:59 
GeneralRe: Developing On Pin
MrJJKoolJ30-Apr-05 6:09
MrJJKoolJ30-Apr-05 6:09 
GeneralUsing a mouse-offset in a Picture Box Pin
NortonC30-Apr-05 1:57
NortonC30-Apr-05 1:57 
GeneralRe: Using a mouse-offset in a Picture Box Pin
NortonC30-Apr-05 7:21
NortonC30-Apr-05 7:21 
Questionhow to bring pointer to the beginning of file(streamreader) Pin
ashu_sharma2129-Apr-05 20:54
ashu_sharma2129-Apr-05 20:54 
AnswerRe: how to bring pointer to the beginning of file(streamreader) Pin
mav.northwind29-Apr-05 21:09
mav.northwind29-Apr-05 21:09 
GeneralA problem displaying transparant-background images in DirectX Pin
arik_a29-Apr-05 20:24
arik_a29-Apr-05 20:24 
General.NET WebService Problem Pin
Praveen Nayak29-Apr-05 19:51
Praveen Nayak29-Apr-05 19:51 
GeneralSystemtray capture Pin
dubshell29-Apr-05 19:47
dubshell29-Apr-05 19:47 
Generalusb interfacing in c#.net Pin
ahsan14129-Apr-05 18:49
ahsan14129-Apr-05 18:49 
GeneralRe: usb interfacing in c#.net Pin
eggie529-Apr-05 20:31
eggie529-Apr-05 20:31 
GeneralAcessing Usb Device in C# Pin
majidbhutta29-Apr-05 17:28
majidbhutta29-Apr-05 17:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.