Hi,
Is it possible to include a CHMHelpController control in a window that
contains other controls, or it can be used just in its separate window?
I have tried the test application below, and I see that the
CHMHelpController window is opened below the main window, but as the last
window in the list of windows (when they are changed using Alt+Tab).
Is it possible to force it open as the first window that gets the focus (and
to appear above the main window)?
Thank you.
Here is the code:
use strict;
use Wx;
package Frame;
use strict;
use Wx::Help;
use base qw(Wx::Frame);
sub new {
my $self = shift->SUPER::new(undef, -1, "The test");
$self->{chm_help} = Wx::CHMHelpController->new;
my $chm_file = "E:/lucru/WXPerl/test4/example.chm";
$self->{chm_help}->Initialize($chm_file);
$self->{chm_help}->DisplayContents;
$self->Show(1);
return $self;
}
1;
sub main;
use Frame;
my $frame = Frame->new();
Wx::SimpleApp->new()->MainLoop();
Octavian