#include "precomp.h"
Go to the source code of this file.
Defines | |
#define | TT_XOFFSET 2 |
#define | TT_YOFFSET 1 |
#define | TTT_SHOW 1 |
#define | TTT_HIDE 2 |
#define | TTT_ANIMATE 3 |
#define | TT_ANIMATEDELAY 20 |
#define | TTF_POSITIVE 0x00000001 |
#define | bitsizeof(x) (sizeof(x) * 8) |
Functions | |
UINT | MNItemHitTest (PMENU, PWND, POINT) |
HANDLE | NtGdiGetDCObject (HDC, int) |
LONG | GreGetBitmapBits (HBITMAP, ULONG, PBYTE, PLONG) |
DWORD | CalcCaptionButton (PWND pwnd, int hit, LPWORD pcmd, LPRECT prcBtn, LPWORD pbm) |
int | HitTestScrollBar (PWND pwnd, int ht, POINT pt) |
BOOL | xxxHotTrackSB (PWND pwnd, int htEx, BOOL fDraw) |
__inline void | ZeroTooltip (PTOOLTIPWND pttwnd) |
HDC | GetTooltipDC (PTOOLTIPWND pttwnd) |
void | InitTooltipAnimation (PTOOLTIPWND pttwnd) |
void | DestroyTooltipBitmap (PTOOLTIPWND pttwnd) |
BOOL | CreateTooltipBitmap (PTOOLTIPWND pttwnd, UINT cx, UINT cy) |
void | CleanupTooltipAnimation (PTOOLTIPWND pttwnd) |
BOOL | TooltipAnimate (PTOOLTIPWND pttwnd) |
int | GetCursorHeight (void) |
void | TooltipGetPosition (PTOOLTIPWND pttwnd, SIZE *psize, POINT *ppt) |
void | TooltipGetSize (PTOOLTIPWND pttwnd, SIZE *psize) |
void | TooltipRender (PTOOLTIPWND pttwnd, HDC hdc) |
int | FindNCHitEx (PWND pwnd, int ht, POINT pt) |
void | KillTooltipTimer (PTOOLTIPWND pttwnd) |
void | SetTooltipTimer (PTOOLTIPWND pttwnd, UINT uTID, UINT uDelay) |
void | xxxResetTooltip (PTOOLTIPWND pttwnd) |
void | xxxShowTooltip (PTOOLTIPWND pttwnd) |
void | xxxTooltipHandleTimer (PTOOLTIPWND pttwnd, UINT uTID) |
LRESULT | xxxTooltipWndProc (PWND pwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) |
LPWSTR | IsTooltipHittest (PWND pwnd, UINT ht) |
BOOL | xxxHotTrackMenu (PWND pwnd, UINT nItem, BOOL fDraw) |
BOOL | xxxHotTrack (PWND pwnd, int htEx, BOOL fDraw) |
void | xxxCreateTooltip (PTOOLTIPWND pttwnd, LPWSTR pstr) |
void | xxxTrackMouseMove (PWND pwnd, int htEx, UINT message) |
void | xxxCancelMouseMoveTracking (DWORD dwDTFlags, PWND pwndTrack, int htEx, DWORD dwDTCancel) |
|
Definition at line 24 of file tooltips.c. Referenced by GetCursorHeight(). |
|
Definition at line 20 of file tooltips.c. Referenced by xxxTooltipWndProc(). |
|
Definition at line 15 of file tooltips.c. Referenced by TooltipGetSize(), and TooltipRender(). |
|
Definition at line 16 of file tooltips.c. Referenced by TooltipGetSize(), and TooltipRender(). |
|
Definition at line 22 of file tooltips.c. Referenced by TooltipAnimate(), and TooltipGetPosition(). |
|
Definition at line 19 of file tooltips.c. Referenced by xxxTooltipHandleTimer(), and xxxTooltipWndProc(). |
|
Definition at line 18 of file tooltips.c. Referenced by xxxTooltipHandleTimer(), and xxxTooltipWndProc(). |
|
Definition at line 17 of file tooltips.c. Referenced by xxxCreateTooltip(), and xxxTooltipHandleTimer(). |
|
|
|
Definition at line 129 of file tooltips.c. References DestroyTooltipBitmap(), tagTOOLTIPWND::hdcMem, and NULL. Referenced by xxxTooltipWndProc().
|
|
Definition at line 97 of file tooltips.c. References _ReleaseDC(), BOOL, cy, DestroyTooltipBitmap(), FALSE, GetTooltipDC(), tagTOOLTIPWND::hbmMem, tagTOOLTIPWND::hdcMem, NULL, and TRUE. Referenced by xxxTooltipWndProc().
|
|
Definition at line 82 of file tooltips.c. References tagTOOLTIPWND::hbmMem, tagTOOLTIPWND::hdcMem, and NULL. Referenced by CleanupTooltipAnimation(), CreateTooltipBitmap(), and xxxTooltipWndProc().
|
|
Definition at line 375 of file tooltips.c. References FALSE, tagITEM::hbmp, HitTestScrollBar(), HTMDICLOSE, HTMDIMAXBUTTON, HTMDIMINBUTTON, HTMDISYSMENU, HTMENUITEM, MNItemHitTest(), tagMENU::rgItems, tagWND::spmenu, TestWF, TRUE, WFHPRESENT, WFMPRESENT, and WFVPRESENT. Referenced by xxxScanSysQueue().
|
|
Definition at line 202 of file tooltips.c. References _InternalGetIconInfo(), bitsizeof, BYTE, FALSE, GreGetBitmapBits(), NULL, and PtiCurrent. Referenced by TooltipGetPosition().
|
|
Definition at line 45 of file tooltips.c. References _GetDCEx(), ghStatusFont, and NULL. Referenced by CreateTooltipBitmap(), InitTooltipAnimation(), TooltipAnimate(), and TooltipGetSize().
|
|
Referenced by GetCursorHeight(). |
|
Referenced by FindNCHitEx(), and xxxSBWndProc(). |
|
Definition at line 66 of file tooltips.c. References _ReleaseDC(), GetTooltipDC(), tagTOOLTIPWND::hdcMem, and NULL. Referenced by xxxTooltipWndProc().
|
|
Definition at line 678 of file tooltips.c. References GETGPSIMBPSTR, gszCAPTIONTOOLTIP, gszMAX, gszMIN, gszRESDOWN, gszRESUP, gszSCLOSE, HTMDICLOSE, HTMDIMAXBUTTON, HTMDIMINBUTTON, NULL, SEB_HELP, TestWF, WEFTRUNCATEDCAPTION, WFMAXBOX, WFMAXIMIZED, WFMINBOX, and WFMINIMIZED. Referenced by xxxTrackMouseMove().
|
|
Definition at line 429 of file tooltips.c. References _KillTimer(), and UINT. Referenced by SetTooltipTimer(), and xxxResetTooltip().
|
|
Definition at line 2983 of file ntuser/kernel/menu.c. References tagMENU::cItems, tagQ::codeCapture, CopyInflateRect(), tagITEM::cxItem, tagITEM::cyItem, tagMENU::cyMenu, tagMENU::dwArrowsOn, tagMENU::iTop, MFISPOPUP, MFMWFP_DOWNARROW, MFMWFP_NOITEM, MFMWFP_UPARROW, MNGetToppItem(), MSA_OFF, NO_CAP_SYS, tagTHREADINFO::pq, PtiCurrent, PtInRect(), tagWND::rcClient, tagWND::rcWindow, tagMENU::rgItems, SCREEN_CAPTURE, SYSMET, TestMF, TestWF, and UINT. Referenced by FindNCHitEx(), xxxMenuItemFromPoint(), and xxxMNFindWindowFromPoint().
|
|
|
|
Definition at line 441 of file tooltips.c. References InternalSetTimer(), KillTooltipTimer(), and NULL. Referenced by xxxCreateTooltip(), xxxTooltipHandleTimer(), and xxxTooltipWndProc().
|
|
Definition at line 148 of file tooltips.c. References _ReleaseDC(), BOOL, CMS_TOOLTIP, cy, DWORD, FALSE, GetTooltipDC(), tagTOOLTIPWND::hdcMem, MultDiv, NtGetTickCount(), NULL, TRUE, and TTF_POSITIVE. Referenced by xxxTooltipHandleTimer().
|
|
Definition at line 285 of file tooltips.c. References _MonitorFromPoint(), GetCursorHeight(), gpsi, tagMONITOR::rcMonitor, and TTF_POSITIVE. Referenced by xxxShowTooltip().
|
|
Definition at line 318 of file tooltips.c. References _ReleaseDC(), GetTooltipDC(), SYSMET, TT_XOFFSET, and TT_YOFFSET. Referenced by xxxShowTooltip().
|
|
Definition at line 336 of file tooltips.c. References CopyOffsetRect(), FillRect(), ghStatusFont, gpsi, NULL, SYSHBR, SYSMET, TT_XOFFSET, TT_YOFFSET, and UINT. Referenced by xxxTooltipWndProc().
|
|
Definition at line 1125 of file tooltips.c. References _KillSystemTimer(), _PostMessage(), CheckLock, DF_HOTTRACKING, DF_TOOLTIP, DF_TOOLTIPSHOWING, DF_TRACKMOUSEHOVER, DF_TRACKMOUSELEAVE, FALSE, GETPTI, IDSYS_MOUSEHOVER, PtiCurrent, PWNDTOOLTIP, ThreadLockAlways, ThreadUnlock, xxxHotTrack(), and xxxResetTooltip(). Referenced by xxxCapture(), xxxProcessEventMessage(), and xxxTrackMouseMove().
|
|
Definition at line 875 of file tooltips.c. References CheckLock, tagTOOLTIPWND::dwShowDelay, NULL, SetTooltipTimer(), TestWF, TTT_SHOW, WFVISIBLE, xxxSetWindowPos(), and xxxShowTooltip(). Referenced by xxxTrackMouseMove().
|
|
Definition at line 836 of file tooltips.c. References BOOL, CheckLock, FALSE, HTMDICLOSE, HTMDIMAXBUTTON, HTMDIMINBUTTON, HTMENUITEM, HTSCROLLDOWN, HTSCROLLDOWNPAGE, HTSCROLLTHUMB, HTSCROLLUP, HTSCROLLUPPAGE, xxxHotTrackMenu(), and xxxHotTrackSB(). Referenced by xxxCancelMouseMoveTracking(), and xxxTrackMouseMove().
|
|
Definition at line 733 of file tooltips.c. References _GetDCEx(), _ReleaseDC(), BOOL, CheckLock, tagMENU::cItems, ClearMFS, FALSE, ghMenuFont, GreGetTextAlign(), GreSetTextAlign(), NULL, PtiCurrent, tagMENU::rgItems, SetMFS, tagWND::spmenu, SYSHBR, TestMFS, TestMFT, TestWF, ThreadLock, ThreadUnlock, TRUE, UINT, WFMPRESENT, xxxDrawMenuItem(), and xxxMNRecomputeBarIfNeeded(). Referenced by xxxHotTrack().
|
|
Referenced by xxxHotTrack(). |
|
Definition at line 453 of file tooltips.c. References CheckLock, DF_TOOLTIP, KillTooltipTimer(), NULL, PWNDMESSAGE, TestWF, ThreadLockAlways, ThreadUnlock, WFVISIBLE, xxxSetParent(), xxxSetWindowPos(), and ZeroTooltip(). Referenced by xxxCancelMouseMoveTracking(), xxxFreeWindow(), xxxProcessEventMessage(), xxxTooltipHandleTimer(), and xxxTrackMouseMove().
|
|
Definition at line 484 of file tooltips.c. References _LARGE_UNICODE_STRING::Buffer, CAPTIONTOOLTIPLEN, CheckLock, dwFlags, DWORD, gszCAPTIONTOOLTIP, _LARGE_UNICODE_STRING::Length, NULL, PtiCurrent, PWND_TOP, tagWND::strName, TestEffectUP, TestWF, TooltipGetPosition(), TooltipGetSize(), wcsncpycch(), WEFTRUNCATEDCAPTION, and xxxSetWindowPos(). Referenced by xxxCreateTooltip(), and xxxTooltipHandleTimer().
|
|
Definition at line 526 of file tooltips.c. References tagTOOLTIPWND::dwHideDelay, PWNDDESKTOP, SetTooltipTimer(), ThreadLockAlways, ThreadUnlock, TooltipAnimate(), TTT_ANIMATE, TTT_HIDE, TTT_SHOW, xxxResetTooltip(), xxxSetParent(), and xxxShowTooltip(). Referenced by xxxTooltipWndProc().
|
|
Definition at line 570 of file tooltips.c. References CheckLock, CleanupTooltipAnimation(), CMS_TOOLTIP, CreateFade(), CreateTooltipBitmap(), cy, DestroyTooltipBitmap(), DF_TOOLTIP, tagTOOLTIPWND::dwHideDelay, FADE_SHOW, FADE_TOOLTIP, FNID_TOOLTIP, GETPDESK, tagTOOLTIPWND::hdcMem, InitTooltipAnimation(), InitTooltipDelay(), NtGetTickCount(), NULL, SetTooltipTimer(), StartFade(), StopFade(), TestALPHA, TestEffectUP, TestFadeFlags(), TooltipRender(), TT_ANIMATEDELAY, TTT_ANIMATE, TTT_HIDE, UINT, VALIDATECLASSANDSIZE, xxxBeginPaint(), xxxDefWindowProc(), xxxEndPaint(), xxxSendMessage(), and xxxTooltipHandleTimer(). Referenced by InitializeClientPfnArrays(), and LW_RegisterWindows().
|
|
Definition at line 904 of file tooltips.c. References BOOL, CheckLock, DF_HOTTRACKING, DF_MOUSEMOVETRK, DF_TOOLTIP, DF_TOOLTIPACTIVE, DF_TRACKMOUSEEVENT, tagDESKTOP::dwDTFlags, DWORD, tagWINDOWSTATION::dwWSF_Flags, GetActiveTrackPwnd(), GETPTI, gpsi, tagDESKTOP::htEx, IDSYS_WNDTRACKING, InternalSetTimer(), IsTooltipHittest(), Lock, NULL, PostEventMessage(), tagTHREADINFO::pq, PtiCurrent, QEVENT_CANCELMOUSEMOVETRK, QF_ACTIVEWNDTRACKING, tagDESKTOP::rpwinstaParent, tagDESKTOP::spwndTooltip, tagDESKTOP::spwndTrack, TestEffectUP, TestUP, ThreadLockAlways, ThreadUnlock, TRUE, UINT, UP, WSF_NOIO, xxxCancelMouseMoveTracking(), xxxCreateTooltip(), xxxHotTrack(), xxxResetTooltip(), and xxxSystemTimerProc(). Referenced by xxxScanSysQueue().
|
|
Definition at line 33 of file tooltips.c. References PBYTE, TOOLTIP, and TOOLTIPWND. Referenced by xxxResetTooltip().
|