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

  • Thread starter Thread starter UJ
  • Start date Start date
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.
 
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
 
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.
 
Dear UJ,

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

Regards,
Joe Tsui
 
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.
 
Back
Top