Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use HTML Help instead of Windows Help #211

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

thecatkitty
Copy link
Contributor

This change makes WinFile open CHM file instead of HLP. This resolves #184. In addition, it removes Help on Help command from the menu (there's no such HH functionality).

The code assumes that winfile.chm is placed in x86 directory, which is true for ZIP (not for 1901, apparently...) and Chocolatey releases.

@Amaroq-Clearwater
Copy link

@thecatkitty Thank you for fixing this. I would like to merge this pull request into my own fork, which aims to add transparent UTF-8 support.

@NazmusLabs
Copy link
Contributor

NazmusLabs commented Aug 24, 2020

image

I highly recommend merging this to the main branch (cc @craigwi). As per Microsoft's own Windows app guidelines, apps using the old help technology should migrate to HTML help as a direct migration path from the now unsupported help system.

@@ -1342,8 +1342,9 @@ Extern LARGE_INTEGER qTotalSpace;

Extern HWND hwndStatus EQ( NULL );

Extern TCHAR szWinfileHelp[] EQ( TEXT("WINFILE.HLP") );
Extern WCHAR wszWinfileHelp[] EQ( L"WINFILE.HLP" );
Extern TCHAR szWinfileHelp[] EQ( TEXT("..\\X86\\WINFILE.HLP") );
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are these path changes needed/related?

@malxau malxau mentioned this pull request Oct 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Help menu opens browser instead of included HTML help file
4 participants