Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changin app icon while running
Message
 
 
À
04/11/2002 03:34:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00718388
Message ID:
00718401
Vues:
21
Hi!

VFP re-loads (redefines on a Windows level) the main app window when Icon is redefined. This is because this Icon is displayed on Windows level as some sort of resource. You should use Windows API functions if you want make it go smoother. Take a look, for example, to the Win API functions "SetClassLong" and "LoadIcon". I could not help you much here - I just found them in MSDN help, but did not worked with them.

HTH.

>Hi All
>
>I have created a series of 16x16 icons which create an animation effect when displayed in sequence. I was thinking of changing my applications icon in rotation with this series of icons whenever the app was busy. However, I find two things happen whenever the icon is changed (a) my app always moves to the right most position on the taskbar after any other app that is running and (b) there is a noticable flicker on the taskbar. Is this normal or should I be doing something besides _SCREEN.ICON = "icon1.ico", etc?
>
>Using VFP7/SP1
>
>TIA
>
>Jos
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform