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

C#

 
AnswerRe: remote desktop.... Pin
Pete O'Hanlon26-Oct-09 22:51
mvePete O'Hanlon26-Oct-09 22:51 
QuestionHow to set formatted html to the clipboard Pin
hirajhil26-Oct-09 19:18
hirajhil26-Oct-09 19:18 
QuestionWhich book learning C # better? Pin
miss YY26-Oct-09 18:06
miss YY26-Oct-09 18:06 
AnswerRe: Which book learning C # better? Pin
Richard MacCutchan26-Oct-09 23:07
mveRichard MacCutchan26-Oct-09 23:07 
GeneralRe: Which book learning C # better? Pin
miss YY27-Oct-09 17:29
miss YY27-Oct-09 17:29 
GeneralRe: Which book learning C # better? Pin
Richard MacCutchan27-Oct-09 22:08
mveRichard MacCutchan27-Oct-09 22:08 
QuestionFunction Key assignment in a Form C# .Net Pin
Zar Ni26-Oct-09 15:35
Zar Ni26-Oct-09 15:35 
AnswerRe: Function Key assignment in a Form C# .Net Pin
Luc Pattyn26-Oct-09 15:54
sitebuilderLuc Pattyn26-Oct-09 15:54 
Hi,

here are some facts about Windows Forms:
1. a Control only listens to keyboard and mouse when it has focus, which only one can have at a time;
2. the easiest way to get special keys or key combinations to do something is by adding a main menu, and menu items with their shortcut set to the keys of interest; then the same event handler can be used for the menu item as well as for other things, such as a Button;
3. a Form can "preview" keyboard input, i.e. get key events although one of its children has focus; so barring the menu idea, you would need a KeyDown and/or KeyPress handler for the Form.
4. none of the above will work if the Form isn't active.

Smile | :)

Luc Pattyn

I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages


GeneralRe: Function Key assignment in a Form C# .Net Pin
Zar Ni26-Oct-09 16:06
Zar Ni26-Oct-09 16:06 
AnswerRe: Function Key assignment in a Form C# .Net Pin
Christian Graus26-Oct-09 15:54
protectorChristian Graus26-Oct-09 15:54 
GeneralRe: Function Key assignment in a Form C# .Net Pin
Zar Ni26-Oct-09 16:03
Zar Ni26-Oct-09 16:03 
GeneralRe: Function Key assignment in a Form C# .Net Pin
Christian Graus26-Oct-09 16:09
protectorChristian Graus26-Oct-09 16:09 
GeneralRe: Function Key assignment in a Form C# .Net Pin
Zar Ni26-Oct-09 16:07
Zar Ni26-Oct-09 16:07 
QuestionNested pinning? Pin
DaveyM6926-Oct-09 11:56
professionalDaveyM6926-Oct-09 11:56 
AnswerRe: Nested pinning? Pin
Luc Pattyn26-Oct-09 12:17
sitebuilderLuc Pattyn26-Oct-09 12:17 
GeneralRe: Nested pinning? Pin
DaveyM6926-Oct-09 13:18
professionalDaveyM6926-Oct-09 13:18 
GeneralRe: Nested pinning? Pin
Luc Pattyn26-Oct-09 13:31
sitebuilderLuc Pattyn26-Oct-09 13:31 
GeneralRe: Nested pinning? Pin
DaveyM6926-Oct-09 13:41
professionalDaveyM6926-Oct-09 13:41 
GeneralRe: Nested pinning? Pin
Luc Pattyn26-Oct-09 13:52
sitebuilderLuc Pattyn26-Oct-09 13:52 
GeneralRe: Nested pinning? Pin
DaveyM6926-Oct-09 13:57
professionalDaveyM6926-Oct-09 13:57 
GeneralRe: Nested pinning? Pin
Luc Pattyn26-Oct-09 13:59
sitebuilderLuc Pattyn26-Oct-09 13:59 
GeneralRe: Nested pinning? Pin
DaveyM6926-Oct-09 22:22
professionalDaveyM6926-Oct-09 22:22 
GeneralRe: Nested pinning? Pin
Luc Pattyn27-Oct-09 3:21
sitebuilderLuc Pattyn27-Oct-09 3:21 
QuestionWeb Reference in VS incorrectly reads array parameter Pin
Vengeance26-Oct-09 11:20
Vengeance26-Oct-09 11:20 
QuestionMultiple Components In One Solution Accessing Data Pin
Kevin Marois26-Oct-09 10:46
professionalKevin Marois26-Oct-09 10:46 

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.