"Before closing the window that requested help, the application must call WinHelp with the uCommand parameter set to HELP_QUIT. Until all applications have done this, Windows Help will not terminate"
Je suis d'accord, mais où poser cette commande dans un programme ?
Ma fenêtre d'aide s'ouvre donc dans une autre fenêtre que celle du
programme dont le handle est hwnd2 et je ne crois pas qu'il y ait
une procédure associée à ce handle. Et si j'ai bien compris, il me
faudrait une procédure pour ce handle pour suivre la recommandation de
msdn dans un case WM_CLOSE ou un case WM_DESTROY.