no modal dialog

no modal dialog

Postby damianodec » Thu Mar 16, 2017 1:42 pm

hi to All
which is the best use of no modal dialog?

I have my main window with menu that run an ACTION MYPROGR()...

My prog start with a DIALOG and in PELLES C properties are MODAl FRAME YES, SYSTEM MODAL NO
Code: Select all  Expand view

DEFINE DIALOG oDlg RESOURCE "DIALOG" FONT oFont TITLE "Title"
...
...
REDEFINE BTNBMP BtnOk ID 1 OF oDlg RESOURCE "OK"         ;
    ACTION (ESPCAT11(myAction(),oDlg:End())

ACTIVATE DIALOG oDlg CENTERED
 

when click on BtnOk start the process (about 10 minutes of process) but when it works the main windows does not minimized

how can I to minimizes main windows?

Thank you

ciao
Damiano
FiveWin for xHarbour 17.09 - Sep. 2017 - Embarcadero C++ 7.00 for Win32
FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)
Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
User avatar
damianodec
 
Posts: 419
Joined: Wed Jun 06, 2007 2:58 pm
Location: Italia

Re: no modal dialog

Postby damianodec » Fri Mar 17, 2017 7:29 am

hi guys

any help?

thank you
FiveWin for xHarbour 17.09 - Sep. 2017 - Embarcadero C++ 7.00 for Win32
FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)
Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
User avatar
damianodec
 
Posts: 419
Joined: Wed Jun 06, 2007 2:58 pm
Location: Italia

Re: no modal dialog

Postby Enrico Maria Giordano » Fri Mar 17, 2017 8:51 am

Can you show a reduced and self-contained sample of the problem, please?

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8713
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: no modal dialog

Postby damianodec » Sat Mar 18, 2017 2:06 pm

hi Enrico,
thank for your reply, I had some samples and now found it, thank you!

ciao
Damiano
FiveWin for xHarbour 17.09 - Sep. 2017 - Embarcadero C++ 7.00 for Win32
FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)
Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
User avatar
damianodec
 
Posts: 419
Joined: Wed Jun 06, 2007 2:58 pm
Location: Italia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 48 guests