MsgWait()

MsgWait()

Postby Raymond Fischbach » Sat Mar 28, 2009 1:46 pm

Hello,

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

Code: Select all  Expand view  RUN
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
Raymond Fischbach
 
Posts: 48
Joined: Sun Oct 30, 2005 9:29 am
Location: Belgium

Re: MsgWait()

Postby Richard Chidiak » Sat Mar 28, 2009 6:05 pm

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
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: MsgWait()

Postby Raymond Fischbach » Sat Mar 28, 2009 8:54 pm

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

Re: MsgWait()

Postby Raymond Fischbach » Sat Mar 28, 2009 9:29 pm

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
User avatar
Raymond Fischbach
 
Posts: 48
Joined: Sun Oct 30, 2005 9:29 am
Location: Belgium


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 4 guests