Click here to Skip to main content
15,896,278 members
Home / Discussions / C#
   

C#

 
GeneralRe: Hotkeys Pin
Tom Clement15-Apr-04 7:51
professionalTom Clement15-Apr-04 7:51 
GeneralRe: Hotkeys Pin
Heath Stewart15-Apr-04 8:41
protectorHeath Stewart15-Apr-04 8:41 
GeneralRe: Hotkeys Pin
Mazdak15-Apr-04 9:24
Mazdak15-Apr-04 9:24 
GeneralRe: Hotkeys Pin
Heath Stewart15-Apr-04 9:25
protectorHeath Stewart15-Apr-04 9:25 
GeneralRe: Hotkeys Pin
rickrf16-Apr-04 4:36
rickrf16-Apr-04 4:36 
GeneralRe: Hotkeys Pin
rickrf16-Apr-04 5:16
rickrf16-Apr-04 5:16 
GeneralRe: Hotkeys Pin
Bee Master16-Apr-04 17:46
Bee Master16-Apr-04 17:46 
QuestionWinForms bug? Pin
Tom Clement15-Apr-04 7:02
professionalTom Clement15-Apr-04 7:02 
I sort of hesitate to say this, but I think we've run across a Winforms bug. I suppose the alternative is that I have a brain bug. Anyway, here's the situation:

Create a trivial application (Form1) with a button that launches a modeless dialog using:

Form2 frm = new Form2();
frm.Owner = this;
frm.Show();

In Form2, a button launches Form3 modally like this:

Form2 frm = new Form3();
frm.ShowDialog();

another button hides Form2 like this:

this.Hide();

Now, if you run the application (Form1), then switch focus to some other application (e.g. Outlook). Then click the button that launches Form2 (modeless), then click the button that launches Form3 (modal). Close Form3, and Hide Form2. Form1 goes into the background and Outlook gets focus.

Does anyone know what underlying mechanism is happening here?
Thanks as always for your help.

Tom Clement
Apptero, Inc.
GeneralC#: Question referring Generics Pin
SJ_Phoenix15-Apr-04 6:46
SJ_Phoenix15-Apr-04 6:46 
GeneralRe: C#: Question referring Generics Pin
Heath Stewart15-Apr-04 6:55
protectorHeath Stewart15-Apr-04 6:55 
GeneralRe: C#: Question referring Generics Pin
Heath Stewart15-Apr-04 7:02
protectorHeath Stewart15-Apr-04 7:02 
GeneralRe: C#: Question referring Generics Pin
SJ_Phoenix15-Apr-04 7:29
SJ_Phoenix15-Apr-04 7:29 
GeneralRe: C#: Question referring Generics Pin
Heath Stewart15-Apr-04 8:35
protectorHeath Stewart15-Apr-04 8:35 
GeneralRe: C#: Question referring Generics Pin
SJ_Phoenix15-Apr-04 9:52
SJ_Phoenix15-Apr-04 9:52 
Generalloading 3d models in opengl Pin
shedid15-Apr-04 6:28
shedid15-Apr-04 6:28 
GeneralRe: loading 3d models in opengl Pin
Judah Gabriel Himango15-Apr-04 7:52
sponsorJudah Gabriel Himango15-Apr-04 7:52 
GeneralRe: loading 3d models in opengl Pin
shedid15-Apr-04 11:00
shedid15-Apr-04 11:00 
GeneralRadio button groups Pin
Talal Sultan15-Apr-04 6:23
Talal Sultan15-Apr-04 6:23 
GeneralRe: Radio button groups Pin
Heath Stewart15-Apr-04 6:31
protectorHeath Stewart15-Apr-04 6:31 
GeneralRe: Radio button groups Pin
Talal Sultan15-Apr-04 6:41
Talal Sultan15-Apr-04 6:41 
GeneralRe: Radio button groups Pin
Talal Sultan15-Apr-04 6:45
Talal Sultan15-Apr-04 6:45 
GeneralRe: Radio button groups Pin
Heath Stewart15-Apr-04 6:48
protectorHeath Stewart15-Apr-04 6:48 
GeneralRe: Radio button groups Pin
Talal Sultan15-Apr-04 6:57
Talal Sultan15-Apr-04 6:57 
GeneralRe: Radio button groups Pin
Eric-Paul16-Apr-04 0:24
Eric-Paul16-Apr-04 0:24 
GeneralMultiple Responses Pin
Anonymous15-Apr-04 4:47
Anonymous15-Apr-04 4:47 

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.