Results 1 to 4 of 4

Thread: Relase Mouse&Resize

  1. #1

    Thread Starter
    Frenzied Member /\/\isanThr0p's Avatar
    Join Date
    Jul 2000
    Location
    They can't stop us! We're on a misson from God.
    Posts
    1,181

    Relase Mouse&Resize

    Well the topic might not be all clear but I could not find anything better. Now here is my problem:
    I am having a form with a little code in the resize event because I do not want it to be made any smaller than a certain size because it would make it useless. But when a user has real time scaled forms activated (forms that show when you move them around and also while resizing instead of showing those borders) it gets a little ugly due to flickering. How can I avoide that? I think the easiest way would be to programmatically release the mousebutton so the user is not able to resize the form until he clicks again... how can that be done or can you think of better ways?
    thanks in advance
    Sanity is a full time job

    Puh das war harter Stoff!

  2. #2

    Thread Starter
    Frenzied Member /\/\isanThr0p's Avatar
    Join Date
    Jul 2000
    Location
    They can't stop us! We're on a misson from God.
    Posts
    1,181
    hm thanks... I think I might just go with the flickering before I use subclassing... I am not gonna make my app more unstable just that some wierdos can't play with the flickering resize

    thanks for the help...
    Sanity is a full time job

    Puh das war harter Stoff!

  3. #3
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    It's completely stable as long as the OS agrees with it. Win 95 has some troubles, but anything 98 and over is fine with it, as long as you have the right code. If you don't have Win2k you can send it to me, if it's not perfect subclassing it will just close VB, but with everything else it's "bye, bye, windows".

    For example, I made this typewriter program:
    http://www.vbforums.com/attachment.php?s=&postid=840988

    It uses subclassing to let you decide what happens at the end of when a letter is typed (ex. a sound), and what happens at the end of the passage (ex. a messagebox).
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  4. #4
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    And extract this to C:\ to hear the sound:
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

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