المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Win32 Resources: Using C++ to Programmatically Retrieve a Global Cursor's Shape and I



C++ Programming
03-29-2009, 02:42 AM
Getting global cursor information is useful when developing software that drives or gathers information about other UI-based applications, including information about a remote machine. This article describes a way to programmatically identify the current cursor's ID and bitmap at any point in time. The first technique described is based on polling for information and shows how to get the handle of the current global cursor. This handle will then allow you to get information about the cursor. You can also monitor WinEvents for changes to the global cursor.

Dmitri Klementiev

<a href="http://msdn.microsoft.com/magazine/3522e807-e7de-4f6e-8326-5b2234db7797">MSDN Magazine October 2001