Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Win32 (http://www.go4expert.com/forums/win32/)
-   -   HtmlHelp API Issue (http://www.go4expert.com/forums/htmlhelp-api-issue-t1247/)

shaffiqleo 21Aug2006 10:44

HtmlHelp API Issue
 
Hi,
We want to display help files(.chm format) using HTMLHelp API in a particular Format.
HH_KEYWORD_LOOKUP command is used with HtmlHelp API to search one or more Keywords
in compiled HTML Help (chm) File and display it in a "Topics Found" window.
But HH_KEYWORD_LOOKUP command is not working properly.We have two issues
1)It gives Redraw Issues to OwnerWindow or Parent Window when you drag "Topics Found"
Window over Parent Window.
2)When I invoke "Topics Found" window,we get waitcursor signalling busy.

NB: We need to display HTMLHelp Window after selecting from "Topics Found" Window.
Otherwise please provide us any alternative solution.

We want to display help files(.chm format) using HTMLHelp API in a particular format.
HH_KEYWORD_LOOKUP command is used with HtmlHelp API to search for one or more Keywords
in a compiled HTML Help (.chm) File and display it in a "Topics Found" window.
We have some issues with using the HH_KEYWORD_LOOKUP command.

1)When we invoke "Topics Found" window using HH_KEYWORD_LOOKUP command, the parent window from which the "Topics Found" window was invoked doesn't get re-drawn. When you drag the "Topics Found" Window over Parent Window, all the display of the parent window gets erased and is not redrawn. But when we close the invoked "Topics Found" window, the parent window gets re-drawn.

2)When we invoke "Topics Found" window, and move the cursor out-side of the "Topics Found" window ,we get a wait cursor.

NB: We need to display HTMLHelp Window after selecting from "Topics Found" Window.
Otherwise please provide us any alternative solution.

shabbir 21Aug2006 11:15

Re: HtmlHelp API Issue
 
Welcome to G4EF.
Quote:

Originally Posted by shaffiqleo
1)It gives Redraw Issues to OwnerWindow or Parent Window when you drag "Topics Found" Window over Parent Window.

Thats normal for any window. You will get the paint messages for other windows that comes ahead of your current window. That may be true if you place notepad infront of your parent window.
Quote:

Originally Posted by shaffiqleo
2)When I invoke "Topics Found" window,we get waitcursor signalling busy.

Thats because it needs searching the topics and if it takes long waitcursor is good way to indiacte the user that we are doing some processing.


All times are GMT +5.5. The time now is 15:16.