◆ FlashMessage()

static int FlashMessage ( out SError  Error,
string  strMessage,
bool  bShowApplication,
Int32  MaxTime 

The function shows flash message.

ErrorAdditional error information returned from Drive.
strMessageText of the message to be shown.
MaxTimeMaximum time (in milliseconds) function can take. If MaxTime=0 function execution is not time limited.
bShowApplicationFlag determining whether Drive should be brought to foreground automatically.
true - Drive will be brought to foreground
false - Drive will stay in background
1 if successful, other value otherwise.

FlashMessage shows flashing message with taken text in top-right corner.

Possible error codes returned from Drive are:

  • 0 - Function not succeeded.
  • 1 - Function succeeded.
  • 2 - Drive not succeeded.
  • 3 - Function reached timeout.

References SError.SizeOf().