Results 1 to 5 of 5

Thread: Docking forms

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2000
    Location
    Lost in the Mojave Desert
    Posts
    82
    anyone got some ideas how to dock forms? up/down,side/side
    Don't go away mad, just go away.

    Bam-Bam

  2. #2
    Lively Member
    Join Date
    Sep 2000
    Posts
    116
    you mean minimize it?
    0101011001000010
    01101111011011100110110001101001011011100110010101110010

  3. #3
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    Check out the SHAppBarMessage Api, there are some examples here on VBworld also.
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Jul 2000
    Location
    Lost in the Mojave Desert
    Posts
    82
    no actually i mean like winamp playlist docks to winamp similiar to this
    Don't go away mad, just go away.

    Bam-Bam

  5. #5
    Guest
    I don't know of another way, so here goes:

    to dock 2 forms to eachother, write code in the Form_Resize() events to keep them together

    Code:
    Private Sub Form_Resize()
      me.top=otherform.top+otherform.height+someoffset
      me.left=otherform.left
    End Sub
    in the otherform do something similar.

    that depends on how exacly you want to dock them, in this case Me would be docked to Otherform's lower edge.

    Gerco.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width