At 01:13 2003-05-11 -0500, Joel Ricketts wrote:
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);
That should work. 3 is the
-addstyle", 0x0003)); #CBS_DROPDOWNLIST
and this enables the vertical scroll bar:
-addstyle", 0x00200000)); #WS_VSCROLL
So it _should_ work. Why it doesn't, I don't know. Maybe if you remove some
of the other styles until it works.
Or if you, ehrm, use The GUI Loft, where it simply works right away :)
(set the ScrollV property on the ComboBox)
http://www.bahnhof.se/~johanl/perl/Loft/
/J
-------- ------ ---- --- -- -- -- - - - - -
Johan Lindström Sourcerer @ Boss Casinos [EMAIL PROTECTED]
Latest bookmark: "Win32-GUI Perl module"
http://www.jeb.ca/perl/win32_module.htm
dmoz (1 of 7): .../Software/Operating_Systems/Graphic_Subsystems/ 19