Commit Graph

10 Commits (master)

Author SHA1 Message Date
Alexandre Julliard 84412cb0f5 winhlp32: Get rid of the shadow window, it's ugly and causes z-order issues. 2010-05-22 11:24:03 +02:00
Alexandre Julliard e2d22db7b9 winhlp32: Use explicit prototypes for the dll callbacks. 2009-10-07 13:31:32 +02:00
Eric Pouech 82ffc04ef3 winhlp32: Now manage windows with refcounts. 2009-06-01 16:16:04 +02:00
Eric Pouech e3beef0af5 winhlp32: Remove the lpszName field from the window structure, as it's given by the window info. 2009-06-01 16:16:04 +02:00
Dylan Smith cbf820abb0 winhlp32: Links are clicked on WM_LBUTTONDOWN not WM_LBUTTONUP.
This behaviour was tested against native winhlp32 by pressing down the
left mouse button and holding it while over the link to avoid having
WM_LBUTTONUP sent.  I noticed that the action for clicking the link
happened right away, without waiting for me to release the mouse button.
2009-03-12 13:09:54 +01:00
Dylan Smith a36b408f7e winhlp32: Prevent cursor flicker on mouse moves over richedit control.
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.
2009-03-11 13:03:33 +01:00
Francois Gouget 7d81ca1c31 winhlp32: Make some functions static in winhelp.c. 2009-01-08 14:52:52 +01:00
Eric Pouech 6346250ed8 winhelp: Pick nicer fonts for buttons. 2008-07-14 12:18:54 +02:00
Eric Pouech 841720e491 winhelp: Removed the topics button, and forward search and topics to the same prop sheet. 2008-07-07 12:11:23 +02:00
Alexandre Julliard a795f36af7 winhelp.exe: Renamed to winhlp32.exe. 2008-05-13 18:43:27 +02:00