BBC BASIC for Windows
« Creating a child window »

Welcome Guest. Please Login or Register.
Apr 5th, 2018, 11:18pm



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.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Creating a child window  (Read 1050 times)
rtr
Guest
xx Re: Creating a child window
« Reply #5 on: Jul 28th, 2014, 8:18pm »

on Jul 28th, 2014, 7:05pm, g3nrw wrote:
That's "all" there is to it really.

I'm rather confused. The thread subject is 'Creating a child window' and the code snippets you have listed have confirmed that by containing a call to FN_createwindow.

Yet now you seem to be saying that what you want to do is to open a second dialogue box - which you already know how to do because it's just the same as opening the first one! So where does the child window come into it?

Opening another dialogue box as a result of clicking a button is a common requirement, for example exactly that happens in the BB4W IDE (or the LBB IDE) if you click on the 'Change icon' button in the 'Compile' dialogue.

'Cascaded' dialogues do not (conventionally) have a parent-child relationship - not least because you don't want the second dialogue to be constrained to be within the client area of the first. Rather, you would normally make the second dialogue a 'modal' popup window - that's what happens in the case of the 'Change icon' dialogue as you can see for yourself.

Richard.
User IP Logged

g3nrw
Junior Member
ImageImage


member is offline

Avatar




PM


Posts: 74
xx Re: Creating a child window
« Reply #6 on: Jul 29th, 2014, 08:32am »

on Jul 28th, 2014, 8:18pm, Richard Russell wrote:
The thread subject is 'Creating a child window'


I included "child" in the Subject because I thought I needed a child...


Quote:
Yet now you seem to be saying that what you want to do is to open a second dialogue box


That's it exactly. I have now modified my DLGDEMO program to do just that, and it does what I expected.

Case closed. Thanks again Richard.

--
Ian
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls