Results 1 to 3 of 3

Thread: How Do I move a window if the window....

  1. #1

    Thread Starter
    Addicted Member Daniel_Christie's Avatar
    Join Date
    Jan 2000
    Location
    USA
    Posts
    245

    Post

    How Do I allow a user to move a window if the window does not have a title bar?

    I plan to make a program that starts as a small floatable button which the user can covieniently move around their screen into a desired position. When the button is DblClicked my program will Show it's second page that conatains the grit and grunt functions.

    If it helps, I'd say that I am looking for the coding simular to what the ICQ's "float Name" option does. Can anyone help me out?

    I appreciate any time and effort,
    Daniel Christie

  2. #2
    Lively Member
    Join Date
    Nov 1999
    Posts
    98

    Post

    you have to use the SendMessage and Release Capture functions in the API. create a label or form or some control with the mousedown proceedure. in the control_MouseDown sub call the function you have made using the two API functions i listed above. if you would like the code i use to create my own titlebars, e-mail at mpdulle@loyno.edu. it's very simple.

  3. #3
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Post

    Check out this VB-World's tip Moving Form without Title Bar

    ------------------

    Serge

    Senior Programmer Analyst
    sdymkov@microage.com
    Access8484@aol.com
    ICQ#: 51055819

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