Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-29-2005, 02:28 AM
Member
 
Join Date: Sep 2003
Posts: 95
Default Application not ready when maximised from system tray.

Hi,

I have an application that immediately launches into the system tray but does some backend work and isn't actually "ready" for a few seconds.

If the user tries to double click the tray icon it will either be unresponsive or even crash the application (i.e. they have to CTRL+ALT+DEL and kill the process). On Windows ME it can cause the application to display a green background when maximised.

What are the best ways of dealing with this issue?

I was thinking of doing something like MSN Messenger where I essentially "lock" the application and display another icon in the tray until it is ready, but is it possible to dynamically alter the system tray icon?

If not, what else does anyone suggest?

Cheers,

G.
Reply With Quote
  #2 (permalink)  
Old 07-30-2005, 10:06 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Application not ready when maximised from system tray.

Please don't launch it into the system tray until it's ready.
Reply With Quote
  #3 (permalink)  
Old 08-02-2005, 01:12 AM
Member
 
Join Date: Sep 2003
Posts: 95
Default Re:Application not ready when maximised from system tray.

....

OK cool, so when someone double clicks my .exe, how do I block it from running in the system tray?

Cheers,

G.
Reply With Quote
  #4 (permalink)  
Old 08-05-2005, 03:23 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Application not ready when maximised from system tray.

Please don't check the [Application settings]->[behavior]->[show in system tray] option.

Instead, please use the "Application.Systray.add" method to run your app into the system tray in the ffish script after the initializing of your app.
Reply With Quote
  #5 (permalink)  
Old 08-09-2005, 01:09 AM
Member
 
Join Date: Sep 2003
Posts: 95
Default Re:Application not ready when maximised from system tray.

;D

Thanks very much I will try this method.

Cheers,

G.
Reply With Quote
  #6 (permalink)  
Old 11-13-2005, 06:18 AM
Member
 
Join Date: Sep 2003
Posts: 95
Default Re:Application not ready when maximised from system tray.

Hi,

Quick update:

Because SWFKit 2.2r2 doesn't show the application icon when ALT+TAB'ing in WinXP I have to use a previous version of SWFKit for this application.

And since SWFKit v1 doesn't have an Application object I can't use this method...

Cheers,

G.
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 01:53 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.