Create MDI in dialog?

Create MDI in dialog?

Postby sambomb » Mon Jan 21, 2013 7:52 pm

Can this be done?

Code: Select all  Expand view

tela normal
 
+----------------------+
|      dialog          |
|                      |
|                      |
|                      |
|                      |
+----------------------+
Desired
+----------------------+
|      dialog          |
|                      |
|  +--------+          |
|  | MDIDLG |          |
|  +--------+          |
+----------------------+

 
Email: SamirSSabreu@gmail.com
xHarbour 1.2.3 + Fwhh 20.2
User avatar
sambomb
 
Posts: 388
Joined: Mon Oct 13, 2008 11:26 am
Location: Itaocara - RJ - Brasil

Re: Create MDI in dialog?

Postby fraxzi » Tue Jan 22, 2013 7:31 am

I think not.

-make mdi window (frame) ..create dialog as child to this frame.
-make mdi window child (frame as parent).. create dialog as child to this mdi child



my two cents.
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: Create MDI in dialog?

Postby sambomb » Tue Jan 22, 2013 10:27 am

I have a dialog that I redefine from resource, and I wanted to add a MDI child to that dialog...
Email: SamirSSabreu@gmail.com
xHarbour 1.2.3 + Fwhh 20.2
User avatar
sambomb
 
Posts: 388
Joined: Mon Oct 13, 2008 11:26 am
Location: Itaocara - RJ - Brasil

Re: Create MDI in dialog?

Postby ukoenig » Tue Jan 22, 2013 12:01 pm

FUNCTION DLG_MAIN()
LOCAL oDlg1

DEFINE DIALOG oDlg1 RESOURCE "MAIN" TITLE "Main-Dialog" TRANSPARENT
...
...
ACTIVATE DIALOG oDlg1 CENTER ;
ON INIT DLG_CHILD( oDlg1 )

RETURN( NIL )

// ------------------

FUNCTION DLG_CHILD( oDlg1 )
LOCAL oDlg2

DEFINE DIALOG oDlg2 OF oDlg1 RESOURCE "CHILD" TITLE "Child-Dialog" TRANSPARENT
...
...
ACTIVATE DIALOG oDlg2 NOWAIT

RETURN NIL

Best Regards
Uwe :?:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Create MDI in dialog?

Postby sambomb » Tue Jan 22, 2013 1:31 pm

Uwe, can you post a image of how this will work?
Email: SamirSSabreu@gmail.com
xHarbour 1.2.3 + Fwhh 20.2
User avatar
sambomb
 
Posts: 388
Joined: Mon Oct 13, 2008 11:26 am
Location: Itaocara - RJ - Brasil


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 115 guests