1. Status bar in Win32Lib?
- Posted by MiCkeY <mickeysc at ZAZ.COM.BR> Jan 11, 2000
- 412 views
------=_NextPart_000_000E_01BF5C62.D682A5E0 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hi! I have some doubts about Win32Lib... How can I put a status bar in a window? global constant MWindow =3D create(Window, "Test", 0, Default, Default, = 200, 200, WS_DLGFRAME+WS_SYSMENU+WS_MINIMIZEBOX+?????) Thanks, Lu=EDs Fernando ------=_NextPart_000_000E_01BF5C62.D682A5E0 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>hi!</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>I have some doubts about = Win32Lib...</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>How can I put a status bar in a=20 window?</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2><BR>global constant MWindow =3D = create(Window,=20 "Test", 0, Default, Default, 200, 200,=20 <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Thanks,<BR>Lu=EDs = ------=_NextPart_000_000E_01BF5C62.D682A5E0--
2. Re: Status bar in Win32Lib?
- Posted by Judith Evans <camping at FLASH.NET> Jan 11, 2000
- 418 views
If you mean a status bar at the bottom of a window, then you do it like so: constant win=create(Window,"test",0,Default,Default,400,100,0) constant GStatus=create(StatusBar,"Text you want",win,0,0,0,34,0) It is always 0,0,0,34,0. Winlib will place it at the bottom of the window and resize it for you if you resize the window. To change the text after the window opens use: setText(GStatus,"new text") Judith Evans
3. Re: Status bar in Win32Lib?
- Posted by Brian Broker <bkb at CNW.COM> Jan 11, 2000
- 457 views
On Tue, 11 Jan 2000 16:21:48 -0500, Judith Evans wrote: >It is always 0,0,0,34,0. And, because the height is fixed, there is no need to even specify it... Just do: constant Win=create(Window,"test",0,Default,Default,400,100,0) constant Stat=create(StatusBar,"Text you want",Win,0,0,0,0,0) -- Brian