FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Minimize Problem.
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Minimize Problem.
Posted: Wed Apr 08, 2015 11:30 AM

Hi,

I use "WINDOW" as a main application. Others "DIALOG". I dont use resources. Fwh 15.03 & msvc 2013.

My problem is that I cannot minimize my all programs window/dialogs when one of my dialog is opened.

How Can I solve my problem. Should I change the MDI?

Thanks.

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Minimize Problem.
Posted: Wed Apr 08, 2015 12:14 PM
Hakan,

If you use the style WS_MINIMIZEBOX with the dialog, then you may be able to minimize it:

Code (fw): Select all Collapse
#include "FiveWin.ch"

function Main()

   local oDlg

   DEFINE DIALOG oDlg STYLE nOr( WS_POPUP, WS_VISIBLE, WS_CAPTION, WS_SYSMENU, WS_THICKFRAME,;
                               WS_MINIMIZEBOX )

   ACTIVATE DIALOG oDlg CENTERED

return nil
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: Minimize Problem.
Posted: Wed Apr 08, 2015 01:23 PM

Thank you Antonio,

The Dialogs can minimize now. Is it also possible to minimize other parent dialogs and main window at the same time?

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06

Continue the discussion