Link to home
Start Free TrialLog in
Avatar of Treppenmeister
Treppenmeister

asked on

Delphi program has problems with Vista & Aero in fullscreen

I have problems with my application under Vista and Aero in Fullscreen.

On the mainwindow I have a panel PanelA with two labels (LabelA and LabelB)
(I have many of these panels, but the problem appears also when I use only one)
I have a drawbox with an OnMouseMove event which is filling the LabelB with the mouse position.

So I run within of OnMouseMove the following code

a)  LabelB.Caption := MousePosX;
b)  LabelB.Left  := LabelA.Left + LabelA.Width;
c)  LabelB.Width := PanelA.Width - LabelB.Left - LabelA.Left;

This worked fine with all Windows versions till now. Also Vista (with no Aero) has no problems with it. But if I use Aero and the application is in fullscreen mode then I have the problem that the mainmenu of the mainwindows is flickering like crazy. It looks so whether the Mainform is redrawing itself again and again.
I do not have a developer environment on Vista - so I cannot test more detailed.

The machine has an onboad ATI Radeon Xpress 1100 which is Aero certified. It has the current ATI driver installed.

The problem does not appear while I use only b) OR c) !

Any idea what could be the reason? Is this a driver problem or a problem with Aero or ...?

Btw I use BDS 2006.


ASKER CERTIFIED SOLUTION
Avatar of Johnjces
Johnjces
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Treppenmeister
Treppenmeister

ASKER

I did not use any code from the net.
Does this mean that all delphi applications without tools like VistaReady won't work properly with Aero?

DT
Yes sir! It sure does.

John
Also, make sure you have a good Vista Manifest compiled in especially if your application does any file write.

John
Did this help you or help solve your problem?
I didn't have the time yet - was only reading the websites. But I doubt that this could help (or Vista is behaving very weird).
Did any of this help you? If not, please let us know. If so please accept one, or ask that your question be deleted and get refund of points.
I am sorry to say that nothing really helped. I redesigned some forms to avoid the problem. Perhaps it has also somthing to do with the graphics driver. In my opinion the problems appear when there are laying several components on each other or overlaying.  Then the 'glass'-property is behaving weird.

But you tried to help and your links were a general help to me. So I decided to appreciate your help.