Help getting started in making simple drag-and-drop application in C++
Hey guys. First of all, GUI is not my thing - all of the programming I've done in the past has been pretty back-end systems/algorithms, etc. Have been out of it for a few years, and want to get back into it again for interest.
I am trying to work on a few algorithms, and just want a simple GUI front end to do so. Nothing fancy, just want the ability to draw a rectangle, circle, etc. on a window and have the ability to drag and drop them in a different place - while seeing the rectangle, circle, etc. under the mouse while dragging.
I downloaded Visual Studio Express 2012 just now, and if you guys can point me out to a quick tutorial or a few snippets of code to do this, it would be much appreciated. Also, I am a C/C++ guy.
I just ran the following code, and it's obvious just a static output. What do I need to do to make it interactive? Again, I just need the quickest way of doing this. Thanks!
case WM_PAINT:
hdc = BeginPaint(hWnd, &ps);
// TODO: Add any drawing code here...
DrawingCode(hWnd, hdc);
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.