FOR PRO ONLY

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Kate Luu

    #1

    FOR PRO ONLY

    Does any Pro out there know how to create an image or the picturebox in the
    runtime with sizing handle, so the user can size and resize the image or
    picturebox any way they want at runtime. Any help is deeply appreciated.
    Thanks you all in advance...


    Kate


  • Vijaye Raji

    #2
    Re: FOR PRO ONLY

    You need to implement your own sizers - you can subclass
    System.Windows. Forms.PictureBo x and handle the OnPaint to draw your sizers;
    handle the Mouse down/up events to track the sizers and resize during Mouse
    Move.

    "Kate Luu" <cql90@yahoo.co m> wrote in message
    news:OmwaLm0ZDH A.2960@tk2msftn gp13.phx.gbl...[color=blue]
    > Does any Pro out there know how to create an image or the picturebox in[/color]
    the[color=blue]
    > runtime with sizing handle, so the user can size and resize the image or
    > picturebox any way they want at runtime. Any help is deeply appreciated.
    > Thanks you all in advance...
    >
    >
    > Kate
    >
    >[/color]


    Comment

    • Vijaye Raji

      #3
      Re: FOR PRO ONLY

      I don't have sample source but you can find some in



      http://codeguru.com

      - VJ

      "Kate Luu" <cql90@yahoo.co m> wrote in message
      news:%23dctb9Ca DHA.2308@TK2MSF TNGP12.phx.gbl. ..[color=blue]
      > Thanks you very much for your responded, I'm so appreciated. But the thing
      > is, I'm not expert about subclassing control and do some custom drawing.[/color]
      Do[color=blue]
      > you have some sample source code of subclassing window control or you know
      > some source which I can refer to? Once again, Thanks you a lots for your
      > help, have a nice day...
      >
      > Kate Luu
      >
      >
      >
      > "Vijaye Raji" <$$vganesh@hotm ail.com> wrote in message
      > news:ehEHdL9ZDH A.2932@tk2msftn gp13.phx.gbl...[color=green]
      > > You need to implement your own sizers - you can subclass
      > > System.Windows. Forms.PictureBo x and handle the OnPaint to draw your[/color]
      > sizers;[color=green]
      > > handle the Mouse down/up events to track the sizers and resize during[/color]
      > Mouse[color=green]
      > > Move.
      > >
      > > "Kate Luu" <cql90@yahoo.co m> wrote in message
      > > news:OmwaLm0ZDH A.2960@tk2msftn gp13.phx.gbl...[color=darkred]
      > > > Does any Pro out there know how to create an image or the picturebox[/color][/color][/color]
      in[color=blue][color=green]
      > > the[color=darkred]
      > > > runtime with sizing handle, so the user can size and resize the image[/color][/color][/color]
      or[color=blue][color=green][color=darkred]
      > > > picturebox any way they want at runtime. Any help is deeply[/color][/color][/color]
      appreciated.[color=blue][color=green][color=darkred]
      > > > Thanks you all in advance...
      > > >
      > > >
      > > > Kate
      > > >
      > > >[/color]
      > >
      > >[/color]
      >
      >[/color]


      Comment

      • Vijaye Raji

        #4
        Re: FOR PRO ONLY

        I don't have sample source but you can find some in



        http://codeguru.com

        - VJ

        "Kate Luu" <cql90@yahoo.co m> wrote in message
        news:%23dctb9Ca DHA.2308@TK2MSF TNGP12.phx.gbl. ..[color=blue]
        > Thanks you very much for your responded, I'm so appreciated. But the thing
        > is, I'm not expert about subclassing control and do some custom drawing.[/color]
        Do[color=blue]
        > you have some sample source code of subclassing window control or you know
        > some source which I can refer to? Once again, Thanks you a lots for your
        > help, have a nice day...
        >
        > Kate Luu
        >
        >
        >
        > "Vijaye Raji" <$$vganesh@hotm ail.com> wrote in message
        > news:ehEHdL9ZDH A.2932@tk2msftn gp13.phx.gbl...[color=green]
        > > You need to implement your own sizers - you can subclass
        > > System.Windows. Forms.PictureBo x and handle the OnPaint to draw your[/color]
        > sizers;[color=green]
        > > handle the Mouse down/up events to track the sizers and resize during[/color]
        > Mouse[color=green]
        > > Move.
        > >
        > > "Kate Luu" <cql90@yahoo.co m> wrote in message
        > > news:OmwaLm0ZDH A.2960@tk2msftn gp13.phx.gbl...[color=darkred]
        > > > Does any Pro out there know how to create an image or the picturebox[/color][/color][/color]
        in[color=blue][color=green]
        > > the[color=darkred]
        > > > runtime with sizing handle, so the user can size and resize the image[/color][/color][/color]
        or[color=blue][color=green][color=darkred]
        > > > picturebox any way they want at runtime. Any help is deeply[/color][/color][/color]
        appreciated.[color=blue][color=green][color=darkred]
        > > > Thanks you all in advance...
        > > >
        > > >
        > > > Kate
        > > >
        > > >[/color]
        > >
        > >[/color]
        >
        >[/color]


        Comment

        Working...