muthuraman Posted October 3, 2003 Posted October 3, 2003 Hi there, I don't want the user to be able to drag the window in my application. How can I do this?. Thanks in advance Quote
Denaes Posted October 3, 2003 Posted October 3, 2003 You're talking about moving the window around the screen and not just resizing right? Set the property FormBorderStyle to None and the 'grabbar' on top dissapears. This also means so does the min/max and X (close) button are gone. I'd like to see a way to just dim it out, so you couldn't move, but it still looks like a normal form (but maybe muted) Quote
aewarnick Posted October 3, 2003 Posted October 3, 2003 I'm sure there is a better way of doing this. Maybe by handling the WINDOWPOSCHANGING 0x46 message when overriding WndProc. Quote C#
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.