In a fit of development I rewrote forms.pas to support SDI applications
(All main forms have task bar windows). As a result TApplication no
longer has its own window handle and hence does not suffer from this
issue - it's the only real solution that I know works! This is long
before Codegear et al introduced MainFormOnTaskBar (with all its bugs).
The issue here is if Vista/XP find your application is not responding to
windows messages they create a very helpful ghost window to mimic your
application, and this is where all the issues start - this is also
responsible for the 2 IDE windows etc.

 

UAC - you can of course turn it off. You need to check up on msdn on the
non-UAC requirements - there is a whole article up there on it.

 

Myles.

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of John Bird
Sent: Thursday, 18 September 2008 4:12 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: [DUG] Delphi programs and Vista

 

A few observations running (D2007) delphi programs under Vista - anyone
shed any light?

 

1 - When the mouse is on the task bar icon,  Sometimes Vista will show a
thumbnail of the form, sometimes just a blank thumbnail with the program
icon in it.  This relates to Delphi programs having an invisible "real"
main form.  But Vista does often get the thumbnail display right with
the actual form contents showing - why?

 

2 - The default Deplhi Vista form colour is a grey (clBtnFace) .....can
this be tweaked?

 

3 - The IDE often shows 2 icons in the task bar.   I learnt the hard way
not to close the one that looks like its doing nothing  (it closes the
whole IDE shooting box).

 

4 - Programs I have written that get a UAC confirmation/prompt to run -
are there any ways to turn this off?

 

5 - Such programs that require a UAC confirmation will not run in the
IDE, so cannot be debugged.  Any solution?

 

John

 



Attention:
This communication is confidential and may be legally privileged.  If you are 
not the intended recipient, please do not use, disclose, copy or distribute it, 
other than to return it to us with your confirmation that it has been deleted 
from your system.
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe

Reply via email to