Define WinDow :: SubWin1 title "test" mdichild of oWnd sTyle;
nOr (WS_CLIPCHILDREN, WS_VISIBLE, 0,0,0,0,0,0,0,0)
If you run this window multiple times
Window's window event does not work.
BResize, bPainted, etc.
Define WinDow :: SubWin1 title "test" mdichild of oxwnd NOSYSMENU
This window works normally.
Both older and older versions worked
Is it changed or is it a bug?
We will contact you about MdiChild.
Re: We will contact you about MdiChild.
https://www.youtube.com/watch?v=QOxsP0J ... e=youtu.be
It is a program we are making now
This is how we want to make it.
In the mdichild window, the child dialog window moves around
The control in the dialog window is automatically resized when the window changes.
It is a program we are making now
This is how we want to make it.
In the mdichild window, the child dialog window moves around
The control in the dialog window is automatically resized when the window changes.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: We will contact you about MdiChild.
kkwan,
This example seems to work fine. Please modify it to use it as an example:
This example seems to work fine. Please modify it to use it as an example:
Code: Select all
#include "FiveWin.ch"
function Main()
local oWnd, oBar
DEFINE WINDOW oWnd MDI
DEFINE BUTTONBAR oBar OF oWnd 2010 SIZE 70, 70
DEFINE BUTTON OF oBar PROMPT "New" ACTION NewChild( oWnd )
ACTIVATE WINDOW oWnd
return nil
function NewChild( oWnd )
local oWndChild
DEFINE WINDOW oWndChild MDICHILD OF oWnd STYLE nOr( WS_CAPTION, WS_BORDER, WS_CLIPCHILDREN, WS_VISIBLE )
// oWndChild:Show()
return nil
Re: We will contact you about MdiChild.
Thank you for your reply.
The point of the question is
When setting a window box to no style
If the dialog with child is resized, there is no glitter.
However, if you use NOSYSMENU or STYLE nOr (WS_CAPTION, WS_BORDER, WS_CLIPCHILDREN, WS_VISIBLE)
The first time the window box is loaded and resized, the screen flickers.
So I killed and solved all styles.
But when you open the window from another menu
The event is not working.
I will adapt to the new environment according to your advice.
thank you.
The point of the question is
When setting a window box to no style
If the dialog with child is resized, there is no glitter.
However, if you use NOSYSMENU or STYLE nOr (WS_CAPTION, WS_BORDER, WS_CLIPCHILDREN, WS_VISIBLE)
The first time the window box is loaded and resized, the screen flickers.
So I killed and solved all styles.
But when you open the window from another menu
The event is not working.
I will adapt to the new environment according to your advice.
thank you.