ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018. Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.
If you require a dump of the post on your message board, please come to the support board and request it.
« Thread started on: Feb 27th, 2018, 9:24pm »
In the example program MULTIDEM.BBC the main window opens with four pop_up windows. I can not see a way of closing them. Is it possible to change the style so they have minimise, maximaise and close buttons?
It's always possible, but not necessarily how you first thought. Chin up and try again.
Re: POP_UP windows
« Reply #1 on: Feb 28th, 2018, 10:53am »
You can close them with the PROC_closewin(n%), as long as it isn't the currently selected window.
To change the window style you'd need to alter the values of the windows style and/or the extended windows style, which are the parameters s% and e%. However, it's possible that the buttons you want aren't allowed for pop-up windows? It looks like adding &30000 to the window style should add WS_MINIMIZEBOX and WS_MAXIMIZEBOX, though it doesn't seem to, and I can't see a code for "close window box".
As usual, if you want to know stuff like that, Richard is probably your best port of call if MSDN doesn't help enough...