BBC BASIC for Windows
« Multiple windows run from a BBC BASIC program »

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



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: Multiple windows run from a BBC BASIC program  (Read 1290 times)
simong42
New Member
Image


member is offline

Avatar




PM


Posts: 14
xx Re: Multiple windows run from a BBC BASIC program
« Reply #8 on: Jan 16th, 2012, 09:15am »

In the event, I plumped for a couple of child windows using MULTIWIN. I can position the child windows on creation - is there any way I can set the position of the parent window?
User IP Logged

admin
Administrator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 1145
xx Re: Multiple windows run from a BBC BASIC program
« Reply #9 on: Jan 16th, 2012, 1:08pm »

on Jan 16th, 2012, 09:15am, simong42 wrote:
is there any way I can set the position of the parent window?

You can move any window using either SYS "MoveWindow" or SYS "SetWindowPos":

http://msdn.microsoft.com/en-us/library/windows/desktop/ms633534.aspx
http://msdn.microsoft.com/en-us/library/windows/desktop/ms633545.aspx

Bear in mind that the coordinates of a child window are with respect to its parent's client area, whereas the position of a top-level window is set in screen coordinates.

Richard.
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