I personally like to use CRectTracker. Even though it was intended for OLE controls it can be used for just about anything. Granted, you have to use MoveWindow somewhere in your logic to actually move the window but CRectTracker gives you visible border options, hit testing, and handles so it saves you some time in development.
I personally like to use CRectTracker. Even though it was intended for OLE controls it can be used for just about anything. Granted, you have to use MoveWindow somewhere in your logic to actually move the window but CRectTracker gives you visible border options, hit testing, and handles so it saves you some time in development.
can you provide a simple project sample that uses CRectTracker? I would apreciate it!
Help me help you ... rate this article if any good!
Attached here is a very simple example that shows how to use CRectTracker to allow user to move/resize a button at run-time.
very nice sample! Easy and simple.. I couldn't imagine it would be so simple!
Only it has one problem: what happens if you move the button outside???
well, I guess limiting the track to a RECT area would be very helpfull!
If you know how to do this, pls, pls help!!!
Help me help you ... rate this article if any good!
very nice sample! Easy and simple.. I couldn't imagine it would be so simple!
Only it has one problem: what happens if you move the button outside???
well, I guess limiting the track to a RECT area would be very helpfull!
If you know how to do this, pls, pls help!!!
Please professor, don't give me an F. I had a headache today and I made my homework too simple.
BTW. Many colleagues asked me if it's possile to track a button outside a dialog template in Visual C++ resource editor. Please tell me how! Pliz, pliz, Pliiiiiizzzzzzzzzz!!!!
* 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.