BBC BASIC for Windows
Programming >> BBC BASIC language >> Running minimized http://bb4w.conforums.com/index.cgi?board=language&action=display&num=1384807155 Running minimized
Post by g3nrw on Nov 18th, 2013, 7:39pm
I have just completed a program that is liberally sprinkled with print statements that report status and progress on the monitor window. It works fine.
I have now been asked to add an option to start the program minimized (i.e. when the program starts, it creates a minimised window that can later be expanded by clicking on the tab in the Windows Taskbar). How do I do this?
Ian Re: Running minimized
Post by admin on Nov 18th, 2013, 8:10pm
What I really want to do is: 1. Start the program, with window minimized. 2. Fetch an option from a .ini file 3. If option is true, leave window minimized. If false, open the window.
You still want to start the program minimised, so the solution I offered is still the right one. To achieve the above all you need to do is restore (or maximise, as appropriate) the window when the option says so.
One of these days I will find my way into all the crooks and nannies of the BB4W documentation, which to me seems to be spread "all over the place".
As far as 'formal' documentation is concerned there are only two sources: the main Help manual shipped with BB4W itself - accessed e.g. by pressing F1 (and also available online) - and the Wiki (BB4W Programmers' Reference). They are both linked from the BBC BASIC for Windows Resources panel at the top of this group's home page.