• Dylan Smith's avatar
    winhlp32: Prevent cursor flicker on mouse moves over richedit control. · a36b408f
    Dylan Smith authored
    Previously the cursor was being set by winhlp32 on WM_MOUSEMOVE, then
    the richedit control would change it again on WM_SETCURSOR.  Since the
    cursor set in both of these places was different, the cursor would
    flicker from being frequently changed.
    
    The reason winhlp32 is setting the cursor, rather than letting the
    richedit control set the cursor, is that winhlp32 needs the hand cursor
    to be shown over a link.  My first instinct was to just add the CFE_LINK
    effect to the link characters, however this also forced a colour for the
    link that was inconsistent with native winhlp32.  Native winhlp32
    doesn't seem to load any richedit dll, so this doesn't imply that there
    is an undocumented way of changing the colour of characters with
    CFE_LINK.
    
    This patch has winhlp32 override the WNDPROC for the richedit control to
    handle the WM_SETCURSOR.  It simply sets the cursor to the hand if the
    cursor is over the link, otherwise it just calls the original richedit
    window proc.
    a36b408f
Name
Last commit
Last update
..
cacls Loading commit data...
clock Loading commit data...
cmd Loading commit data...
cmdlgtst Loading commit data...
control Loading commit data...
eject Loading commit data...
expand Loading commit data...
explorer Loading commit data...
hh Loading commit data...
icinfo Loading commit data...
iexplore Loading commit data...
lodctr Loading commit data...
msiexec Loading commit data...
net Loading commit data...
notepad Loading commit data...
oleview Loading commit data...
progman Loading commit data...
reg Loading commit data...
regedit Loading commit data...
regsvr32 Loading commit data...
rpcss Loading commit data...
rundll32 Loading commit data...
secedit Loading commit data...
services Loading commit data...
spoolsv Loading commit data...
start Loading commit data...
svchost Loading commit data...
taskmgr Loading commit data...
uninstaller Loading commit data...
unlodctr Loading commit data...
view Loading commit data...
wineboot Loading commit data...
winebrowser Loading commit data...
winecfg Loading commit data...
wineconsole Loading commit data...
winedbg Loading commit data...
winedevice Loading commit data...
winefile Loading commit data...
winemenubuilder Loading commit data...
winemine Loading commit data...
winepath Loading commit data...
winetest Loading commit data...
winevdm Loading commit data...
winhelp.exe16 Loading commit data...
winhlp32 Loading commit data...
winoldap.mod16 Loading commit data...
winver Loading commit data...
wordpad Loading commit data...
write Loading commit data...
xcopy Loading commit data...
Makefile.in Loading commit data...
Makeprog.rules.in Loading commit data...
wineapploader.in Loading commit data...