Commit Graph

74 Commits

Author SHA1 Message Date
Kirill K. Smirnov 7c97735b09 winhelp: Fix index to handle offset value = 0 correclty. 2008-01-07 12:20:07 +01:00
Gerald Pfeifer fde4e4b608 winhelp: Remove a dead condition. 2007-12-31 19:21:01 +01:00
Kirill K. Smirnov 72c5aea600 winhelp: When we reuse window structure, old brush should not be reused. 2007-12-21 12:41:14 +01:00
Kirill K. Smirnov 8d6d9fd3ad winhelp: Avoid any keywords comparision during lookup, store pointer to listbox ITEMDATA instead. 2007-12-18 12:32:55 +01:00
Kirill K. Smirnov d72cfb7342 winhelp: Display keywords index dialog box. 2007-12-13 13:09:37 +01:00
Kirill K. Smirnov 16cc13341f winhelp: Change font charset from ANSI to DEFAULT. 2007-12-12 13:48:11 +01:00
Alexandre Julliard 5393b7a675 winhelp: Use system colors instead of hardcoded colors. 2007-12-06 12:06:47 +01:00
Kirill K. Smirnov 56ab4a20e0 winhelp: Do not confuse caller application with bogus error when we really succeeded. 2007-12-05 12:04:20 +01:00
Kirill K. Smirnov 43860b7a6e winhelp: Add WS_EX_TOOLWINDOW style to popup windows. 2007-08-30 16:34:32 +02:00
Michael Stefaniuc 016b8bbedd winhelp: Add missing case label "default". Found by Smatch (unreached code). 2007-07-19 11:57:26 +02:00
Kirill K. Smirnov cd20e11f4a winhelp: Fix popup window style. 2007-06-21 16:38:48 +02:00
Kirill K. Smirnov 3545dc519e winhelp: Use path of parent helpfile while looking for popup window. 2006-11-13 12:45:16 +01:00
Kirill K. Smirnov 133477c276 winhelp: Fix WINHELP_DeleteWindow. 2006-11-13 12:45:10 +01:00
Kirill K. Smirnov a9ae65d2f6 winhelp: Do not create popup window if file not found. 2006-11-13 12:45:02 +01:00
Kirill K. Smirnov 4f2819f2e1 winhelp: Rewrite LookupHelpFile function.
Add ability for user to find file himself if winhelp cannot find it.
Update resources.
2006-11-06 15:40:07 +01:00
Kirill K Smirnov 8e0bc11f72 winhelp: Properly implement context help and JumpContext macro. 2006-10-27 14:26:35 +02:00
Alexandre Julliard 0ab4c36c8e winhelp: Properly handle negative coordinates for mouse events. 2006-10-25 17:43:22 +02:00
Kirill K. Smirnov f9bfbe2e31 winhelp: Improved metafile support. 2006-10-18 14:18:14 +02:00
Hans Leidekker 41f514570b winhelp: Cast-qual warnings fix. 2006-10-16 17:05:43 +02:00
Kirill K. Smirnov 4d00b282e1 winhelp: Use color specified in .hlp file for background, not just WHITE_BRUSH. 2006-10-14 20:16:11 +02:00
Michael Stefaniuc 3dbe7152cd winhelp: Win64 printf format warning fixes. 2006-10-03 11:15:44 +02:00
Andrew Talbot 8abef9ea50 winhelp: Write-strings warning fix. 2006-07-27 12:23:02 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Uwe Bonnes 69e4c4f1be winhelp: Zero out WINHELP_WINDOW in WINHELP_CreateHelpWindow. 2006-02-20 11:12:07 +01:00
Eric Pouech e5b40ab56a winhelp: Handle '> ' on command lines. 2005-12-19 18:23:02 +01:00
Alexandre Julliard e4b2a0bbbc Use Get/SetWindowLongPtr instead of Get/SetWindowLong where
appropriate.
2005-09-09 15:20:04 +00:00
Ken Belleau 43ae5e5441 - Used wine_dbgstr_a to prevent an overflow.
- Improved support to call macros with a variable number of
  parameters.
