disabling window movement

P

pp

How would one go about disabling the ability to move a window around the
desktop without making the window undecorated?

Thanks.
 
Z

zhengxianfu

How would one go about disabling the ability to move a window around the
desktop without making the window undecorated?

Thanks.

Waitting For answer too.
 
A

Andrew Thompson

How would one go about disabling the ability to move a window around the
desktop without making the window undecorated?

Hold a gun to the user's head and say..
"Move that window, and I shoot!"
...either that or break their mouse (and
possibly the 'arrow' keys on the keyboard).

As an aside, why would you want to do
such a thing to your end-user. Do you
hate them that much?

Andrew T.
 
A

Alex Hunsley

pp said:
How would one go about disabling the ability to move a window around the
desktop without making the window undecorated?

Thanks.

I've no idea, but why would you want to do that? It's the sort of thing
that would completely annoy the user (unless there were really specific
good circumstances for it).
 
T

Thorsten Kiefer

pp said:
How would one go about disabling the ability to move a window around the
desktop without making the window undecorated?

Thanks.

If there is a listener which is invoked when the window is moved, then
call setLocation(...) in this listener....
Or open a Dialog which says : "please wait until that windows is burned into you screen"
Then it wont move anymore !
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top