FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Window Mdi Buttons
Posts: 603
Joined: Sun May 04, 2008 08:44 PM
Window Mdi Buttons
Posted: Sat Feb 27, 2010 09:40 PM
How make to dont show this button
when use window MDI



i dont wanna use menu too.

thanks
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Window Mdi Buttons
Posted: Sat Feb 27, 2010 10:28 PM


Code (fw): Select all Collapse
function CreateChild()
local oWndChild
local oBar, oBtn
local cName := "Hello"

DEFINE WINDOW oWndChild MDICHILD OF oWnd NOSYSMENU 

DEFINE BUTTONBAR oBar OF oWndChild

DEFINE BUTTON OF oBar ACTION oWndChild:End()

@ 3, 3 GET cName OF oWndChild SIZE 120, 25 VALID ! Empty( cName )

@ 6, 2 BUTTON oBtn PROMPT "&Test" OF oWndChild SIZE 80, 20 ;
ACTION MsgInfo( GetProp( oBtn:hWnd, "WP" ) )

ACTIVATE WINDOW oWndChild 

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.
Posts: 603
Joined: Sun May 04, 2008 08:44 PM
Re: Window Mdi Buttons
Posted: Sun Feb 28, 2010 12:04 AM

I use this:

oWndMain:ChildNew(,,,,NewTitle)

How use ?

thhanks

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Window Mdi Buttons
Posted: Sun Feb 28, 2010 02:58 PM
Lailton,

Code (fw): Select all Collapse
oWndMain:ChildNew(,,,,NewTitle, nOr( WS_CLIPCHILDREN, WS_VISIBLE, WS_THICKFRAME, WS_CAPTION, WS_MINIMIZEBOX, WS_MAXIMIZEBOX ) )
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 603
Joined: Sun May 04, 2008 08:44 PM
Re: Window Mdi Buttons
Posted: Sun Feb 28, 2010 06:05 PM

Thanks,

Work perfect !

Continue the discussion