Behavior of HTML Help window

wxWindows

    Next

  • 1. Socket Events
    I am creating a program that can download multiple files at once, using one socket per file. I can do this well with one socket where the event is explicitly declared in the wxFrame events table, so it is ok for 1 socket, but how can I easily support N sockets? -- Chris Pilkington XXXX@XXXXX.COM --------------------------------------------------------------------- To unsubscribe, e-mail: XXXX@XXXXX.COM For additional commands, e-mail: XXXX@XXXXX.COM
  • 2. [wxBase-2.5.3 on Linux] wxTimer in wxBase
    Before I go after coding my own, I just wanted to confirm that wxBase does not implement wxTimer. Is that the case? Sorry if this is a FAQ, but I couldn't find anything mentioning it in the archives. To that end, is there a definitive list of the classes wxBase does and does not contains? Thanks, -Andrew --------------------------------------------------------------------- To unsubscribe, e-mail: XXXX@XXXXX.COM For additional commands, e-mail: XXXX@XXXXX.COM

Behavior of HTML Help window

Postby Jerome Breitenbach » Tue, 09 Jun 2009 02:40:21 GMT

When I build and run on Windows XP the HTML Help sample of wxWidgets
2.8.9 located in
    C:\wxMSW-2.8.9\samples\html\help\,
the appearance of the resulting help window does not match the options
stated for the wxHtmlHelpController constructor at
     http://www.**--****.com/ 
Specifically, although the code in
    C:\wxMSW-2.8.9\samples\html\help\help.cpp
constructs its wxHtmlHelpController object "help" using
    help(wxHF_DEFAULT_STYLE | wxHF_OPEN_FILES)
the appearance of the help window does not have the style described in
the wxWidgets documentation for the option
    wxHF_ICONS_FOLDER,
which is subsumed in wxHF_DEFAULT_STYLE.  Namely, the top-level nodes
"Test HELPFILE" and "Another book" in the help window should be
indicated with a book icon, whereas the secondary node "Book 2" under
"Another book" should have a folder icon; but, instead, *all* of the
nodes have the book icon.

Interestingly, using the exact same code on Linux with wxWidgets 2.8
produces the expected behavior: a folder icon for "Book 2".  At first,
then, I thought that the WinXP operating system was somehow overriding
the wxWidgets application.  This conjecture was bolstered by the
documentation of the alternative option
    wxHF_ICONS_BOOK,
which states that the behavior I'm observing on WinXP "is how
Microsoft's HTML help viewer behaves."  And, perhaps having Microsoft
HTML Help Workshop installed didn't help matters.  However, the
wxWidgets application Audacity 1.2.6 is also installed on this computer,
yet its help window shows folder icons for secondary nodes even though
the Audacity source code (viz., src\Help.cpp) apparently does nothing
substantially different than the wxWidgets sample.

Can anyone explain to me why the wxWidgets sample doesn't show a folder
icon for its secondary node--and, how to make it so?  (I'm betting that
the explanation will be pretty simple. :-) )

Jerome

Re: Behavior of HTML Help window

Postby Jerome Breitenbach » Wed, 10 Jun 2009 23:34:17 GMT

Having done some further poking around, I suspect that the reason for
the problem is that the file
    c:/wxMSW-2.8.9/art/htmfoldr.xpm
does not contain the image of a folder, but rather the exact same book
image as in
    c:/wxMSW-2.8.9/art/htmbook.xpm.
Is this a bug?  (It wouldn't explain, though, why my Linux version of
the wxWidgets sample correctly shows a folder icon for the secondary
node.  Could that be because I installed wxWidgets from the Ubuntu
repositories rather than compiling it myself from the latest source?)

Jerome

Similar Threads:

1.Outlook Express and html window behavior

A senior I know has OE 6.0 as his email client. When he gets an email that 
has an html link in the bodyand clicks on it, his system (a new Dell 4600 
with XP Home) opens IE 6 in a window BEHIND all currently open windows (he 
sometimes misses the opening). I had him send me the email and it opens on 
top of all my currently open windows on my  XP Home machine.
Ever seen this behavior and any clues how to solve it? I have visited OE MVP 
sites and google with no luck to date.



2.HTML Help in Windows 2000 or Windows XP Support and Help



Return to wxWindows

 

Who is online

Users browsing this forum: No registered users and 15 guest