Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

catching the mouse movement

Status
Not open for further replies.

bubak

Programmer
Jun 25, 2001
208
SK
hi again.
imagine a dialog, where is one slide (CSlider version 5) and a CButton. I don't know how to ho this: after pushing the button, mouse pointer will jump into the slider rectangle and without presing the mouse button anymore, the slider will move with mouse moving , untill mouse button pressed.
And another one: I know, hot to create slider on any position, but how do I move it, when it's already created?
thx a lot 4 now
bubak
 
OK, I've already done the first part, the cursor jumps, there, where it should. But how do I do that it will start drgging without clicking ?
 
ok, this is my personal thread ;-)
I've done the dragging via mouse_event, now, I'm solving the object movement... ;-)
 
thread closed, I've solved the problem
stupid me coz starting it ;-);-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top