HtmlHelp API Issue

Discussion in 'Win32' started by shaffiqleo, Aug 21, 2006.

  1. shaffiqleo

    shaffiqleo New Member

    Joined:
    Aug 21, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    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.
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Welcome to G4EF.
    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.
    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.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice