Click here to Skip to main content
15,885,546 members
Home / Discussions / C#
   

C#

 
AnswerRe: painting object Pin
Alan Balkany11-Jul-08 9:50
Alan Balkany11-Jul-08 9:50 
QuestionControl Focus for MouseMove Events Pin
greytone810-Jul-08 11:13
professionalgreytone810-Jul-08 11:13 
AnswerRe: Control Focus for MouseMove Events Pin
Luc Pattyn10-Jul-08 12:56
sitebuilderLuc Pattyn10-Jul-08 12:56 
QuestionCopying from a memory structure to a jpg file Pin
SkyhiKeeper10-Jul-08 11:00
SkyhiKeeper10-Jul-08 11:00 
AnswerRe: Copying from a memory structure to a jpg file Pin
half-life10-Jul-08 22:46
half-life10-Jul-08 22:46 
Questionassigning keyboard shortcuts to buttons in a form Pin
danmcb10-Jul-08 10:47
danmcb10-Jul-08 10:47 
AnswerRe: assigning keyboard shortcuts to buttons in a form Pin
Luc Pattyn10-Jul-08 12:59
sitebuilderLuc Pattyn10-Jul-08 12:59 
AnswerRe: assigning keyboard shortcuts to buttons in a form Pin
Nirandas10-Jul-08 19:14
Nirandas10-Jul-08 19:14 
You will have to write some code inside the KeyDown event of the form, and take the required action when the space key is pressed. The form's KeyPreview property must be set to true to get the KeyDown events even the focus is on any child control.
You can check my blog post for an example of handling this event for creating various shortcut keys.
http://www.nirandas.com/blog/index.php/ways-to-set-short-cut-keys-for-controls-on-a-windows-forms-net-application/[^]
Remember! if the focus is on a text field, users will not be able to type a space if it is used for triggering any other action.

Nirandas,
a developer from India.
http://www.nirandas.com

QuestionSaving/Loading an image to/from xml Pin
Justin Time10-Jul-08 10:43
Justin Time10-Jul-08 10:43 
QuestionRetreiving available parameters from executables...is it possible? Pin
GreatBarrier8610-Jul-08 9:57
GreatBarrier8610-Jul-08 9:57 
AnswerRe: Retreiving available parameters from executables...is it possible? Pin
Thomas Stockwell10-Jul-08 10:31
professionalThomas Stockwell10-Jul-08 10:31 
GeneralRe: Retreiving available parameters from executables...is it possible? Pin
GreatBarrier8610-Jul-08 10:41
GreatBarrier8610-Jul-08 10:41 
GeneralRe: Retreiving available parameters from executables...is it possible? Pin
Thomas Stockwell10-Jul-08 10:54
professionalThomas Stockwell10-Jul-08 10:54 
GeneralRe: Retreiving available parameters from executables...is it possible? Pin
Joe Woodbury10-Jul-08 16:59
professionalJoe Woodbury10-Jul-08 16:59 
GeneralRe: Retreiving available parameters from executables...is it possible? Pin
Ashfield10-Jul-08 21:13
Ashfield10-Jul-08 21:13 
GeneralRe: Retreiving available parameters from executables...is it possible? Pin
Joe Woodbury11-Jul-08 5:14
professionalJoe Woodbury11-Jul-08 5:14 
GeneralRe: Retreiving available parameters from executables...is it possible? Pin
Ashfield11-Jul-08 9:32
Ashfield11-Jul-08 9:32 
QuestionDataGridView strange Pin
muharrem10-Jul-08 9:18
muharrem10-Jul-08 9:18 
AnswerRe: DataGridView strange Pin
paas10-Jul-08 9:36
paas10-Jul-08 9:36 
GeneralRe: DataGridView strange Pin
muharrem10-Jul-08 10:49
muharrem10-Jul-08 10:49 
QuestionRemoting - sending a message from both server and client? Pin
Iron Goat10-Jul-08 9:02
Iron Goat10-Jul-08 9:02 
AnswerRe: Remoting - sending a message from both server and client? Pin
mav.northwind11-Jul-08 21:31
mav.northwind11-Jul-08 21:31 
Questionneed help with LOOP to display records from Access Database............ Pin
Reality Strikes10-Jul-08 8:48
Reality Strikes10-Jul-08 8:48 
AnswerRe: need help with LOOP to display records from Access Database............ Pin
Pete O'Hanlon10-Jul-08 8:58
mvePete O'Hanlon10-Jul-08 8:58 
GeneralRe: need help with LOOP to display records from Access Database............ Pin
Reality Strikes11-Jul-08 5:21
Reality Strikes11-Jul-08 5:21 

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.