Horizontal Scroll Bar on a List Control

new topic     » topic index » view thread      » older message » newer message

This is a multi-part message in MIME format.

------=_NextPart_000_0029_01C0C4EC.AC8817E0
	charset="iso-8859-1"

I screwed up the subject heading last time, so let me start again:

I have spent hours trying to get a List control to add a Horizontal =
Scroll Bar.  Can this even be done?  Here is the code snippet I have =
been dealing with:

constant . . .
    List1    =3D create  ( List, "", Win, 10, 10, 500, 400, WS_VSCROLL )

Now, if you note in the "win32lib" documentation, "WS_VSCROLL" is the =
only valid flag/attribute in this context, and yet, a list control =
already utilizes a vertical scroll bar by default, does it not?  =
Therefore, shouldn't the flag be WS_HSCROLL?  BTW, "WS_HSCROLL" doesn't =
work either.  Am using v0.50 . . .

BTW, I did do a search in the mailing list for this and there doesn't =
appear to have been a discussison about this before . . .

------=_NextPart_000_0029_01C0C4EC.AC8817E0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I screwed up the subject heading last =
time, so let=20
me start again:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have spent hours trying to get a List =
control to=20
add a Horizontal Scroll Bar.&nbsp; Can this even be done?&nbsp; Here is =
the code=20
snippet I have been dealing with:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>constant . . .</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>&nbsp;&nbsp;&nbsp; =
List1&nbsp;&nbsp;&nbsp;=20
=3D create&nbsp; ( List, "",&nbsp;Win, 10, 10, 500, 400, WS_VSCROLL =
)</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Now, if you note in =
the&nbsp;"</FONT><FONT=20
face=3DArial size=3D2>win32lib" documentation, "WS_VSCROLL" is the =
only&nbsp;valid=20
flag/attribute in this context, and yet, a&nbsp;list control=20
already&nbsp;utilizes a vertical scroll bar by default, does it=20
not?&nbsp;&nbsp;Therefore, shouldn't the flag be WS_HSCROLL?&nbsp; BTW,=20
"WS_HSCROLL" doesn't work either.&nbsp; Am using v0.50 . . =
.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>BTW, I did do a search in the mailing =
list for this=20
and there doesn't appear to have been a discussison about this before . =
.=20

------=_NextPart_000_0029_01C0C4EC.AC8817E0--

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu