Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Moving objects on a layout and chessboard
Moving objects on a layout and chessboard [message #13147] Sun, 16 December 2007 19:12 Go to next message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

I would like to realize a program (open source) that shows a chessboard with its pieces. Of course I need to click (select) and drag them on the chessboard.
At the moment I'm a bit confused how to do it. Designer after all works with the same principle of the chessboard. Instead of pieces we have several ctrls. So the task should be rather easy... knowing what to do.

The question is, which is the Upp class that permits in designer to drop some object and its movement? Perhaps I'm looking in the wrong direction, in this case any suggestion is higly appreciated.

Thank you,
Luigi
Re: Moving objects on a layout and chessboard [message #13153 is a reply to message #13147] Sun, 16 December 2007 22:29 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Usually, I do this using SetCapture and MouseMove.

IMO, check HeaderCtrl (current), which is now able to move columns.

Mirek

Previous Topic: failure to use SOCKET and an exception question
Next Topic: Display Size
Goto Forum:
  


Current Time: Fri May 03 02:46:53 CEST 2024

Total time taken to generate the page: 0.04967 seconds