Making the entire window 'move' when there's no menu bar.

U

UJ

I have a window with no border. But I'd like to be able to have the user be
able to move it. In the window I've got a background image if that makes any
difference. I'd like to have it so that if somebody clicks and holds the
mouse button and drags it, the window moves (just like the top bar of a
window.)

Any thoughts on how to do this?

(Essentially I want the entire window to respond to a move event.)

TIA - Jeff.
 
G

Guest

UJ,
The windows have property to set a top bar on it, then it can move the
windows by the bar. Click the windows and change the property in the property
windows

Hope this can help you
Regards,
Joe Tsui
 
U

UJ

But for the interface I'm making I don't want a title bar. I want a window
with no border and then load our own graphics to make the window look the
way we want.

UJ.
 
G

Guest

Dear UJ,

If no title bar, it may need use some coding method to move the window.
Hope can help you!

Regards,
Joe Tsui
 
U

UJ

Joe,
I guess that's the question I'm asking. If I don't have a title bar, what do
I check for to move the window? Do I check for MouseMove and that a button
is pressed or is there an easier way?

UJ.
 

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

Top