Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
C
MFC - Disable moving/dragging of windows
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
absolute0
New Member
Join Date:
Feb 2008
Posts:
8
#1
MFC - Disable moving/dragging of windows
Apr 22 '08, 10:27 AM
How do I disable moving/dragging of windows? I want a window to always stay in the same position...
Thanks
Banfa
Recognized Expert
Expert
Join Date:
Feb 2006
Posts:
9067
#2
Apr 22 '08, 01:48 PM
You probably want to intercept and handle one or more of the messages
WM_MOVING
WM_MOVE
WM_SIZING
WM_SIZE
Comment
Post
Cancel
Banfa
Recognized Expert
Expert
Join Date:
Feb 2006
Posts:
9067
#3
Apr 22 '08, 01:53 PM
or WM_GETMINMAXINF O
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment