Resizing a form

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Søren Reinke

    Resizing a form

    Hi there

    I have a little problem.

    How do i make sure that a graph is not redrawn while the form with the graph
    is being resized ?
    I have tried to add a mouse up/down event handler on the form1, but it
    dosn't get called when resizing :(

    I would like to be able to resize my form, but also make sure the graph is
    only redrawn when the user is not resizing any more.

    Hope my question make sense :)

    --
    Søren Reinke
    www.Xray-Mag.com/ - Your free diving magazin on the net.
    Current issue Diving in North America, 99 pages.
    Download it in PDF


  • Frans Bouma [C# MVP]

    #2
    Re: Resizing a form

    Søren Reinke wrote:[color=blue]
    > Hi there
    >
    > I have a little problem.
    >
    > How do i make sure that a graph is not redrawn while the form with the graph
    > is being resized ?
    > I have tried to add a mouse up/down event handler on the form1, but it
    > dosn't get called when resizing :(
    >
    > I would like to be able to resize my form, but also make sure the graph is
    > only redrawn when the user is not resizing any more.
    >
    > Hope my question make sense :)[/color]

    First, override OnResize() and the first time you enter that method,
    you set a flag. You also call this.SuspendLay out();, if the flag was
    wasn't set already.

    then, you override OnSizeChanged. In there, you reset the flag and call
    this.ResumeLayo ut(false);. Then draw your graph.

    Frans

    --
    ------------------------------------------------------------------------
    Get LLBLGen Pro, productive O/R mapping for .NET: http://www.llblgen.com
    My .NET blog: http://weblogs.asp.net/fbouma
    Microsoft MVP (C#)
    ------------------------------------------------------------------------

    Comment

    • Alan Pretre

      #3
      Re: Resizing a form

      "Søren Reinke" <soren@reinke.f jernmig.dk> wrote in message
      news:d5sptl$13q a$1@newsbin.cyb ercity.dk...[color=blue]
      > How do i make sure that a graph is not redrawn while the form with the
      > graph is being resized ?
      >
      > I would like to be able to resize my form, but also make sure the graph is
      > only redrawn when the user is not resizing any more.[/color]

      It depends on the control. Sometimes there is a BeginUpdate/EndUpdate
      mechanism, other times you have to call the Win32 ValidateRect() function,
      passing in the control's window handle and client area.

      -- Alan


      Comment

      • Søren Reinke

        #4
        Re: Resizing a form

        >>[color=blue][color=green]
        >> I would like to be able to resize my form, but also make sure the graph
        >> is only redrawn when the user is not resizing any more.
        >>
        >> Hope my question make sense :)[/color]
        >
        > First, override OnResize() and the first time you enter that method, you
        > set a flag. You also call this.SuspendLay out();, if the flag was wasn't
        > set already.
        >
        > then, you override OnSizeChanged. In there, you reset the flag and call
        > this.ResumeLayo ut(false);. Then draw your graph.
        >
        > Frans[/color]


        Hi Frans

        Thanks for the tip, i'll try it :)

        --
        Søren Reinke
        www.Xray-Mag.com/ - Your free diving magazin on the net.
        Current issue Diving in North America, 99 pages.
        Download it in PDF


        Comment

        • Rachel Suddeth

          #5
          Re: Resizing a form

          I have a similar problem, but I don't see how this will work. Both Resize
          and SizeChanged events get called multiple times during a single resizing
          drag.

          -Rachel

          "Frans Bouma [C# MVP]" <perseus.usenet NOSPAM@xs4all.n l> wrote in message
          news:%23BurXniV FHA.3076@TK2MSF TNGP12.phx.gbl. ..[color=blue]
          > Søren Reinke wrote:[color=green]
          > > Hi there
          > >
          > > I have a little problem.
          > >
          > > How do i make sure that a graph is not redrawn while the form with the[/color][/color]
          graph[color=blue][color=green]
          > > is being resized ?
          > > I have tried to add a mouse up/down event handler on the form1, but it
          > > dosn't get called when resizing :(
          > >
          > > I would like to be able to resize my form, but also make sure the graph[/color][/color]
          is[color=blue][color=green]
          > > only redrawn when the user is not resizing any more.
          > >
          > > Hope my question make sense :)[/color]
          >
          > First, override OnResize() and the first time you enter that method,
          > you set a flag. You also call this.SuspendLay out();, if the flag was
          > wasn't set already.
          >
          > then, you override OnSizeChanged. In there, you reset the flag and call
          > this.ResumeLayo ut(false);. Then draw your graph.
          >
          > Frans
          >
          > --
          > ------------------------------------------------------------------------
          > Get LLBLGen Pro, productive O/R mapping for .NET: http://www.llblgen.com
          > My .NET blog: http://weblogs.asp.net/fbouma
          > Microsoft MVP (C#)
          > ------------------------------------------------------------------------[/color]


          Comment

          • Frans Bouma [C# MVP]

            #6
            Re: Resizing a form

            Rachel Suddeth wrote:[color=blue]
            > I have a similar problem, but I don't see how this will work. Both Resize
            > and SizeChanged events get called multiple times during a single resizing
            > drag.[/color]

            Hmm. If SizeChanged is called multiple times, it indeed has a problem.
            It then gets hacky, you then have to set a timer or something :X...

            FB
            [color=blue]
            >
            > -Rachel
            >
            > "Frans Bouma [C# MVP]" <perseus.usenet NOSPAM@xs4all.n l> wrote in message
            > news:%23BurXniV FHA.3076@TK2MSF TNGP12.phx.gbl. ..
            >[color=green]
            >>Søren Reinke wrote:
            >>[color=darkred]
            >>>Hi there
            >>>
            >>>I have a little problem.
            >>>
            >>>How do i make sure that a graph is not redrawn while the form with the[/color][/color]
            >
            > graph
            >[color=green][color=darkred]
            >>>is being resized ?
            >>>I have tried to add a mouse up/down event handler on the form1, but it
            >>>dosn't get called when resizing :(
            >>>
            >>>I would like to be able to resize my form, but also make sure the graph[/color][/color]
            >
            > is
            >[color=green][color=darkred]
            >>>only redrawn when the user is not resizing any more.
            >>>
            >>>Hope my question make sense :)[/color]
            >>
            >>First, override OnResize() and the first time you enter that method,
            >>you set a flag. You also call this.SuspendLay out();, if the flag was
            >>wasn't set already.
            >>
            >>then, you override OnSizeChanged. In there, you reset the flag and call
            >>this.ResumeLa yout(false);. Then draw your graph.[/color][/color]


            --
            ------------------------------------------------------------------------
            Get LLBLGen Pro, productive O/R mapping for .NET: http://www.llblgen.com
            My .NET blog: http://weblogs.asp.net/fbouma
            Microsoft MVP (C#)
            ------------------------------------------------------------------------

            Comment

            • Mick Doherty

              #7
              Re: Resizing a form

              The following link gives a VB solution, but it should be simple enough to
              convert to C#



              --
              Mick Doherty
              Dotnetrix offers Nothing. Standard and Premium versions available.



              "Frans Bouma [C# MVP]" <perseus.usenet NOSPAM@xs4all.n l> wrote in message
              news:%23MbnG4sV FHA.2196@TK2MSF TNGP09.phx.gbl. ..[color=blue]
              > Rachel Suddeth wrote:[color=green]
              >> I have a similar problem, but I don't see how this will work. Both Resize
              >> and SizeChanged events get called multiple times during a single resizing
              >> drag.[/color]
              >
              > Hmm. If SizeChanged is called multiple times, it indeed has a problem. It
              > then gets hacky, you then have to set a timer or something :X...
              >
              > FB
              >[color=green]
              >>
              >> -Rachel
              >>
              >> "Frans Bouma [C# MVP]" <perseus.usenet NOSPAM@xs4all.n l> wrote in message
              >> news:%23BurXniV FHA.3076@TK2MSF TNGP12.phx.gbl. ..
              >>[color=darkred]
              >>>Søren Reinke wrote:
              >>>
              >>>>Hi there
              >>>>
              >>>>I have a little problem.
              >>>>
              >>>>How do i make sure that a graph is not redrawn while the form with the[/color]
              >>
              >> graph
              >>[color=darkred]
              >>>>is being resized ?
              >>>>I have tried to add a mouse up/down event handler on the form1, but it
              >>>>dosn't get called when resizing :(
              >>>>
              >>>>I would like to be able to resize my form, but also make sure the graph[/color]
              >>
              >> is
              >>[color=darkred]
              >>>>only redrawn when the user is not resizing any more.
              >>>>
              >>>>Hope my question make sense :)
              >>>
              >>>First, override OnResize() and the first time you enter that method,
              >>>you set a flag. You also call this.SuspendLay out();, if the flag was
              >>>wasn't set already.
              >>>
              >>>then, you override OnSizeChanged. In there, you reset the flag and call
              >>>this.ResumeL ayout(false);. Then draw your graph.[/color][/color]
              >
              >
              > --
              > ------------------------------------------------------------------------
              > Get LLBLGen Pro, productive O/R mapping for .NET: http://www.llblgen.com
              > My .NET blog: http://weblogs.asp.net/fbouma
              > Microsoft MVP (C#)
              > ------------------------------------------------------------------------[/color]


              Comment

              • Rachel Suddeth

                #8
                Re: Resizing a form

                Thanks, Mick, looks like that should work.
                BTW, where do you get the constants from (for Windows messages)? You pull
                them from a C++ header file?

                -Rachel

                "Mick Doherty"
                <EXCHANGE#WITH@ AND.REMOVE.SQUA REBRACKETS.[mdaudi100#ntlwo rld.com]> wrote in
                message news:egXPlVtVFH A.3636@TK2MSFTN GP14.phx.gbl...[color=blue]
                > The following link gives a VB solution, but it should be simple enough to
                > convert to C#
                >
                >[/color]
                http://groups.google.co.uk/group/mic...a09c0cf8b9d9ca[color=blue]
                >
                > --
                > Mick Doherty
                > http://dotnetrix.co.uk/nothing.html
                >
                >
                > "Frans Bouma [C# MVP]" <perseus.usenet NOSPAM@xs4all.n l> wrote in message
                > news:%23MbnG4sV FHA.2196@TK2MSF TNGP09.phx.gbl. ..[color=green]
                > > Rachel Suddeth wrote:[color=darkred]
                > >> I have a similar problem, but I don't see how this will work. Both[/color][/color][/color]
                Resize[color=blue][color=green][color=darkred]
                > >> and SizeChanged events get called multiple times during a single[/color][/color][/color]
                resizing[color=blue][color=green][color=darkred]
                > >> drag.[/color]
                > >
                > > Hmm. If SizeChanged is called multiple times, it indeed has a problem.[/color][/color]
                It[color=blue][color=green]
                > > then gets hacky, you then have to set a timer or something :X...
                > >
                > > FB
                > >[color=darkred]
                > >>
                > >> -Rachel
                > >>
                > >> "Frans Bouma [C# MVP]" <perseus.usenet NOSPAM@xs4all.n l> wrote in[/color][/color][/color]
                message[color=blue][color=green][color=darkred]
                > >> news:%23BurXniV FHA.3076@TK2MSF TNGP12.phx.gbl. ..
                > >>
                > >>>Søren Reinke wrote:
                > >>>
                > >>>>Hi there
                > >>>>
                > >>>>I have a little problem.
                > >>>>
                > >>>>How do i make sure that a graph is not redrawn while the form with the
                > >>
                > >> graph
                > >>
                > >>>>is being resized ?
                > >>>>I have tried to add a mouse up/down event handler on the form1, but it
                > >>>>dosn't get called when resizing :(
                > >>>>
                > >>>>I would like to be able to resize my form, but also make sure the[/color][/color][/color]
                graph[color=blue][color=green][color=darkred]
                > >>
                > >> is
                > >>
                > >>>>only redrawn when the user is not resizing any more.
                > >>>>
                > >>>>Hope my question make sense :)
                > >>>
                > >>>First, override OnResize() and the first time you enter that method,
                > >>>you set a flag. You also call this.SuspendLay out();, if the flag was
                > >>>wasn't set already.
                > >>>
                > >>>then, you override OnSizeChanged. In there, you reset the flag and call
                > >>>this.ResumeL ayout(false);. Then draw your graph.[/color]
                > >
                > >
                > > --
                > > ------------------------------------------------------------------------
                > > Get LLBLGen Pro, productive O/R mapping for .NET: http://www.llblgen.com
                > > My .NET blog: http://weblogs.asp.net/fbouma
                > > Microsoft MVP (C#)
                > > ------------------------------------------------------------------------[/color]
                >
                >[/color]


                Comment

                • Mick Doherty

                  #9
                  Re: Resizing a form

                  Depends on my mood. Sometimes I look them up (winuser.h in this case),
                  sometimes I google and sometimes I just put Console.WriteLi ne(m.ToString() );
                  in the WndProc() method. Usually the latter since I'm often checking to see
                  what messages are being sent. Then it's off to the MSDN documentation to
                  find out what info I can read/change for the message.

                  --
                  Mick Doherty
                  Dotnetrix offers Nothing. Standard and Premium versions available.



                  "Rachel Suddeth" <rachel@bldhoun d.com> wrote in message
                  news:OSqy1avVFH A.3760@TK2MSFTN GP15.phx.gbl...[color=blue]
                  > Thanks, Mick, looks like that should work.
                  > BTW, where do you get the constants from (for Windows messages)? You pull
                  > them from a C++ header file?
                  >
                  > -Rachel
                  >
                  > "Mick Doherty"
                  > <EXCHANGE#WITH@ AND.REMOVE.SQUA REBRACKETS.[mdaudi100#ntlwo rld.com]> wrote
                  > in
                  > message news:egXPlVtVFH A.3636@TK2MSFTN GP14.phx.gbl...[color=green]
                  >> The following link gives a VB solution, but it should be simple enough to
                  >> convert to C#
                  >>
                  >>[/color]
                  > http://groups.google.co.uk/group/mic...a09c0cf8b9d9ca[color=green]
                  >>
                  >> --
                  >> Mick Doherty
                  >> http://dotnetrix.co.uk/nothing.html
                  >>
                  >>
                  >> "Frans Bouma [C# MVP]" <perseus.usenet NOSPAM@xs4all.n l> wrote in message
                  >> news:%23MbnG4sV FHA.2196@TK2MSF TNGP09.phx.gbl. ..[color=darkred]
                  >> > Rachel Suddeth wrote:
                  >> >> I have a similar problem, but I don't see how this will work. Both[/color][/color]
                  > Resize[color=green][color=darkred]
                  >> >> and SizeChanged events get called multiple times during a single[/color][/color]
                  > resizing[color=green][color=darkred]
                  >> >> drag.
                  >> >
                  >> > Hmm. If SizeChanged is called multiple times, it indeed has a problem.[/color][/color]
                  > It[color=green][color=darkred]
                  >> > then gets hacky, you then have to set a timer or something :X...
                  >> >
                  >> > FB
                  >> >
                  >> >>
                  >> >> -Rachel
                  >> >>
                  >> >> "Frans Bouma [C# MVP]" <perseus.usenet NOSPAM@xs4all.n l> wrote in[/color][/color]
                  > message[color=green][color=darkred]
                  >> >> news:%23BurXniV FHA.3076@TK2MSF TNGP12.phx.gbl. ..
                  >> >>
                  >> >>>Søren Reinke wrote:
                  >> >>>
                  >> >>>>Hi there
                  >> >>>>
                  >> >>>>I have a little problem.
                  >> >>>>
                  >> >>>>How do i make sure that a graph is not redrawn while the form with
                  >> >>>>the
                  >> >>
                  >> >> graph
                  >> >>
                  >> >>>>is being resized ?
                  >> >>>>I have tried to add a mouse up/down event handler on the form1, but
                  >> >>>>it
                  >> >>>>dosn't get called when resizing :(
                  >> >>>>
                  >> >>>>I would like to be able to resize my form, but also make sure the[/color][/color]
                  > graph[color=green][color=darkred]
                  >> >>
                  >> >> is
                  >> >>
                  >> >>>>only redrawn when the user is not resizing any more.
                  >> >>>>
                  >> >>>>Hope my question make sense :)
                  >> >>>
                  >> >>>First, override OnResize() and the first time you enter that method,
                  >> >>>you set a flag. You also call this.SuspendLay out();, if the flag was
                  >> >>>wasn't set already.
                  >> >>>
                  >> >>>then, you override OnSizeChanged. In there, you reset the flag and
                  >> >>>call
                  >> >>>this.ResumeL ayout(false);. Then draw your graph.
                  >> >
                  >> >
                  >> > --
                  >> > ------------------------------------------------------------------------
                  >> > Get LLBLGen Pro, productive O/R mapping for .NET:
                  >> > http://www.llblgen.com
                  >> > My .NET blog: http://weblogs.asp.net/fbouma
                  >> > Microsoft MVP (C#)
                  >> > ------------------------------------------------------------------------[/color]
                  >>
                  >>[/color]
                  >
                  >[/color]


                  Comment

                  • Rachel Suddeth

                    #10
                    Re: Resizing a form

                    All right, I don't know VB, and I've never needed to do masking with C#, so
                    I have a couple questions about how to translate the WndProc in your
                    example. I think the "Static Sizemode" inside the method would have to be
                    replaces by a class level variable in C#? Also not quite sure about the
                    statement to set SizeMode?

                    ----
                    private bool bSizeMode = false;
                    protected override void WndProc(ref Message m)
                    {
                    switch ( m.Msg )
                    {
                    case WM_SIZING:
                    // Resize event already provided
                    break;
                    case WM_SYSCOMMAND:
                    bSizeMode = ((m.WParam.ToIn t32() & 0xFFF0) == SC_SIZE);
                    break;
                    case WM_ENTERSIZEMOV E:
                    if ( bSizeMode )
                    {
                    OnBeginResize(E ventArgs.Empty) ;
                    }
                    break;
                    case WM_EXITSIZEMOVE :
                    {
                    if ( bSizeMode )
                    {
                    OnEndResize(Eve ntArgs.Empty);
                    }
                    break;
                    }

                    } // end switch
                    base.WndProc (ref m);
                    }
                    ----

                    Here is the VB code "copied" above
                    ------
                    Protected Overrides Sub WndProc(ByRef m As System.Windows. Forms.Message)
                    Static SizeMode As Boolean = False
                    Select Case m.Msg
                    Case WM_SIZING
                    'Already have a Resize Method
                    Case WM_SYSCOMMAND
                    SizeMode = ((m.WParam.ToIn t32 And &HFFF0) = SC_SIZE)
                    Case WM_ENTERSIZEMOV E
                    If SizeMode Then
                    OnBeginResize(E ventArgs.Empty)
                    End If
                    Case WM_EXITSIZEMOVE
                    If SizeMode Then
                    OnEndResize(Eve ntArgs.Empty)
                    End If
                    Case Else
                    End Select
                    MyBase.WndProc( m)
                    End Sub

                    ---


                    Thanks,

                    Rachel



                    "Mick Doherty"
                    <EXCHANGE#WITH@ AND.REMOVE.SQUA REBRACKETS.[mdaudi100#ntlwo rld.com]> wrote in
                    message news:egXPlVtVFH A.3636@TK2MSFTN GP14.phx.gbl...[color=blue]
                    > The following link gives a VB solution, but it should be simple enough to
                    > convert to C#
                    >
                    >[/color]
                    http://groups.google.co.uk/group/mic...a09c0cf8b9d9ca[color=blue]
                    >
                    > --
                    > Mick Doherty
                    > http://dotnetrix.co.uk/nothing.html
                    >
                    >[/color]


                    Comment

                    • Rachel Suddeth

                      #11
                      Re: Resizing a form

                      Nevermind, it's working perfectly so it must be right :-)
                      Here is the whole business in C#, in case that helps anyone...

                      ---
                      // Variables having to do with the resizing code follow
                      protected bool bSizeMode = false;

                      /// <summary>
                      /// Windows Constants for WndProc call in BeginResize/EndResize events
                      /// </summary>
                      protected const int WM_SIZING = 0x214,
                      WM_ENTERSIZEMOV E = 0x231,
                      WM_EXITSIZEMOVE = 0x232,
                      WM_SYSCOMMAND = 0x112,
                      SC_SIZE = 0xF000;

                      /// <summary>
                      /// Fires once at the beginning of a resizing drag.
                      /// </summary>
                      public event EventHandler BeginResize;

                      /// <summary>
                      /// Fires once at the end of a resizing drag.
                      /// </summary>
                      public event EventHandler EndResize;
                      /// <summary>
                      /// Process Windows messages (in this case to provide Begin/EndResize events
                      /// </summary>
                      /// <param name="m"></param>
                      protected override void WndProc(ref Message m)
                      {
                      switch ( m.Msg )
                      {
                      case WM_SIZING:
                      // Resize event already provided
                      break;
                      case WM_SYSCOMMAND:
                      bSizeMode = ((m.WParam.ToIn t32() & 0xFFF0) == SC_SIZE);
                      break;
                      case WM_ENTERSIZEMOV E:
                      if ( bSizeMode )
                      {
                      OnBeginResize(E ventArgs.Empty) ;
                      }
                      break;
                      case WM_EXITSIZEMOVE :
                      {
                      if ( bSizeMode )
                      {
                      OnEndResize(Eve ntArgs.Empty);
                      }
                      break;
                      }

                      } // end switch
                      base.WndProc (ref m);
                      }


                      /// <summary>
                      /// Raise BeginResize event
                      /// </summary>
                      /// <param name="e"></param>
                      protected virtual void OnBeginResize(S ystem.EventArgs e)
                      {
                      if ( BeginResize != null )
                      BeginResize(thi s, e);
                      }

                      /// <summary>
                      /// Raise EndResize event
                      /// </summary>
                      /// <param name="e"></param>
                      protected virtual void OnEndResize(Sys tem.EventArgs e)
                      {
                      if ( EndResize != null )
                      EndResize(this, e);
                      }
                      ---


                      Comment

                      • Mick Doherty

                        #12
                        Re: Resizing a form

                        You're right that VB's local Static variable must be declared as a Class
                        level variable in C#.

                        ....and the translation looks good to me :-)

                        --
                        Mick Doherty
                        Dotnetrix offers Nothing. Standard and Premium versions available.



                        "Rachel Suddeth" <rachel@bldhoun d.com> wrote in message
                        news:edDrXywVFH A.616@TK2MSFTNG P12.phx.gbl...[color=blue]
                        > Nevermind, it's working perfectly so it must be right :-)
                        > Here is the whole business in C#, in case that helps anyone...
                        >
                        > ---
                        > // Variables having to do with the resizing code follow
                        > protected bool bSizeMode = false;
                        >
                        > /// <summary>
                        > /// Windows Constants for WndProc call in BeginResize/EndResize events
                        > /// </summary>
                        > protected const int WM_SIZING = 0x214,
                        > WM_ENTERSIZEMOV E = 0x231,
                        > WM_EXITSIZEMOVE = 0x232,
                        > WM_SYSCOMMAND = 0x112,
                        > SC_SIZE = 0xF000;
                        >
                        > /// <summary>
                        > /// Fires once at the beginning of a resizing drag.
                        > /// </summary>
                        > public event EventHandler BeginResize;
                        >
                        > /// <summary>
                        > /// Fires once at the end of a resizing drag.
                        > /// </summary>
                        > public event EventHandler EndResize;
                        > /// <summary>
                        > /// Process Windows messages (in this case to provide Begin/EndResize
                        > events
                        > /// </summary>
                        > /// <param name="m"></param>
                        > protected override void WndProc(ref Message m)
                        > {
                        > switch ( m.Msg )
                        > {
                        > case WM_SIZING:
                        > // Resize event already provided
                        > break;
                        > case WM_SYSCOMMAND:
                        > bSizeMode = ((m.WParam.ToIn t32() & 0xFFF0) == SC_SIZE);
                        > break;
                        > case WM_ENTERSIZEMOV E:
                        > if ( bSizeMode )
                        > {
                        > OnBeginResize(E ventArgs.Empty) ;
                        > }
                        > break;
                        > case WM_EXITSIZEMOVE :
                        > {
                        > if ( bSizeMode )
                        > {
                        > OnEndResize(Eve ntArgs.Empty);
                        > }
                        > break;
                        > }
                        >
                        > } // end switch
                        > base.WndProc (ref m);
                        > }
                        >
                        >
                        > /// <summary>
                        > /// Raise BeginResize event
                        > /// </summary>
                        > /// <param name="e"></param>
                        > protected virtual void OnBeginResize(S ystem.EventArgs e)
                        > {
                        > if ( BeginResize != null )
                        > BeginResize(thi s, e);
                        > }
                        >
                        > /// <summary>
                        > /// Raise EndResize event
                        > /// </summary>
                        > /// <param name="e"></param>
                        > protected virtual void OnEndResize(Sys tem.EventArgs e)
                        > {
                        > if ( EndResize != null )
                        > EndResize(this, e);
                        > }
                        > ---
                        >
                        >[/color]


                        Comment

                        • Søren Reinke

                          #13
                          Re: Resizing a form

                          > Here is the whole business in C#, in case that helps anyone...[color=blue]
                          >
                          > ---[/color]

                          Thanks Rachel

                          I'll try to implement it soon.

                          --
                          Søren Reinke
                          www.Xray-Mag.com/ - Your free diving magazin on the net.
                          Current issue Diving in North America, 99 pages.
                          Download it in PDF


                          Comment

                          Working...