- 11 Mar, 2009 23 commits
-
-
Aric Stewart authored
-
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.
-
Huw Davies authored
-
Huw Davies authored
-
Huw Davies authored
-
Huw Davies authored
-
Henri Verbeet authored
-
Henri Verbeet authored
-
Henri Verbeet authored
-
Henri Verbeet authored
-
Henri Verbeet authored
-
Henri Verbeet authored
-
Alexandre Julliard authored
-
Alexandre Julliard authored
-
Alistair Leslie-Hughes authored
-
Michael Stefaniuc authored
-
Michael Stefaniuc authored
-
Michael Stefaniuc authored
-
Nikolay Sivov authored
-
Dylan Smith authored
Images that are inserted into richedit controls store a space for the text, since that is the character returned when getting the plain text from the control. When calculating the width of a line, the space character is skipped, but images should not be skipped. This can be seen by inserting an image into wordpad on a line by it's own, then centering the line. The image will start from the center rather than being centered in the control.
-
Jeremy White authored
-
Rob Shearman authored
-
Rob Shearman authored
-
- 10 Mar, 2009 17 commits
-
-
Alexandre Julliard authored
-
Alexandre Julliard authored
-
Alexandre Julliard authored
-
Alexandre Julliard authored
-
Alexandre Julliard authored
-
Alexandre Julliard authored
-
Alexandre Julliard authored
-
Nikolay Sivov authored
-
Francois Gouget authored
-
Francois Gouget authored
-
Aric Stewart authored
-
Aric Stewart authored
-
Aric Stewart authored
-
Aric Stewart authored
-
Aric Stewart authored
-
Aric Stewart authored
-
Aric Stewart authored
-