Click here to Skip to main content
15,909,205 members
Home / Discussions / C#
   

C#

 
AnswerRe: Password Filter in C# Pin
Not Active20-Jul-06 4:58
mentorNot Active20-Jul-06 4:58 
GeneralRe: Password Filter in C# Pin
b33rdy20-Jul-06 5:06
b33rdy20-Jul-06 5:06 
GeneralRe: Password Filter in C# Pin
Not Active20-Jul-06 5:43
mentorNot Active20-Jul-06 5:43 
QuestionAxWebBrowser - Prevent JavaScript alert() Pin
GhoulLord20-Jul-06 4:08
GhoulLord20-Jul-06 4:08 
AnswerRe: AxWebBrowser - Prevent JavaScript alert() Pin
Douglas Troy20-Jul-06 7:07
Douglas Troy20-Jul-06 7:07 
GeneralRe: AxWebBrowser - Prevent JavaScript alert() Pin
GhoulLord20-Jul-06 7:56
GhoulLord20-Jul-06 7:56 
GeneralRe: AxWebBrowser - Prevent JavaScript alert() Pin
Douglas Troy21-Jul-06 10:12
Douglas Troy21-Jul-06 10:12 
QuestionProblem when adding to a SplitContainer Pin
mew_lobo20-Jul-06 4:08
mew_lobo20-Jul-06 4:08 
Hi,

I'm trying to create a MDI window which has a SplitContainer, on the left SplitterPanel a treeview and when a node is double clicked a Form should open in the right SplitterPanel. I'm trying to make the Form a child of the MDI Window and also display it within the right SplitterPanel. The problem is that, when I double click the TreeView node, the Form which is added to the right Splitter Panel is not added as a child of the MDI and it also does not have focus. I can move the Form window and access its controls, but it does not retain focus. This is the code I used to add the Form ( done within the Constructor)

// g_mdiform is a instance of the MDI window
// g_mdiform.WorkingPanel returns the right SplitterPanel
this.MdiParent = g_mdiform;
g_mdiform.WorkingPanel.Controls.Add(this);

I tried the following code within the Mdi Window class as a test.

Form frm = new Form();
frm.SetBounds(100, 20, 100, 100);
frm.MdiParent = this;
splMDIPane.Panel2.Controls.Add(frm);
frm.Show();

The above problem still exists.... If anyone knows how I can resolve this, please let me know...

Thanks


Mahesh
AnswerRe: Problem when adding to a SplitContainer Pin
Andrew Lygin20-Jul-06 7:33
Andrew Lygin20-Jul-06 7:33 
GeneralRe: Problem when adding to a SplitContainer Pin
mew_lobo23-Jul-06 22:02
mew_lobo23-Jul-06 22:02 
QuestionC# office integration Pin
chandler8320-Jul-06 3:41
chandler8320-Jul-06 3:41 
AnswerRe: C# office integration Pin
Dustin Metzgar20-Jul-06 4:31
Dustin Metzgar20-Jul-06 4:31 
AnswerRe: C# office integration Pin
Drew McGhie20-Jul-06 4:42
Drew McGhie20-Jul-06 4:42 
AnswerRe: C# office integration Pin
Andrew Rissing20-Jul-06 6:21
Andrew Rissing20-Jul-06 6:21 
QuestionSink?? Pin
joshp121720-Jul-06 3:31
joshp121720-Jul-06 3:31 
AnswerA Sink captures events Pin
Ennis Ray Lynch, Jr.20-Jul-06 3:46
Ennis Ray Lynch, Jr.20-Jul-06 3:46 
Question"What's this" Help Pin
trupci20-Jul-06 3:29
trupci20-Jul-06 3:29 
AnswerRe: Record Sound Pin
Corinna John20-Jul-06 3:15
Corinna John20-Jul-06 3:15 
QuestionGreyscale an Image the easy way... Pin
matthias s.20-Jul-06 2:35
matthias s.20-Jul-06 2:35 
AnswerRe: Greyscale an Image the easy way... Pin
BigAndy20-Jul-06 2:57
BigAndy20-Jul-06 2:57 
GeneralRe: Greyscale an Image the easy way... Pin
matthias s.20-Jul-06 3:34
matthias s.20-Jul-06 3:34 
GeneralBitmap is an Image object Pin
Ennis Ray Lynch, Jr.20-Jul-06 3:42
Ennis Ray Lynch, Jr.20-Jul-06 3:42 
GeneralRe: Greyscale an Image the easy way... Pin
BigAndy20-Jul-06 3:47
BigAndy20-Jul-06 3:47 
GeneralRe: Greyscale an Image the easy way... Pin
matthias s.20-Jul-06 3:53
matthias s.20-Jul-06 3:53 
AnswerIm not an imaging expert Pin
Ennis Ray Lynch, Jr.20-Jul-06 3:09
Ennis Ray Lynch, Jr.20-Jul-06 3:09 

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.