MsgWait()

Post Reply
User avatar
Raymond Fischbach
Posts: 48
Joined: Sun Oct 30, 2005 9:29 am
Location: Belgium
Contact:

MsgWait()

Post by Raymond Fischbach »

Hello,

I want to display a temporary message in my application. I found the function MsgWait().
I use the following code:

Code: Select all

MsgWait("Ouverture des fichiers...","Fmesure",2)
The problem is that the application hangs after the message has been displayed.

Any clue?

Many thanks
Raymond Fischbach
www.mouches.org
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Re: MsgWait()

Post by Richard Chidiak »

Raymond

Try a sysrefresh() after the call to msgwait or better use msgrun

this is a sample

MsgRun( "Synchro en Cours...", "Veuillez Patienter", { || SYNCRO(OWND),SYSREFRESH() } )

Hth

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Raymond Fischbach
Posts: 48
Joined: Sun Oct 30, 2005 9:29 am
Location: Belgium
Contact:

Re: MsgWait()

Post by Raymond Fischbach »

Hello Richard,

Thank you for the hint but none of them work.

I first tried with MsgRun() but I get an unresolved external symbol: HB_FUN_SYNCRO

Then I tried with SysRefresh() but the application seems to collapse after the message is displayed and the message window is closed.
Raymond Fischbach
www.mouches.org
User avatar
Raymond Fischbach
Posts: 48
Joined: Sun Oct 30, 2005 9:29 am
Location: Belgium
Contact:

Re: MsgWait()

Post by Raymond Fischbach »

Hello Richard,

Sorry, after I posted my reply, I realised that SYNCRO() was your function.
I will make more tests and will come back later with my results.

Regards,
Raymond
Raymond Fischbach
www.mouches.org
Post Reply