|
-
Mar 17th, 2007, 12:09 AM
#1
Thread Starter
New Member
Using WM_GETMINMAXINFO to constrain window size using SmartSubclass
I want to use the window message WM_GETMINMAXINFO to limit the movement of the window tracking border.
I can do that by the method listed in microsoft knowledge base at:
http://support.microsoft.com/kb/185733
but in this code I must do the whole subclassing
I want to do that using the SmartSubclass library
it is a very smart, simple and really professional tool for subclassing, binary and source at:
http://www.visual-basic.com.ar/vbsma...rtsubclass.htm
the problem here is that:
By using smartsubclass, I can only change the ptMaxTrackSize, but I cannot change ptMinTrackSize
-
Mar 19th, 2007, 02:08 PM
#2
Re: Using WM_GETMINMAXINFO to constrain window size using SmartSubclass
Aside from the ability to crash your code without crashing the IDE, why not just write the code to do the subclassing yourself? (Or modify the class?)
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
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
|