Dialog inside oMDI:oWndClient

Dialog inside oMDI:oWndClient

Postby fraxzi » Mon Jul 02, 2018 9: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
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Re: Dialog inside oMDI:oWndClient

Postby Silvio.Falconi » 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 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
Silvio.Falconi
 
Posts: 6849
Joined: Thu Oct 18, 2012 7:17 pm

Re: Dialog inside oMDI:oWndClient

Postby fraxzi » 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.

: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
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Re: Dialog inside oMDI:oWndClient

Postby Antonio Linares » Mon Jul 02, 2018 6: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41404
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Dialog inside oMDI:oWndClient

Postby fraxzi » 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:
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
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Re: Dialog inside oMDI:oWndClient

Postby Antonio Linares » Tue Jul 03, 2018 6:15 am

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41404
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Dialog inside oMDI:oWndClient

Postby fraxzi » 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
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Re: Dialog inside oMDI:oWndClient

Postby Antonio Linares » Thu Jul 05, 2018 6: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41404
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 20 guests