Click here to Skip to main content
15,913,487 members
Home / Discussions / C#
   

C#

 
GeneralRe: very confusing formatting symbols Pin
S. Senthil Kumar27-Feb-05 11:55
S. Senthil Kumar27-Feb-05 11:55 
GeneralRe: very confusing formatting symbols Pin
Pyro Joe27-Feb-05 16:49
Pyro Joe27-Feb-05 16:49 
GeneralRe: very confusing formatting symbols Pin
leppie27-Feb-05 19:24
leppie27-Feb-05 19:24 
GeneralRe: very confusing formatting symbols Pin
Pyro Joe28-Feb-05 3:48
Pyro Joe28-Feb-05 3:48 
GeneralKeyPress ASCII/Form Container questions... Pin
new_phoenix27-Feb-05 8:09
new_phoenix27-Feb-05 8:09 
GeneralRe: KeyPress ASCII/Form Container questions... Pin
S. Senthil Kumar27-Feb-05 9:01
S. Senthil Kumar27-Feb-05 9:01 
GeneralRe: KeyPress ASCII/Form Container questions... Pin
new_phoenix27-Feb-05 9:53
new_phoenix27-Feb-05 9:53 
GeneralRe: KeyPress ASCII/Form Container questions... Pin
Dennis C. Dietrich27-Feb-05 9:03
Dennis C. Dietrich27-Feb-05 9:03 
new_phoenix wrote:
I would like my application to utilize some keyboard shortcuts like the UP ARROW, DOWN ARROW, LEFT ARROW, RIGHT ARROW, TAB KEY, and SHIFT KEY. I would like to implement them into a KEYPRESS event at the form level but I do not know what the ASCII collating sequence is to represent them in the KEYPRESS event.

Not all of the keys you mentioned have a corresponding ASCII Character Code[^]. Therefore I suggest you use the Control.KeyDown Event[^] instead. You can find out which key has been pressed by checking the KeyEventArgs.KeyCode Property[^]. For example:
private void Form1_KeyUp(object sender, System.Windows.Forms.KeyEventArgs e)
{
  if (e.KeyCode == Keys.PageUp)
    MessageBox.Show("PageUp pressed");
}

new_phoenix wrote:
I would like my application to have the forms incorporated inside the main form and not as separate forms all over the screen. When the main form moves, I would like the children forms to be moved as well, and when the main form minimizes, I would like the child form to be minimized INSIDE of the main form rather than inside of the windows minimization bar at the bottom of the screen.

This is called MDI application (see Multiple document interface[^]). You can find a lot of information about how to create MDI applications on MSDN (see Multiple-Document Interface (MDI) Applications[^]).

Best regards
Dennis
GeneralRe: KeyPress ASCII/Form Container questions... Pin
new_phoenix27-Feb-05 9:58
new_phoenix27-Feb-05 9:58 
GeneralRe: KeyPress ASCII/Form Container questions... Pin
Dennis C. Dietrich27-Feb-05 10:49
Dennis C. Dietrich27-Feb-05 10:49 
GeneralRe: KeyPress ASCII/Form Container questions... Pin
new_phoenix27-Feb-05 11:21
new_phoenix27-Feb-05 11:21 
GeneralRe: KeyPress ASCII/Form Container questions... Pin
S. Senthil Kumar27-Feb-05 11:53
S. Senthil Kumar27-Feb-05 11:53 
GeneralAccess Registry files Pin
Anthony Mushrow27-Feb-05 7:09
professionalAnthony Mushrow27-Feb-05 7:09 
GeneralRe: Access Registry files Pin
Dennis C. Dietrich27-Feb-05 7:36
Dennis C. Dietrich27-Feb-05 7:36 
GeneralContext menu in Word using C# Pin
User 4886927-Feb-05 6:00
User 4886927-Feb-05 6:00 
Generalmultiline programmatically formatting text Pin
Pyro Joe27-Feb-05 5:15
Pyro Joe27-Feb-05 5:15 
GeneralRe: multiline programmatically formatting text Pin
Heath Stewart27-Feb-05 5:45
protectorHeath Stewart27-Feb-05 5:45 
GeneralRe: multiline programmatically formatting text Pin
Pyro Joe27-Feb-05 6:19
Pyro Joe27-Feb-05 6:19 
GeneralRe: multiline programmatically formatting text Pin
Pyro Joe27-Feb-05 6:36
Pyro Joe27-Feb-05 6:36 
GeneralRe: multiline programmatically formatting text Pin
S. Senthil Kumar27-Feb-05 7:13
S. Senthil Kumar27-Feb-05 7:13 
QuestionSystem Timer? Pin
Azel Low27-Feb-05 4:11
Azel Low27-Feb-05 4:11 
AnswerRe: System Timer? Pin
Heath Stewart27-Feb-05 4:20
protectorHeath Stewart27-Feb-05 4:20 
Generallarge font and tabcontrol issue Pin
Aviv Halperin27-Feb-05 2:44
Aviv Halperin27-Feb-05 2:44 
GeneralRe: large font and tabcontrol issue Pin
Heath Stewart27-Feb-05 4:53
protectorHeath Stewart27-Feb-05 4:53 
GeneralRe: large font and tabcontrol issue Pin
Aviv Halperin27-Feb-05 5:36
Aviv Halperin27-Feb-05 5:36 

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.