[DUG] Delphi programs and Vista
Myles Penlington
myles at ams.co.nz
Thu Sep 18 16:39:03 NZST 2008
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: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz]
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20080918/2569e142/attachment-0001.html
More information about the Delphi
mailing list