Вниз
Скачать: CL | DM;

Номер иконки курсора мыши   Найти похожие ветки 

← →
SergGG   (2008-06-04 14:15) [0]

Подскажите пожалуйста, как определить Номер иконки курсора мыши при наведении на окна других приложений.
GetCursor работает только в окне моего проекта.
Спасибо!!!


← →
Юрий Зотов ©   (2008-06-05 01:31) [1]

Из MSDN:

1. Windows 98 and Windows NT 4.0 SP3 and later: To get information on the global cursor, even if it is not owned by the current thread, use GetCursorInfo.

2. BOOL GetCursorInfo(PCURSORINFO pci);

pci
[out] Pointer to a CURSORINFO structure that receives the information. Note that you must set CURSORINFO.cbSize to sizeof(CURSORINFO) before calling this function.

3.
typedef struct {
   DWORD cbSize;
   DWORD flags;
   HCURSOR hCursor;
   POINT ptScreenPos;
} CURSORINFO, *PCURSORINFO, *LPCURSORINFO;


← →
Германн ©   (2008-06-05 03:52) [2]


> Юрий Зотов ©   (05.06.08 01:31) [1]

Даже мне читать страшно!
:)



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.44 MB
Время: 0.011 c
3-1226317325
Valerik
2008-11-10 14:42
2009.08.23
Ошибка при записи в таблицу Access


3-1226318508
Барра Кабамма
2008-11-10 15:01
2009.08.23
TADOCommand + MSSQL + SP


15-1245993547
Dennis I. Komarov
2009-06-26 09:19
2009.08.23
ASUS WL-520GU или еще какой...


1-1212582291
i
2008-06-04 16:24
2009.08.23
проблема с tpaintbox и jpegimage


15-1245614869
Ebulfez
2009-06-22 00:07
2009.08.23
Kak shifrovat moy proqram




   Наверх