Hey Al, I too have experienced some major problems when attempting to display a Splash Screen form using Delphi 2009. Mine have been quite different than yours, but there may be a connection. In one particular application, the Splash form was to display for 6 seconds and show shareware use information until the app is registered. Afterwards, a checkbox allows the Splash form to be disabled. However in both situations, and no matter how, when, or where within the dpr code I create it, the app's MainForm, which is supposed to remain invisible and without a taskbar icon, becomes visible and does appear on the taskbar! Very frustrating, and requiring a completely different approach than I originally designed! I've come to the conclusion that Delphi is in some way getting confused as to which of the two forms created within the dpr truly may be the MainForm, and is altering basic properties toward some default settings even though autocreate forms is False in the Project options. And here I thought Unicode was going to give me trouble!
from "Robert Meek" dba "Tangentals Design" Creative Concepts Programming for Windows Vista E-mail: ffo...@comcast.net See my full review of Dr. Bob's 'Delphi 2009 Development Essentials' at: http://edn.embarcadero.com/article/39782 Best quote from CNN Morning News 8/12/09: "WTF...Carrie Underwood was #9! Opps! Did I say that again?" -----Original Message----- From: delphi-boun...@elists.org [mailto:delphi-boun...@elists.org] On Behalf Of Alan Colburn Sent: Wednesday, August 12, 2009 2:31 PM To: delphi@elists.org Subject: Unable to Get Handle On Monitor Hi folks -- When I start my app with: Data:=TData.Create(Application); Application.Title := 'Performance Gradebook'; Application.CreateForm(TfrmMain, frmMain); Application.Run; everything works fine. (Data is a DataModule.) However, when I add a splash screen I run into problems: Data:=TData.Create(Application); frmSplashScreen := TfrmSplashScreen.Create(nil); try frmSplashScreen.Show; Application.Initialize; frmSplashScreen.Update; Application.Title := 'Performance Gradebook'; Application.CreateForm(TfrmMain, frmMain); frmSplashScreen.Hide; finally frmSplashScreen.Free; end; Application.Run; The problem relates specifically to users with dual monitors--see the subject line; it's in the Forms unit in the TCustomForm.SetWindowToMonitor block. I've never really used two monitors before, so I'm kind of lost in terms of what is happening. Do you have any thoughts? Thanks, as always -- Al C. _________________________________________________________________ Get your vacation photos on your phone! http://windowsliveformobile.com/en-us/photos/default.aspx?&OCID=0809TL-HM _______________________________________________ Delphi mailing list -> Delphi@elists.org http://lists.elists.org/cgi-bin/mailman/listinfo/delphi _______________________________________________ Delphi mailing list -> Delphi@elists.org http://lists.elists.org/cgi-bin/mailman/listinfo/delphi