Click here to Skip to main content
15,921,941 members
Home / Discussions / C#
   

C#

 
GeneralRe: Resource files Pin
Kant30-Apr-03 10:27
Kant30-Apr-03 10:27 
QuestionTrying access Browser of NewWindow ? Pin
Mike Keith30-Apr-03 8:18
Mike Keith30-Apr-03 8:18 
AnswerRe: Trying access Browser of NewWindow ? Pin
Stephane Rodriguez.30-Apr-03 9:09
Stephane Rodriguez.30-Apr-03 9:09 
GeneralRe: Trying access Browser of NewWindow ? Pin
Mike Keith1-May-03 7:28
Mike Keith1-May-03 7:28 
Generalappend RTF text Pin
Manish K. Agarwal30-Apr-03 7:05
Manish K. Agarwal30-Apr-03 7:05 
GeneralRe: append RTF text Pin
J. Dunlap30-Apr-03 8:25
J. Dunlap30-Apr-03 8:25 
GeneralRe: append RTF text Pin
Manish K. Agarwal30-Apr-03 17:43
Manish K. Agarwal30-Apr-03 17:43 
GeneralWindow Maximize Problem Pin
Amauw Scritz30-Apr-03 7:02
Amauw Scritz30-Apr-03 7:02 
Hi !


I've created my custom browser using the AxSHDocVw.AxWebBrowser

The object created is called with in a form that I developed.
Now when I maximize the parent window the child window ( the AxWebBrowser )
is not maximized with it.

I've used the following piece of code to handle the problem bu tit doesn't seem to work.

this.myBrowserInstance = new AxSHDocVw.AxWebBrowser();

InitializeComponent()
{
...
this.MaximizedBoundsChanged += new System.EventHandler(this.Form1_Maximize);
...
}

private void Form1_Maximize(object sender, System.EventArgs e)
{
...
System.Drawing.Size sizeOfBrowser = new System.Drawing.Size
(this.MaximizedBounds.Width - 10, this.MaximizedBounds.Height - 10);

myBrowserInstance.ClientSize= sizeOfBrowser;
...
}

Please help !

Thanx in Advance !!


Frown | :( ((Cry | :((
GeneralRe: Window Maximize Problem Pin
Stephane Rodriguez.30-Apr-03 9:18
Stephane Rodriguez.30-Apr-03 9:18 
GeneralRe: Window Maximize Problem Pin
Amauw Scritz2-May-03 20:14
Amauw Scritz2-May-03 20:14 
Generalref string Pin
Le centriste30-Apr-03 6:00
Le centriste30-Apr-03 6:00 
GeneralRe: ref string Pin
Daniel Turini30-Apr-03 6:38
Daniel Turini30-Apr-03 6:38 
GeneralRe: ref string Pin
Le centriste30-Apr-03 9:13
Le centriste30-Apr-03 9:13 
GeneralMaking a file writable.. Pin
Le centriste30-Apr-03 5:55
Le centriste30-Apr-03 5:55 
GeneralSolved Pin
Le centriste30-Apr-03 9:14
Le centriste30-Apr-03 9:14 
GeneralRe: Solved Pin
kman29-May-03 9:50
kman29-May-03 9:50 
GeneralSerious MDI frusteration Pin
RB@Emphasys30-Apr-03 5:40
RB@Emphasys30-Apr-03 5:40 
GeneralRe: Serious MDI frusteration Pin
Daniel Turini30-Apr-03 5:48
Daniel Turini30-Apr-03 5:48 
GeneralRe: Serious MDI frusteration Pin
RB@Emphasys30-Apr-03 6:41
RB@Emphasys30-Apr-03 6:41 
GeneralRe: Serious MDI frusteration Pin
RB@Emphasys30-Apr-03 8:04
RB@Emphasys30-Apr-03 8:04 
QuestionGetting version number of browser control process? Pin
LongRange.Shooter30-Apr-03 4:29
LongRange.Shooter30-Apr-03 4:29 
AnswerRe: Getting version number of browser control process? Pin
Stephane Rodriguez.30-Apr-03 4:50
Stephane Rodriguez.30-Apr-03 4:50 
GeneralAsserts vs. ArgumentExceptions Pin
Alvaro Mendez30-Apr-03 4:02
Alvaro Mendez30-Apr-03 4:02 
GeneralRe: Asserts vs. ArgumentExceptions Pin
perlmunger30-Apr-03 4:48
perlmunger30-Apr-03 4:48 
GeneralRe: Asserts vs. ArgumentExceptions Pin
Alvaro Mendez30-Apr-03 5:32
Alvaro Mendez30-Apr-03 5:32 

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.