0

I find a way to catch an event/message which notify the "application loaded" event, to be able to close a splashscreen. Maybe Poco implements it directly but i haven't found any clue in the Application class documentation or code.

Arcadien
  • 2,258
  • 16
  • 26

3 Answers3

0

Have you tried to use the application member function bool initialized()?

Sergio
  • 891
  • 9
  • 27
0

I'm using the Mitk framework, and i will have to modify some code there ; the used CommonTk framework can manage a callback dedicated for splashscreen closing. Thus, there is no event published by Poco to allow this feature.

Arcadien
  • 2,258
  • 16
  • 26
-1

i using POCO Thread for splash screen (where i can catch / handle status of thread). My application is programmed in WinAPI (Win32, VS C++ 2008 EE), so i using WinAPI timmers; the main message pump is also in separated thread...

Here is my WinApi32 example full code & VS90 project: WLEZLEY_SPLASH_POCO_EXAMPLE.ZIP

PS: It works since version 1.4.5 of POCO, but also works with POCO v1.7.2 (actual version is included). You can try study my code and you try it yourself.

  • Thanks for reply. I don't want to rely on a timer, but on events emitted by the framework to fine-control the splash screen (and probably other things) – Arcadien Mar 29 '16 at 06:16