TDialog() Maximized!?

Post Reply
User avatar
JC
Posts: 445
Joined: Thu Feb 21, 2008 11:58 am
Location: Brazil
Contact:

TDialog() Maximized!?

Post by JC »

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
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Post by Otto »

Hello Júlio,
have a look at the Fivewin sample:
testdlg7.prg
Regards,
Otto

Code: Select all

// 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
JC
Posts: 445
Joined: Thu Feb 21, 2008 11:58 am
Location: Brazil
Contact:

Post by JC »

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
Post Reply