|
-
Jan 22nd, 2002, 04:44 AM
#1
Thread Starter
PowerPoster
Non movable dialouge
How can i create a non movable dialouge beside using subclassing technique.
regards,
Chris
-
Jan 22nd, 2002, 05:51 AM
#2
transcendental analytic
You can intercept WM_WINDOWPOSCHANGING and change the parameters in lparam casted to a LPWINDOWPOS
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Jan 22nd, 2002, 05:54 AM
#3
Thread Starter
PowerPoster
is the intercept you mean equal to subclassing?
-
Jan 22nd, 2002, 08:30 AM
#4
Everything with a title bar is moveable unless you subclass it. Create a dialog without a title bar.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Jan 22nd, 2002, 11:50 AM
#5
Thread Starter
PowerPoster
it is no others method besides the subclass? 'coz i have at least three (3) dialouge require to become a non movable window.
regards,
-
Jan 9th, 2003, 11:24 PM
#6
Thread Starter
PowerPoster
I have resolve with this API
VB Code:
RemoveMenu(GetSystemMenu(hWnd, 0), 0, MF_BYPOSITION);
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
|