FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Dialog inside oMDI:oWndClient
Posts: 811
Joined: Tue May 06, 2008 04:28 AM
Dialog inside oMDI:oWndClient
Posted: Mon Jul 02, 2018 09:16 AM

Hi All,

I have this dialog I called "monitoring" which has xBrowse defined from Resource.

I'd like to stick it on :oWndClient of an MDI windows and at the same time open MDIChilds..
i'd like the dialog in :oWndClient 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?

:?:

Kind Regards,

Frances



Fivewin for xHarbour v18.07

xHarbour v1.2.3.x

BCC 7.3 + PellesC8 ( Resource Compiler only)

ADS 10.1 / MariaDB

Crystal Reports 8.5/9.23 DE

xMate v1.15
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Dialog inside oMDI:oWndClient
Posted: Mon Jul 02, 2018 10:30 AM

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

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 811
Joined: Tue May 06, 2008 04:28 AM
Re: Dialog inside oMDI:oWndClient
Posted: Mon Jul 02, 2018 12:58 PM
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.

:-)
Kind Regards,

Frances



Fivewin for xHarbour v18.07

xHarbour v1.2.3.x

BCC 7.3 + PellesC8 ( Resource Compiler only)

ADS 10.1 / MariaDB

Crystal Reports 8.5/9.23 DE

xMate v1.15
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Dialog inside oMDI:oWndClient
Posted: Mon Jul 02, 2018 06:51 PM

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 )

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 811
Joined: Tue May 06, 2008 04:28 AM
Re: Dialog inside oMDI:oWndClient
Posted: Tue Jul 03, 2018 12:41 AM
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).

:-) :-) :-)
Kind Regards,

Frances



Fivewin for xHarbour v18.07

xHarbour v1.2.3.x

BCC 7.3 + PellesC8 ( Resource Compiler only)

ADS 10.1 / MariaDB

Crystal Reports 8.5/9.23 DE

xMate v1.15
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Dialog inside oMDI:oWndClient
Posted: Tue Jul 03, 2018 06:15 AM

Simply replace the explorerbar with the non modal dialog you want to use

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 811
Joined: Tue May 06, 2008 04:28 AM
Re: Dialog inside oMDI:oWndClient
Posted: Thu Jul 05, 2018 12:30 AM

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.


:idea::idea::idea:

Kind Regards,

Frances



Fivewin for xHarbour v18.07

xHarbour v1.2.3.x

BCC 7.3 + PellesC8 ( Resource Compiler only)

ADS 10.1 / MariaDB

Crystal Reports 8.5/9.23 DE

xMate v1.15
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Dialog inside oMDI:oWndClient
Posted: Thu Jul 05, 2018 06:36 AM

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 :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion