Click here to Skip to main content
15,914,111 members
Home / Discussions / C#
   

C#

 
AnswerRe: Sounds with c# Pin
Christian Graus8-Jan-07 9:56
protectorChristian Graus8-Jan-07 9:56 
AnswerRe: Sounds with c# Pin
led mike8-Jan-07 10:05
led mike8-Jan-07 10:05 
GeneralRe: Sounds with c# Pin
sno-18-Jan-07 10:13
sno-18-Jan-07 10:13 
AnswerRe: Sounds with c# Pin
Judah Gabriel Himango8-Jan-07 10:12
sponsorJudah Gabriel Himango8-Jan-07 10:12 
AnswerRe: Sounds with c# Pin
Luc Pattyn8-Jan-07 10:18
sitebuilderLuc Pattyn8-Jan-07 10:18 
QuestionWindows list dropdown problem Pin
Matthew Cuba8-Jan-07 9:16
Matthew Cuba8-Jan-07 9:16 
AnswerRe: Windows list dropdown problem Pin
Christian Graus8-Jan-07 9:19
protectorChristian Graus8-Jan-07 9:19 
GeneralRe: Windows list dropdown problem Pin
Matthew Cuba8-Jan-07 10:22
Matthew Cuba8-Jan-07 10:22 
Christian Graus wrote:
How do they get into your drop down list to start with ? That's obviously where the problem is.


Well, I believe I just followed the steps outlined in the MS documentation to do this. I set my main form's IsMdiContainer property to true. I added a menustrip via the designer. The entries are added by setting the MdiWindowListItem property of the menuStrip to the desired menu item (In my test case, "windowToolStripMenuItem") from within the designer and then I call the following when I want form2 to show:

form2.MdiParent = this;
form2.Show();

The problem seems to me to be when I handle the FormClosing and set e.Cancel = true. I don't know what is going on behind the scenes to manage the list of windows that show up in the menu. I can call Hide() on form2 from its parent window, form1,and when I use the control to show form2 again it shows up in the window list as I would expect.

Anyway, thanks for the quick response.
Matt
QuestionHow to save page as MHT with ASP/C# Pin
Todd82TA8-Jan-07 9:14
Todd82TA8-Jan-07 9:14 
AnswerRe: How to save page as MHT with ASP/C# Pin
Christian Graus8-Jan-07 9:24
protectorChristian Graus8-Jan-07 9:24 
Question"coselecting" text in a TextBox or RichTextBox Pin
Clive Pottinger8-Jan-07 8:57
Clive Pottinger8-Jan-07 8:57 
AnswerRe: "coselecting" text in a TextBox or RichTextBox Pin
Luc Pattyn8-Jan-07 9:55
sitebuilderLuc Pattyn8-Jan-07 9:55 
QuestionMDI Menustrip not merged (bug?) Pin
AndrusM8-Jan-07 8:56
AndrusM8-Jan-07 8:56 
QuestionRead config file with OpenExeConfiguration? [modified] Pin
Marcus_28-Jan-07 8:12
Marcus_28-Jan-07 8:12 
AnswerRe: Read config file with OpenExeConfiguration? Pin
Mircea Puiu8-Jan-07 23:43
Mircea Puiu8-Jan-07 23:43 
QuestionGraphing in C#, Possible? Pin
gvanto8-Jan-07 8:04
gvanto8-Jan-07 8:04 
AnswerRe: Graphing in C#, Possible? Pin
gnadeem8-Jan-07 8:34
gnadeem8-Jan-07 8:34 
AnswerRe: Graphing in C#, Possible? Pin
Guffa8-Jan-07 8:59
Guffa8-Jan-07 8:59 
GeneralRe: Graphing in C#, Possible? Pin
gvanto8-Jan-07 9:16
gvanto8-Jan-07 9:16 
GeneralRe: Graphing in C#, Possible? Pin
Christian Graus8-Jan-07 9:28
protectorChristian Graus8-Jan-07 9:28 
GeneralRe: Graphing in C#, Possible? Pin
Thomas Stockwell8-Jan-07 9:51
professionalThomas Stockwell8-Jan-07 9:51 
GeneralRe: Graphing in C#, Possible? Pin
gvanto8-Jan-07 10:02
gvanto8-Jan-07 10:02 
GeneralRe: Graphing in C#, Possible? Pin
led mike8-Jan-07 10:13
led mike8-Jan-07 10:13 
GeneralRe: Graphing in C#, Possible? Pin
gvanto8-Jan-07 10:15
gvanto8-Jan-07 10:15 
GeneralRe: Graphing in C#, Possible? Pin
led mike8-Jan-07 10:25
led mike8-Jan-07 10:25 

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.