|
-
Apr 19th, 2002, 06:28 PM
#1
Thread Starter
Frenzied Member
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!
-
Apr 20th, 2002, 03:01 AM
#2
Thread Starter
Frenzied Member
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!
-
Apr 20th, 2002, 09:33 AM
#3
Good Ol' Platypus
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)
-
Apr 20th, 2002, 09:38 AM
#4
Good Ol' Platypus
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|