Dialog inside oMDI:oWndClient

Post Reply
User avatar
fraxzi
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines
Contact:

Dialog inside oMDI:oWndClient

Post by fraxzi »

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
User avatar
Silvio.Falconi
Posts: 7141
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 1 time

Re: Dialog inside oMDI:oWndClient

Post 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
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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
User avatar
fraxzi
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines
Contact:

Re: Dialog inside oMDI:oWndClient

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

: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
User avatar
Antonio Linares
Site Admin
Posts: 42549
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 78 times
Contact:

Re: Dialog inside oMDI:oWndClient

Post 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 )
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
fraxzi
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines
Contact:

Re: Dialog inside oMDI:oWndClient

Post 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:
Image

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
User avatar
Antonio Linares
Site Admin
Posts: 42549
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 78 times
Contact:

Re: Dialog inside oMDI:oWndClient

Post by Antonio Linares »

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

Antonio Linares
www.fivetechsoft.com
User avatar
fraxzi
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines
Contact:

Re: Dialog inside oMDI:oWndClient

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

: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
User avatar
Antonio Linares
Site Admin
Posts: 42549
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 78 times
Contact:

Re: Dialog inside oMDI:oWndClient

Post 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 :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply