TDialog() Maximized!?

TDialog() Maximized!?

Postby JC » Fri May 02, 2008 7:33 pm

Hi my friends!

Exists a way to do for define a new tdialog maximized, but without the maximize/restore button at top right corner?

Thanks!
Peace and lighting!

Júlio César M. Ferreira

FWH 8.10 / xHB 1.1.0 / xDevStudio 0.72 / Pelles C 5.0.1 / SQLLIB 1.9
User avatar
JC
 
Posts: 445
Joined: Thu Feb 21, 2008 11:58 am
Location: Brazil

Postby Otto » Fri May 02, 2008 9:40 pm

Hello Júlio,
have a look at the Fivewin sample:
testdlg7.prg
Regards,
Otto
Code: Select all  Expand view  RUN
// Defining a DialogBox with certain styles

#include "FiveWin.ch"

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

function Main()

   local oDlg

   SET _3DLOOK ON

   DEFINE DIALOG oDlg FROM 10, 10 TO 20, 40 ;
      TITLE "Dialog" STYLE nOr( WS_VISIBLE, WS_CAPTION, WS_THICKFRAME )

   @ 2, 2 BUTTON "&Hello" ACTION oDlg:End()

   ACTIVATE DIALOG oDlg

return nil

//----------------------------------------------------------------------------//
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Postby JC » Sat May 03, 2008 12:36 am

Thanks Otto!

That's It!
Peace and lighting!

Júlio César M. Ferreira

FWH 8.10 / xHB 1.1.0 / xDevStudio 0.72 / Pelles C 5.0.1 / SQLLIB 1.9
User avatar
JC
 
Posts: 445
Joined: Thu Feb 21, 2008 11:58 am
Location: Brazil


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 55 guests