Page 1 of 1
Dialog inside oMDI:oWndClient
Posted: Mon Jul 02, 2018 9:16 am
by fraxzi
Hi All,
I have this dialog I called "monitoring" which has xBrowse defined from Resource.
I'd like to stick it on

WndClient of an MDI windows and at the same time open MDIChilds..
i'd like the dialog in

WndClient functioning like a background, so when click the MDIChilds will not go behind.
The oMDI:oWndClient will remain active but not interfere with MDIChild behavior and also will not go as Top-Most dialog.
any Idea?

Re: Dialog inside oMDI:oWndClient
Posted: Mon Jul 02, 2018 10:30 am
by Silvio.Falconi
it is possible but style .nor. 4
1.create mdi window
2 create dialog style nor 4
3. ownd:ownclient
4 activate dialog no wait
Re: Dialog inside oMDI:oWndClient
Posted: Mon Jul 02, 2018 12:58 pm
by fraxzi
Silvio.Falconi wrote:it is possible but style .nor. 4
1.create mdi window
2 create dialog style nor 4
3. ownd:ownclient
4 activate dialog no wait
Thanks Mr. Sivio,
I already tried that but it is not what I am looking for.

Re: Dialog inside oMDI:oWndClient
Posted: Mon Jul 02, 2018 6:51 pm
by Antonio Linares
Frances,
Please review FWH\samples\test2003.prg
If it does not run fine, please comment these lines:
// SetParent( oOutLook2003:hWnd, oWnd:hWnd )
...
// SetParent( oSplit:hWnd, oWnd:hWnd )
Re: Dialog inside oMDI:oWndClient
Posted: Tue Jul 03, 2018 12:41 am
by fraxzi
Antonio Linares wrote:Frances,
Please review FWH\samples\test2003.prg
If it does not run fine, please comment these lines:
// SetParent( oOutLook2003:hWnd, oWnd:hWnd )
...
// SetParent( oSplit:hWnd, oWnd:hWnd )
Mr. Antonio,
Thanks for the reply. I actually made a very successful application based on Test2003 concept:

But I have this
new approach (
if it works), using MDI:oWndClient behind ChildWindow but still functioning as a monitoring panel-like container for xBrowse (or any other control).

Re: Dialog inside oMDI:oWndClient
Posted: Tue Jul 03, 2018 6:15 am
by Antonio Linares
Simply replace the explorerbar with the non modal dialog you want to use
Re: Dialog inside oMDI:oWndClient
Posted: Thu Jul 05, 2018 12:30 am
by fraxzi
Hi Mr. Antonio,
What I would like to do is paste a dialog on oWndMdi:oWndClient which does not overlapped with MDICHild... Or, a panel
floating behind MdiChilds.

Re: Dialog inside oMDI:oWndClient
Posted: Thu Jul 05, 2018 6:36 am
by Antonio Linares
Frances,
You have to select if you want it at the left, top, right or bottom of the oWndClient
the rest of the oWndClient area will be used by the MdiChilds
or you may place the dialog in a MdiChild
Please provide a drawing of what you want
