Linked by Thom Holwerda on Tue 6th Feb 2007 17:13 UTC
Windows "Windows XP introduced Visual Styles as a mechanism for providing more visual appeal to windows and controls. Menus, however, were not rendered using visual styles for Windows XP. With Windows Vista menus now are part of the visual schema and are rendered using the visual styles engine."
Thread beginning with comment 209700
To read all comments associated with this story, please click here.
by SpasmaticSeacow on Tue 6th Feb 2007 17:41 UTC
Member since:

What horrific looking code.

Reply Score: 0

RE: Ugh...
by denmark_sucks_cock on Tue 6th Feb 2007 18:00 in reply to "Ugh..."
denmark_sucks_cock Member since:

It's C code ya all looks like that. Use C# or another HLL if it bothers you.

Reply Parent Score: 2

RE[2]: Ugh...
by MikeGA on Tue 6th Feb 2007 18:40 in reply to "RE: Ugh..."
MikeGA Member since:

Mind you the blue text on charcoal background is pretty painful to look at.

Reply Parent Score: 4

RE[2]: Ugh...
by ebasconp on Tue 6th Feb 2007 21:48 in reply to "RE: Ugh..."
ebasconp Member since:

Looking at the code remembers me the horrible times of Win32 API (though the code is really that) and MFC.

"It's C code ya all looks like that."

That is not true!

You can code using beautiful C++ frameworks and your code will look better, more elegant and less cryptic than that (Qt comes to my mind).

Reply Parent Score: 1

RE: Ugh...
by PlatformAgnostic on Tue 6th Feb 2007 18:56 in reply to "Ugh..."
PlatformAgnostic Member since:

Unfortunately it's not just because it's C code. It's C++ code calling into COM, which never looks that great. COM is great for a component like WIC, which has to be high-performance and callable from both native and managed code (for some reason, I know quite a bit about WIC), but there is a reason why .NET exists: it's just so much prettier and easier to code for than COM.

Reply Parent Score: 2