Re: Status bar in Win32Lib?

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

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

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

Search



Quick Links

User menu

Not signed in.

Misc Menu