Horizontal Scroll Bar on a List Control
- Posted by jjnick at cvn.com Apr 14, 2001
- 360 views
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> </DIV> <DIV><FONT face=3DArial size=3D2>I have spent hours trying to get a List = control to=20 add a Horizontal Scroll Bar. Can this even be done? Here is = the code=20 snippet I have been dealing with:</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3D"Courier New" size=3D2>constant . . .</FONT></DIV> <DIV><FONT face=3D"Courier New" size=3D2> = List1 =20 =3D create ( List, "", Win, 10, 10, 500, 400, WS_VSCROLL = )</FONT></DIV> <DIV><FONT face=3D"Courier New" size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Now, if you note in = the "</FONT><FONT=20 face=3DArial size=3D2>win32lib" documentation, "WS_VSCROLL" is the = only valid=20 flag/attribute in this context, and yet, a list control=20 already utilizes a vertical scroll bar by default, does it=20 not? Therefore, shouldn't the flag be WS_HSCROLL? BTW,=20 "WS_HSCROLL" doesn't work either. Am using v0.50 . . = .</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </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--