Recent Posts

Pages: [1] 2 3 ... 10
1
Ciao, jj2007! Come sta?
2
José,
That page links to a Microsoft ftp server, and it doesn't work. But this one is OK - first link on top: http://www.rtfc.de/rtfc0031.html

Direct link: http://download.microsoft.com/download/word97win/Utility/4.03/WIN98/EN-US/Hcwsetup.exe
3
Hi, José!
Thank you very much!
4
In the meantime I found a place where you can download the Winhelp compiler and produce great retro old-fashioned help files even from Windows 10 64-bit (I tested  :t). http://www.divcomsoft.com/info/helpcompilers.php
5
The Colosseum / Re: Alcothoughts in Alcothread
« Last post by GoneFishing on Today at 01:19:30 AM »
Sorry, I was asking about the name of the episode/Series
;)
Sorry, I didn't get it 
was exalted to Alcoheavens
and the next day was thrown to  post-Alcoheavens  hell
6
Hi, sinsi!
Thank you very much!
7
Use your main window's handle when calling the message box
Code: [Select]
    invoke MessageBox,mainwnd,0,0,MB_OK or MB_HELP
In your main window's message loop for WM_HELP
Code: [Select]
    invoke ShellExecute,0,0,offset hlpfile,0,0,1
8
Paljon kiitoksia, Timo!
Can just do the same with simple MessageBox? How do MsgBoxCallback? Via WM_HELP? Or track pressing the F1 key?
9
The Campus / Re: how to attach a file.hlp to MessageBox with the button "Help"?
« Last post by TimoVJL on December 18, 2018, 10:57:39 PM »
Maybe it's useless with MessageBox(), but with MessageBoxIndirect()
Code: [Select]
#define WIN32_LEAN_AND_MEAN
#include <windows.h>

VOID CALLBACK MsgBoxCallback(LPHELPINFO lpHelpInfo)
{
//MessageBox(0,0,0,MB_OK);
WinHelp(0, "MyHelp.hlp", HELP_CONTEXT, lpHelpInfo->dwContextId);
}

void __cdecl WinMainCRTStartup(void)
{
MSGBOXPARAMS mbp;

//memset(&mbp, 0, sizeof(mbp));
mbp.cbSize = sizeof(mbp);
mbp.hwndOwner = 0;
mbp.hInstance = GetModuleHandle(NULL);
mbp.lpszText = "Text";
mbp.lpszCaption = "Caption";
mbp.dwStyle = MB_HELP;
mbp.lpszIcon = 0;
mbp.dwContextHelpId = 1; // help topic ID
mbp.lpfnMsgBoxCallback = MsgBoxCallback;
mbp.dwLanguageId = 0;
int rc = MessageBoxIndirect(&mbp);
ExitProcess(0);
}
10
The Campus / how to attach a file.hlp to MessageBox with the button "Help"?
« Last post by Mikl__ on December 18, 2018, 08:35:49 PM »
Help me to attach a file.hlp to MessageBox with the button "Help" (MB_HELP). Thank you in advance.
Pages: [1] 2 3 ... 10