title: How to drag-drop a button in visual c++
body: <p>Greetings...</p>
  
  <p>I'm working in visual c++ in the .net framework, and I need to be able to move a button in the runtime such that I hold it with the mouse and then leave it in the wanted place, in other words, drag and drop the button.</p>
  
  <p>I don't need to drag and drop it in another container, but in the same container, for example the parent of the button is panel1, I want to move the button inside panel1.</p>
  
  <p>Something important to mention is that I want to be able to perform code while the button is being moved and not after that, for example, outputting the location of the button after every single change on it.</p>
  
  <p>Hopefully that makes the idea clear, is there any way to achieve that?</p>
  
  <p>Thanks in advance :)</p>