Hi all,
This one's got me stumped I'm afraid, and I suspect that there's a real simple answer to it but it's simply eluded me, so if anyone would be so kind as to point me in the right direction I would be so very grateful...
What I want to do is, when a user pushes a toggle button, the window width increases so that on the right hand side a text box displays that has some help text in it. When they push the button again the window width decreases, effectively hiding the box.
I just can't figure out how to change the width of the active window. ResizeGadget doesn't work as it's a window, not a gadget, and I haven't had any luck trawling the posts for examples of window resizing. There's plenty of info about openwindow etc, but I need this to work on an already opened screen as the users will have unsaved data I need to retain.
Can anyone help please?
Many thanks,
David
Programatically Resizing Windows
Programatically Resizing Windows
Valui ad satanam in computatrum meum invocandum
Re: Programatically Resizing Windows
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Re: Programatically Resizing Windows
Awww, seriously! How on earth did I miss that? Thanks so much and my apologies for my documentation-blindnessts-soft wrote:http://www.purebasic.com/documentation/ ... indow.html

Valui ad satanam in computatrum meum invocandum