Page 1 of 1

Tooltip in one program is colored and has icon, in the other gray and has not icon

Posted: 3 Nov 2014 11:42
by Ferenc Nagy
I have copied a form from one project to another. I have copied the icons, too. The tooltips, including the ones with built-in icons have changed. Why?

Posted: 3 Nov 2014 13:20
by Thomas Linder Puls
If you take a second look you may also notice that all other controls also looks different. Project#2 uses "legacy" common controls; Project#1 uses common controls v. 6. To use common controls v.6 (which you definitely should) you have to add a manifest file to the project and turn-on common controls v.6 in that file.

The IDE can one automatically: Project Settings... -> Build Options.

Successful correction

Posted: 3 Nov 2014 13:44
by Ferenc Nagy
Thank you, Thomas. I understand the reason of the difference. I created Project#1 from scratch under VP 7.5. I upgraded Project#2 from VP 7.4.

Posted: 7 Nov 2014 10:45
by Jan de Lint
What else do I need?
Do I need to copy a manifest file into the project?

Posted: 7 Nov 2014 18:33
by Thomas Linder Puls
Normally you don't need to do anything else. I guess you ask because it didn't work. Try:
  • Switch it off (again)
  • (Maybe delete the manifest file from the disk).
  • Close the dialog and build the project
  • Switch it on (again)
  • Close the dialog and build the project
If that doesn't help you(/we) may need to examine the project file.

Posted: 8 Nov 2014 8:56
by Jan de Lint
Thanks, I think it works.
I see the manifest file come and go.
Only the result is not as spectacular as I had expected.

Posted: 8 Nov 2014 15:08
by Thomas Linder Puls
The old controls looks quite similar on all versions of Windows, but the new ones are theme aware.

If you choose the "Classic" theme all controls will look "old", i.e. both the old and the new ones.

On older operating systems the themes and theme related styles can make the new and the old controls look nearly identical.

So you may try changing theme and/or style settings.

The image shows Windows 7 buttons to the left and windows 8.1 buttons to the right. The lower buttons are 200% scaled copies of the upper ones. If you had created them in that size the font and corners would have looked better. I think the difference in font smoothing is caused by the Windows 7 image being captured from a remote desktop connection. When used non-remote I believe it will have the same smoothing.

Anyway, it quite clearly shows that currently it swings towards fewer effects.

Posted: 9 Nov 2014 19:09
by Jan de Lint
Yes, that explains it all. I use 8.1
I suppose we would have to turn the program into a windows app to get a more appealing look.