Window Mdi Buttons

Window Mdi Buttons

Postby lailton.webmaster » Sat Feb 27, 2010 9:40 pm

How make to dont show this button
when use window MDI

Image

i dont wanna use menu too.

thanks
lailton.webmaster
 
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

Re: Window Mdi Buttons

Postby ukoenig » Sat Feb 27, 2010 10:28 pm

Image

Code: Select all  Expand view

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 :lol:
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: Window Mdi Buttons

Postby lailton.webmaster » Sun Feb 28, 2010 12:04 am

I use this:

oWndMain:ChildNew(,,,,NewTitle)

How use ?

thhanks
lailton.webmaster
 
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

Re: Window Mdi Buttons

Postby Antonio Linares » Sun Feb 28, 2010 2:58 pm

Lailton,

Code: Select all  Expand view

oWndMain:ChildNew(,,,,NewTitle, nOr( WS_CLIPCHILDREN, WS_VISIBLE, WS_THICKFRAME, WS_CAPTION, WS_MINIMIZEBOX, WS_MAXIMIZEBOX ) )
 
regards, saludos

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

Re: Window Mdi Buttons

Postby lailton.webmaster » Sun Feb 28, 2010 6:05 pm

Thanks,

Work perfect !
lailton.webmaster
 
Posts: 603
Joined: Sun May 04, 2008 8:44 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 110 guests