-
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
-
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 :rolleyes:
thanks for the help...
-
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).
-
1 Attachment(s)
And extract this to C:\ to hear the sound: