BBC BASIC for Windows
« Docking a dialogue box in an MDI interface »

Welcome Guest. Please Login or Register.
Apr 5th, 2018, 10:26pm



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: Docking a dialogue box in an MDI interface  (Read 891 times)
JB91
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 47
xx Docking a dialogue box in an MDI interface
« Thread started on: Jun 19th, 2014, 7:42pm »

Hello,

Is it possible to dock a dialogue box into a window of a MDI interface?

Thanks , Josh
User IP Logged

rtr
Guest
xx Re: Docking a dialogue box in an MDI interface
« Reply #1 on: Jun 21st, 2014, 06:30am »

on Jun 19th, 2014, 7:42pm, JB91 wrote:
Is it possible to dock a dialogue box into a window of a MDI interface?

My earlier reply seems to have evaporated, so, once again - I don't think I have ever tried it but I can't think of any reason why it shouldn't work. Does it seem to?

Richard.
User IP Logged

JB91
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 47
xx Re: Docking a dialogue box in an MDI interface
« Reply #2 on: Jun 21st, 2014, 07:19am »

I can't seem to get it to work. The docked dialogue box refuses any interaction and the title bar of the window disappears. sad
User IP Logged

rtr
Guest
xx Re: Docking a dialogue box in an MDI interface
« Reply #3 on: Jun 21st, 2014, 3:49pm »

on Jun 21st, 2014, 07:19am, JB91 wrote:
I can't seem to get it to work. The docked dialogue box refuses any interaction and the title bar of the window disappears. sad

The title bar disappearing will probably be just an inappropriate style value (make sure that WS_CAPTION is set).

The lack of interaction may mean that the WndProc in MDILIB.BBC needs to be amended to forward the appropriate message(s) to the parent window. As that is assembler code it's a non-trivial modification.

Richard.
User IP Logged

JB91
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 47
xx Re: Docking a dialogue box in an MDI interface
« Reply #4 on: Jun 22nd, 2014, 2:07pm »

I can't seem to get that to work either - I probably should learn some more assembly language! smiley
User IP Logged

rtr
Guest
xx Re: Docking a dialogue box in an MDI interface
« Reply #5 on: Jun 23rd, 2014, 7:57pm »

on Jun 22nd, 2014, 2:07pm, JB91 wrote:
I can't seem to get that to work either - I probably should learn some more assembly language! smiley

Microsoft consider the MDI to be largely obsolete - they no longer use it in any of their products AFAIK. Although it's still notionally supported by the Win32 API, you may have more success by avoiding the use of the MDI and doing things another way.

Richard.
User IP Logged

JB91
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 47
xx Re: Docking a dialogue box in an MDI interface
« Reply #6 on: Jun 26th, 2014, 3:51pm »

Thank you for your advice, Richard. I shall try to use a different method instead of the MDI.

I realise now that the user most likely want to resize the dialogue box, which will probably require repositioning its contents - a task that sounds quite tedious.

Once again, thank you! wink
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