Click here to Skip to main content
15,890,690 members
Home / Discussions / C#
   

C#

 
GeneralMouse and Keyboard Hook Pin
Expert Coming11-Jun-05 18:13
Expert Coming11-Jun-05 18:13 
GeneralRe: Mouse and Keyboard Hook Pin
nemopeti11-Jun-05 23:07
nemopeti11-Jun-05 23:07 
QuestionHow ot determine when user press Ctrl + S? Pin
Khoa Bui11-Jun-05 17:18
Khoa Bui11-Jun-05 17:18 
AnswerRe: How ot determine when user press Ctrl + S? Pin
eggie511-Jun-05 18:18
eggie511-Jun-05 18:18 
AnswerRe: How ot determine when user press Ctrl + S? Pin
nemopeti11-Jun-05 23:09
nemopeti11-Jun-05 23:09 
AnswerRe: How ot determine when user press Ctrl + S? Pin
Rei Miyasaka11-Jun-05 23:33
Rei Miyasaka11-Jun-05 23:33 
GeneralI have a main menu, but what if I dont? Pin
Khoa Bui12-Jun-05 0:32
Khoa Bui12-Jun-05 0:32 
GeneralRe: I have a main menu, but what if I dont? Pin
Rei Miyasaka12-Jun-05 0:35
Rei Miyasaka12-Jun-05 0:35 
There's a setting in the main menu object properties that lets you choose from like a hundred different key combinations, Ctrl+S is one of them.

Otherwise, you can set a KeyDown event, and do this:
<br />
		private void Form1_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)<br />
		{<br />
<br />
			if(e.Modifiers == Keys.Control && e.KeyCode == Keys.S)<br />
			{<br />
//do stuff here<br />
			}<br />
		}<br />
<br />

GeneralI got it, thanks Pin
Khoa Bui12-Jun-05 0:38
Khoa Bui12-Jun-05 0:38 
GeneralTransmiting custom objects through network Pin
evgenyus11-Jun-05 11:50
evgenyus11-Jun-05 11:50 
GeneralRe: Transmiting custom objects through network Pin
S. Senthil Kumar12-Jun-05 4:47
S. Senthil Kumar12-Jun-05 4:47 
GeneralNotifyIcon.Icon Pin
eggie511-Jun-05 10:38
eggie511-Jun-05 10:38 
GeneralRe: NotifyIcon.Icon Pin
MoustafaS11-Jun-05 10:51
MoustafaS11-Jun-05 10:51 
GeneralRe: NotifyIcon.Icon Pin
eggie511-Jun-05 11:10
eggie511-Jun-05 11:10 
GeneralRe: NotifyIcon.Icon Pin
DavidNohejl11-Jun-05 11:13
DavidNohejl11-Jun-05 11:13 
GeneralRe: NotifyIcon.Icon Pin
eggie511-Jun-05 11:18
eggie511-Jun-05 11:18 
GeneralRe: NotifyIcon.Icon Pin
DavidNohejl11-Jun-05 12:02
DavidNohejl11-Jun-05 12:02 
GeneralRe: NotifyIcon.Icon Pin
eggie511-Jun-05 12:06
eggie511-Jun-05 12:06 
GeneralRe: NotifyIcon.Icon Pin
eggie511-Jun-05 11:16
eggie511-Jun-05 11:16 
GeneralRe: NotifyIcon.Icon Pin
eggie511-Jun-05 15:37
eggie511-Jun-05 15:37 
GeneralAdding images to a ListView W/O an ImageList Pin
eggie511-Jun-05 7:44
eggie511-Jun-05 7:44 
GeneralRe: Adding images to a ListView W/O an ImageList Pin
Dave Kreskowiak11-Jun-05 12:23
mveDave Kreskowiak11-Jun-05 12:23 
GeneralRe: Adding images to a ListView W/O an ImageList Pin
eggie511-Jun-05 12:59
eggie511-Jun-05 12:59 
GeneralControls Painting Problem Pin
bneacetp11-Jun-05 4:35
bneacetp11-Jun-05 4:35 
GeneralRe: Controls Painting Problem Pin
Dave Kreskowiak11-Jun-05 12:17
mveDave Kreskowiak11-Jun-05 12:17 

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.