From: Daniel <dan...@ya...> - 2006-12-18 12:44:38
|
Hi all, I tried to use Wx::HtmlWindow but it doesn't work. I have this: ###### code sub F_Help { my $panel = shift; my $tab = shift; my $dialog = Wx::Window->new( $panel, # parent window -1, # ID [-1, -1], # position [820, 650], # default size ); $dialog -> Centre(); $dialog -> Show(1); $dialog->{HtmlWindow}{"hilfe"} = Wx::HtmlWindow->new( $dialog, # parent window -1, # Fenter id [-1,-1], # Position x/y [800, 600], # Größe x/y 1, "Hilfe zum Punkt $tab" ); $dialog->{HtmlWindow}{"hilfe"} ->LoadPage("C:\\daten\\hilfe\\startseite.html"); } ##### end code $panel is of type Wx::Panel What I get i a plain box without any frames, Headline, Buttons, Scrollbars etc. The html-page is shown, but the Main-Window in the background is still active. I searched in the demo, but Wx::HtmlWindow is not used there. Any tips would be great. Thanks and regards Daniel ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |