Commit Graph

185 Commits

Author SHA1 Message Date
Davide Pizzetti 432139c05e winhlp32: Update Italian translation. 2009-06-25 11:44:04 +02:00
Stefan Stranz 1a0a47d60c winhlp32: Fix crash on launch. 2009-06-04 12:50:55 +02:00
Eric Pouech a105f924f4 winhlp32: Fix typo in color init. 2009-06-01 16:16:04 +02:00
Eric Pouech d67df82636 winhlp32: Correctly set the window's title when no window information is present. 2009-06-01 16:16:04 +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
Eric Pouech a6104304f4 winhlp32: Window name lookup is supposed to be insensitive. 2009-06-01 16:16:03 +02:00
Eric Pouech aba7b3df90 winhlp32: Use current file when no file is specified in JumpHash. 2009-06-01 16:16:03 +02:00
Eric Pouech 29f865c5c1 winhlp32: Make use of the hlpfile for the running macro to handle correctly some macro implementations. 2009-06-01 16:16:03 +02:00
Eric Pouech 042bbf9a41 winhlp32: Force the handling of a current help window while processing a macro. 2009-06-01 16:16:03 +02:00
Eric Pouech ae20d4708b winhlp32: NoShow macro has NS as shortcut. 2009-06-01 16:16:03 +02:00
Eric Pouech b936855d07 winhlp32: Properly handle a syntax error inside a macro. 2009-06-01 16:16:03 +02:00
Francois Gouget e7f8aa7d2d winhlp32: Use Win32 APIs instead of strdup(). 2009-05-13 12:31:53 +02:00
Rein Klazes 9e8f2a7024 programs: Make some of the open file dialogs of a few programs resizable. 2009-05-06 12:20:10 +02:00
Michael Stefaniuc cd4a7c3146 winhlp32: Remove superfluous casts. 2009-04-06 12:58:01 +02:00
Dylan Smith 2592fea305 winhlp32: Invalidate scrollbar when changing pages. 2009-03-24 10:27:27 +01: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
Dylan Smith fb63cd0c87 winhlp32: Use EM_SCROLL to scroll richedit control.
Previously the richedit control contents were scrolled directly using
ScrollWindow.  This caused the richedit control to not actually scroll,
but only look like it scrolled, therefore causing plenty of glitches.
2009-03-09 12:04:11 +01:00
Alexandre Julliard 1cd730b289 winhlp32: Fix a crash when started without arguments. 2009-02-24 16:57:29 +01:00
Marcus Meissner 55ae86ccb1 winhlp32: Check hlpfile for being NULL (Coverity). 2009-02-02 15:44:39 +01:00
Anders Jonsson 4e733f98e3 winhlp32: Update Swedish translation. 2009-01-23 13:12:36 +01:00
Francois Gouget 41e9dd3d80 winhlp32: Make some functions static in hlpfile.c and remove HLPFILE_PointsToTwips(). 2009-01-14 15:54:52 +01:00
Francois Gouget ffdf89c4a5 winhlp32: Reorder some functions to avoid forward declarations in hlpfile.c. 2009-01-14 15:54:46 +01:00
Francois Gouget 4967984d94 winhlp32: Make some functions static in macro.c. 2009-01-09 14:06:13 +01:00
Francois Gouget ef35bfd444 winhlp32: Reorder some functions to avoid forward declarations in macro.c. 2009-01-09 14:06:12 +01:00
Alexandre Julliard 32484769b8 winhlp32: Use GetWindowLongPtr to retrieve a pointer, and make sure there is enough space for it. 2009-01-09 14:05:56 +01:00
Alexandre Julliard aacdc9acce winhlp32: Use LONG instead of long for data loaded from a file. 2009-01-08 17:33:44 +01:00
Francois Gouget 7d81ca1c31 winhlp32: Make some functions static in winhelp.c. 2009-01-08 14:52:52 +01:00
Francois Gouget 2364498da3 winhlp32: Reorder some functions to avoid forward declarations in winhelp.c. 2009-01-08 14:52:47 +01:00
Jonathan Ernst 4823e2e863 winhlp32: Updated French translation. 2008-12-17 13:52:40 +01:00
Jonathan Ernst 70d96c7b73 winhlp32: WINE->Wine. 2008-12-17 13:52:40 +01:00
ByeongSik Jeon 5f3287d79f *Ko.rc: Update Korean resource.
Fix the unnecessary SUBLANG_NATURAL.
Change the font size from 8 to 9.
2008-12-11 12:21:07 +01:00
Rico Schüller 8e02da9843 winhlp32: Fix German translation. 2008-12-10 10:48:52 +01:00
Daniel Nylander 7ac9175eba winhlp32: Updated Swedish translation. 2008-12-08 12:03:07 +01:00
Rok Mandeljc 9217652bef winhlp32: Updated Slovenian translation. 2008-12-08 12:02:07 +01:00
Muneyuki Noguchi 1d9354f0e8 winhlp32: Convert Japanese resource to UTF-8. 2008-10-13 11:40:27 +02:00
Muneyuki Noguchi 323e6a2de5 winhlp32: Use "MS Shell Dlg" 9 in Japanese resources. 2008-09-25 13:28:01 +02:00
Francois Gouget 5a127ad570 winhlp32: Remove spaces before '...' in the Chinese resources. 2008-09-02 13:59:05 +02:00
Hongbo Ni a2efa42363 winhlp32: Add traditional Chinese resource. 2008-08-29 12:28:37 +02:00
Hongbo Ni 746981a8e7 winhlp32: Convert simplified Chinese resource to utf8. 2008-08-27 13:21:22 +02:00
Muneyuki Noguchi 757f347dd3 winhlp32: Add Japanese resources. 2008-08-25 11:14:36 +02:00
Hongbo Ni 3f83493a7f winhlp32: Update simplified Chinese resource. 2008-08-22 10:40:18 +02:00
Alexander Nicolaysen Sørnes 237b4109bd winhlp32: Update Norwegian Bokmål translation. 2008-08-22 10:39:38 +02:00
Kirill K. Smirnov 2bca1c86ad winhlp32: Use TopicOffset mapping and get rid of unused function. 2008-08-19 15:15:02 +02:00
Kirill K. Smirnov 4c387a9567 winhlp32: Fix offsets handling for old 3.0 files. 2008-08-19 15:14:54 +02:00
Kirill K. Smirnov deb98a4e83 winhlp32: Load internal file containing pagenum->topicoffset mapping. 2008-08-19 15:14:36 +02:00
Kirill K. Smirnov e8eb6d1b42 winhlp32: Set correct font size while generating rtf stream. 2008-08-18 17:15:55 +02:00
Kirill K. Smirnov 520ab5c261 winhlp32: Clear richedit area before setting text. 2008-08-05 14:09:38 +02:00
Kirill K. Smirnov 52081393bc winhlp32: Fix off-by-one error. 2008-08-05 14:09:38 +02:00
Kirill K. Smirnov 7377856352 winhlp32: Fix parsing system header of win3.0 help file. 2008-08-05 14:09:37 +02:00
Kirill K. Smirnov a7cb435400 winhlp32: Remove outdated comment. 2008-08-01 12:21:03 +02:00
Kirill K. Smirnov c7eec67554 winhlp32: Remove superfluous buttons from propsheet dialog templates. 2008-08-01 12:21:00 +02:00
Vladimir Pankratov d168078fe0 winhlp32: Update Russian translation. 2008-07-17 13:12:47 +02:00
Hwang YunSong(황윤성) fb0e728a74 winhlp32: Updated Korean resource. 2008-07-16 20:12:39 +02:00
Frans Kool 9d2e5091b9 winhlp32: Fixed Dutch translations. 2008-07-16 17:53:45 +02:00
Eric Pouech 8291034d01 winhelp: Double clicking in the index list should open the page. 2008-07-14 12:20:45 +02:00
Eric Pouech cdd235e24a winhelp: Constify the internal .hlp file parsing. 2008-07-14 12:20:37 +02:00
Eric Pouech ace5171df6 winhelp: Move the check about correct RLE decoding inside the decoding routine itself. 2008-07-14 12:20:27 +02:00
Eric Pouech 81168297e2 winhelp: Allow MACRO_Execute to be called recursively. 2008-07-14 12:19:37 +02:00
Eric Pouech 7d0b6bd4a6 winhelp: Implemented SetPopupColor macro. 2008-07-14 12:19:23 +02:00
Eric Pouech 448fed2055 winhelp: Implemented SetHelpOnFile macro. 2008-07-14 12:19:16 +02:00
Eric Pouech f6e93ea2d3 winhelp: Fixed memory leak in macro handling. 2008-07-14 12:19:00 +02:00
Eric Pouech 6346250ed8 winhelp: Pick nicer fonts for buttons. 2008-07-14 12:18:54 +02:00
Francois Gouget bfc133f19b winhlp32: Remove spaces before '...'. 2008-07-10 12:18:19 +02:00
Hwang YunSong(황윤성) eebed38b5b winhlp32: Updated Korean resource. 2008-07-09 10:45:05 +02:00
Alexander Nicolaysen Sørnes 8a3f21f0b1 winhlp32: Update Norwegian Bokmål translation. 2008-07-08 10:43:40 +02:00
Alexandre Julliard 28a2179dd6 Add noinput directive to all lex files to avoid a compiler warning. 2008-07-07 12:31:33 +02:00
Eric Pouech fa25f187c3 winhelp: Remove the search button, hook the index button to the Finder, and add a new summary button to go back to main page. 2008-07-07 12:11:24 +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
Hwang YunSong(황윤성) c4133613df winhlp32: Updated Korean resource. 2008-07-02 11:51:19 +02:00
Eric Pouech 21b9cb0783 winhelp: Let CtrlC do something useful thanks to richedit. 2008-06-30 14:16:38 +02:00
Eric Pouech cec4ee8648 winhelp: Start implementing a prop sheet for all lookup needs. 2008-06-30 14:15:47 +02:00
Vladimir Pankratov 2025d14503 winhlp32: Update Russian translation. 2008-06-30 12:12:31 +02:00
Hwang YunSong(황윤성) 8ce4a6fdec winhlp32: Updated Korean resource. 2008-06-25 10:43:22 +02:00
Eric Pouech cd8b30f1dd winhelp: Removed the main history button, and use the item in Options menu instead. 2008-06-23 13:11:51 +02:00
Eric Pouech 2ecb36709e winhelp: Added the options menu. 2008-06-23 13:10:39 +02:00
Eric Pouech 25b79fafe3 winhelp: Properly quit winhelp when no file are given on command line. 2008-06-23 12:47:01 +02:00
Mikołaj Zalewski 30899341cd winhlp32: Update Polish translation. 2008-06-20 11:28:19 +02:00
Francois Gouget 39cb432b68 Fix the resources to remove extraneous spaces in '...'. 2008-06-05 15:53:05 +02:00
Michael Stefaniuc 7e11ae4811 winhlp32: Fix the Slovak translation. 2008-05-29 12:11:25 +02:00
Gregor Münch 2b7debe01b winhlp32: Update German translation. 2008-05-26 19:45:44 +02:00
Mikołaj Zalewski 14a42f802d Make Swedish use SUBLANG_NEUTRAL. 2008-05-19 16:09:13 +02:00
Mikołaj Zalewski d85ac9d989 Update Polish translation. 2008-05-19 13:33:47 +02:00
Alexandre Julliard a795f36af7 winhelp.exe: Renamed to winhlp32.exe. 2008-05-13 18:43:27 +02:00