Morning all, This inconsistent glitch(s) is becoming consistently annoying! I hope someone can help! My project's mainform is just a placeholder for a trayicon component and its popup menu. When the app is started, this mainform is not displayed. The only way one knows it is running is via it's trayIcon. The first time in this session the user double-clicks the TrayIcon or clicks on its first popup menu item, a Password dialog is displayed. After verification processes, which include those for the proper user and accessibility to that usernames data files, a CrC of the application itself, and Registration or shareware validity time, the Password dialog disappears, a number of User IniFile entries are read, and the mainform is displayed on screen with a TFrame set to alClient along with with a number of controls that populate the Frame providing the User with an interface into the application. The first part of this glitch is that it seems no matter what I do upon making the mainform visible, a TaskBar Icon appears, and I don't believe this to be correct or needed when a TrayIcon is also visible and accessible! Beofre getting to the second part of this glitch, the reason for my using the mainform in this way is that once all verifications have been handled and the mainform has been shown for the first time, subsequent double-clicks on the TrayIcon or clicks on its first popup menu item will cause the mainform to hide while at the same time destroying the TFrame, returning all resources back to the system, and when again not showing, will once more display the mainform and re-create the Frame again. This provides the User with manual control over when and if the Application is useable and how much memory and resources are being used as well as providing the same automatically depending upon the user's settings and the actions taken. Also, The user has an option allowing him or her to have the application started up and displayed on the Tray only when ever Windows is first started. This is accomplished with a shortcut being added to the Startup folder of that user. This all tests out okay, except that for some reason, and on a quite erratic basis, starting the application with windows does indeed create the mainform, providing the TrayIcon ready for the User's first double-click when ever he or she is ready. But it sometimes also displays a minimized version of the mainForm, which is NOT supposed to be visible at all, down in the very bottom, left of the screen! It's annoying as hell when problems like this behave so erratically making it sometimes impossible to figure out why it is happening! If anyone has any ideas, please let me know!
from Robert Meek dba "Tangentals Design" e-mail: [EMAIL PROTECTED] Freelance Windows Programming for XP and Vista Also proud to be a Moderator of the "Delphi-List" at elists.org "Reality cannot be explained...only enjoyed or endured as your current perspective allows!" _______________________________________________ Delphi mailing list -> Delphi@elists.org http://lists.elists.org/cgi-bin/mailman/listinfo/delphi