- Put a check to prevent an out of bounds access.
2005-01-25 20:08:46 +00:00
Eric Pouech dff8de638c - added support plug-in DLLs for winhelp
- added preliminary support for plug-in callback into winhelp
- rewrote all the macros accordingly (macro entry-point has to have
  WINAPI calling convention)
- some fixes for embedded images decompression
- misc cleanups
2004-12-13 21:06:46 +00:00
Ken Belleau 8b07a8c8ba - Removed code that took the focus away from the buttons.
- Make the buttons forward WM_KEYDOWN to their parent.
2004-09-25 00:28:59 +00:00
Ken Belleau d696f21b8a - Removed the deprecated OF_SEARCH flag.
- Handle quotes in command-line parsing.
2004-09-23 22:54:12 +00:00
Hans Leidekker 719a789792 Fix signed/unsigned comparison warnings. 2004-09-22 02:46:38 +00:00
Yvon Belleau d47f5ccf3f - Implemented keyboard navigation (Up / Down / PgUp / PgDn / ESC).
- Shadow windows (behind popups) were reacting to mouse clicks and
  were going over the popup. Make them close the popup instead.
- Title was not displayed when the help file was opened by the command
  line.
- Corrected incorrect links behavior (in relation with the scrollbar).
2004-09-07 20:42:05 +00:00
Pavel Roskin 954765e0cc Set win_style of the main window to WS_OVERLAPPEDWINDOW. 2003-10-04 03:06:39 +00:00
Mike Hearn 9e849c0044 Implemented mouse wheel support. 2003-09-17 22:38:12 +00:00
Alexandre Julliard cf52644a1c Removed the A/W constants for builtin cursors, icons and resource
types since they don't exist on Windows, and added typecasts
everywhere instead.
2003-09-10 03:56:47 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Johan Dahlin 84d5992357 Make sure winhelp doesn't scroll outside of its display area. 2003-08-11 18:41:52 +00:00
Eric Pouech 4ea0b7008c - added some missing strings to resources
- made the decompression code a bit more pedantic to avoid crashes
- fixed startup without .HLP filename passed on command line
- passed a few more commands from remote applications to the macros
2003-06-04 20:13:54 +00:00
Dan Kegel 0fd521fee3 Change RECT to use LONG to match win32 standard headers and fix format
strings to use %ld for RECT elements.
2003-01-08 21:09:25 +00:00
Eric Pouech ddaacaa0d8 - links can now spread across several elements
- link information is now shared between file & presentation
- first try at handling metafiles
2002-12-16 22:11:11 +00:00
Matthew Davison 04b1054440 Prevent Winhelp from crashing when it can't find the helpfile. 2002-11-27 20:12:37 +00:00
Eric Pouech 2b855deddb Wrote back & history support.
Correctly implemented << and >> buttons.
Added support for page level macros.
2002-11-20 19:46:18 +00:00
Eric Pouech 7d75cfed76 Added support for window information from the .hlp file.
Added support for window numbers in link.
2002-11-18 19:48:11 +00:00
Eric Pouech 81b7b9126e Rewrote macro engine for adding dynamic macro loading capability.
Wrote RegisterRoutine and IsBook macros.
2002-11-15 01:34:57 +00:00
Eric Pouech 6637654b53 Fixed several bugs in:
- page/paragraph reading for >= Win95 help files without compression
  - bitmap & metafile loading
  - btree reading
Now caching bitmap loading for better performance.
Several internal code cleanups.
2002-11-13 04:09:34 +00:00
Eric Pouech b6aad50245 Implemented a Wine-only scheme for interprocess WinHelp message
passing.
2002-11-11 22:20:47 +00:00
Eric Pouech 644949d5d5 No longer using explicit values for resource identification. 2002-10-21 19:18:42 +00:00
Eric Pouech 03587c6f91 Improved a bit link handling (a few more link types loaded from file
and support for link to a macro).
2002-10-21 18:20:05 +00:00
Eric Pouech c07f4cbd42 Added support for BTrees in file header reading.
Fixed bogus palette length computation while reading bitmap.
Fixed rendering while starting a page with a bitmap.
2002-10-19 00:12:42 +00:00
Eric Pouech 757928781e Bring winhelp back to life, with mainly support for Win95 help files. 2002-07-16 01:46:29 +00:00