First, I want to send huge amounts of thanks to Mr. Calpini, for his work
in developing this. I've always believed I couldn't really do development
for Win32, because the Win32 API was so cryptic. Having an actual Perl
front end -- a language with which I'm familiar from the Unix world -- is
wonderful beyond belief. Thank you!
I've run into a couple of problems, and until now have been able to find
the answers on the 'net or on this list. This one, though, has me
stumped. I've seen others with the same issue, tried the solutions
recommended for them, and no dice.
Basically, I have a Combobox that I'm trying to display to the user. I've
populated it with, for the test, about 12 items. It displays only the
original items; the others are accessible through the keyboard, but not
up-down scrolling list is available. It just shows the first 10 or so.
$Step2Source = $NewDlg->AddCombobox (
-name=>"NewJobWizardStep2Source",
-tabstop=>1,
-left=>145,
-top=>168,
-width=>280,
-height=>100,
-addstyle=>WS_VISIBLE | 3 | WS_VSCROLL | WS_TABSTOP);
if ($numjobs > 0) {
my $thisjob;
foreach $thisjob (sort keys %joblist) {
$thisjob =~ s/.firebak$//i;
$Step2Source->InsertItem ($thisjob);
}
}
I've tried about every variation on this I can think of, with no dice.
The Combobox appears, and can drop down, and everything's there. But no
listbox. I've tried using the scroll=>1 parameter. Tried just about
every combination of the styles I can think of, including -addstyle and
-style both. No luck. As far as I can tell, my code is basically
identical to all the examples out there. Ideas?
Joel