Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有2个圈子。我想通过单击一个圆圈在它们之间划一条线,将鼠标拖动到第二个圆圈,然后释放单击。这在visual 2008 c++ cli中怎么可能?
首先跟踪您拥有的圈子。然后,您必须处理 MouseDown/MouseMove/MouseUp 事件并确定这些事件发生的位置,然后使用它来绘制线。