Why do Delphi-written applications not skin right in menus.

Friday, October 28, 2005 by RMagruder | Discussion: WindowBlinds

As a longtime Delphi developer as well as a WindowBlinds customer, I'm wondering why it is that I can always tell which applications were written in Delphi because the WindowBlinds + ClearType combination messes up menus. If you wish to see screenshots, let me know. A good example is easy to make. With WindowBlinds and one of the new vista skins installed, AND ClearType enabled (although this happens on old skins as well), Left click on the StarDock Central icon in the task tray. You'll see dark menu text with light shadows that looks horrible. Looks like ClearType is trying to anti-alias the menus and the result is soup. Then right click on one of the other taskbar menus that are 'standard', such as the Network Connections icon, and notice the menu looks fine. This is always true with applications that are written with the Delphi TMenu component. I don't know whether the blame belongs with the TMenu component or with WindowBlinds or with ClearType (although I don't remember this happening with ClearType and NO windowblinds). I have friends at Borland on the Delphi team and can ask them to investigate this, but I wanted to ask you guys first, since WB5 is the final straw in the 'mess-up' of the menus, and your own products (apparently written with Borland software), exhibit these characteristics. Thanks, Randy Magruder
milksama
Reply #1 Monday, October 31, 2005 2:01 PM

Hi Randy,

A screenshot (or a few) would definitely help to illustrate your situation.  I'd also be interested to know which OS you're running (including any service packs) as well as your version of the WindowBlinds 5 Beta. 

Since this software is still beta, it's expected to have issues, but thanks to the help of people like you we can work out all it's bugs. Thanks!

-Mike
[Stardock Support]

RMagruder
Reply #2 Wednesday, November 2, 2005 7:59 PM
Mike, this isn't unique to WB5 or any version of Delphi. I would have pasted an image here but it looks like you can only paste URL's here, not images, which does you no good.

If you send me an e-mail at [email protected], I'll send you the side by side images displaying the menu looks, along with my machine configuration and anything else you want to know.

Thanks,

Randy


Posted via WinCustomize Browser/Stardock Central
Neil Banfield
Reply #3 Thursday, November 3, 2005 7:15 AM

Delphi apps tend to use ownerdrawn menus.  In this case WB tries its best to make the menus look like the menu skin, but it can only do so much.  If the skin just uses flat menus (like the Windows XP style) then there is no problem because the menu content area isn't being skinned.

The problem will be worse on skins which set the systemwide menu colours differently to the average colour of the menu skins.

milksama
Reply #4 Thursday, November 3, 2005 4:25 PM

I thought Delphi apps might've had owner-drawn components, but since I'm not a delphi developer, I wasn't sure. Thanks for the input, Neil.

RMagruder: You could upload files to http://www.freewebspace.net/guide/diskstorage.shtml and then reference them here. There should be an image button on the comment post toolbar that allows you specify a url to load the image from.

-Mike
[Stardock Support]

RMagruder
Reply #5 Monday, November 7, 2005 11:19 AM
I'm looking at the link you sent.

In the meantime, can you tell me what version of Delphi was last used to compile StarDock Central? Delphi 7? It's important because if I'm going to go into the VCL source code and try to figure out how the painting may or may not be working 'standard' then I might be able to help supply the 'fix'.

Randy


Posted via WinCustomize Browser/Stardock Central
milksama
Reply #6 Monday, November 7, 2005 1:46 PM

Stardock Central was developed in C++. Anything Delphi related in it's directory is there for the programs that were written in Delphi.

-Mike
[Stardock Support]

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01