Menus don't use the Aero theme

This forum is for reporting bugs in MediaMonkey for Windows 4. Note that version 4 is no longer actively maintained as it has been replaced by version 5.

Moderator: Gurus

lf0
Posts: 37
Joined: Thu Oct 08, 2009 6:52 pm

Menus don't use the Aero theme

Post by lf0 »

Disclaimer: Based on this Wishlist thread I decided to open bugs for the separate issues at hand. I think it makes sense to bring them to bug forum (see my post in the linked thread for my reasoning) so individual bug numbers can be assigned. Thanks.

Problem:

Menus don't use the Aero theme using the non-skinned version of MediaMonkey 3.2

Current look:
Image
Correct look:
Image

The menu is based on TBXToolbar, which obviously lacks support for the Vista (and 7) Aero specific enhancements to the UxTheme API.
Thus, instead of drawing a plain area, something like

Code: Select all

DrawThemeBackground(MENU_THEME, DC, MENU_BARITEM, MBI_HOT, rect, 0);
and

Code: Select all

DrawThemeBackground(MENU_THEME, DC, MENU_POPUPITEM, MBI_HOT, rect, 0);
should be used on Vista/7 (with correct MBI_* branching of course).

See the Visual Styles Reference for details.

Taking a short look at the TBX source it should be fairly straight forward. Add the MENU_* and MBI_* definitions from the Vista/7 SDK, assign MENU_THEME via OpenThemeData, then do the appropriate rendering (DrawThemeBackground) in TTBXDefaultTheme.PaintMenuItemFrame and TTBXDefaultTheme.PaintButton and probably some more places.
This is untested as I don't have Delphi (haven't used it for like 10 years or so ...) but should work :lol:. Of course this should also only be done under Vista/7 as the specific UxTheme elements are new.
rovingcowboy
Posts: 14163
Joined: Sat Oct 25, 2003 7:57 am
Location: (Texas)
Contact:

Re: Menus don't use the Aero theme

Post by rovingcowboy »

so the vista stuff is wanted in the monkey? just an question for you not to make you mad or angry, but why? what would the troubles be of installing vista code in to the monkey, how much errors will be caused in xp and some older os's. and what would be easier to do. adjust the code now or make new code for mediamonkey? if they adjust the code now. will it cause trouble when trying to make video work in monkey? if so then should they use a different code language to make the code for monkey and get all the vista stuff and video to work in all the os's that now support mm 3.x

okay so it was a couple of questions, you seen my posts i always do big ones or go over on some things. :) got to keep the line of thought working in you programmers so us users can get a good program that way. :D
roving cowboy / keith hall. My skins http://www.mediamonkey.com/forum/viewto ... =9&t=16724 for some help check on Monkey's helpful messages at http://www.mediamonkey.com/forum/viewto ... 4008#44008 MY SYSTEMS.1.Jukebox WinXp pro sp 3 version 3.5 gigabyte mb. 281 GHz amd athlon x2 240 built by me.) 2.WinXP pro sp3, vers 2.5.5 and vers 3.5 backup storage, shuttle 32a mb,734 MHz amd athlon put together by me.) 3.Dell demension, winxp pro sp3, mm3.5 spare jukebox.) 4.WinXp pro sp3, vers 3.5, dad's computer bought from computer store. )5. Samsung Galaxy A51 5G Android ) 6. amd a8-5600 apu 3.60ghz mm version 4 windows 7 pro bought from computer store.
lf0
Posts: 37
Joined: Thu Oct 08, 2009 6:52 pm

Re: Menus don't use the Aero theme

Post by lf0 »

rovingcowboy wrote:so the vista stuff is wanted in the monkey? just an question for you not to make you mad or angry, but why?
The WHY is excessively discussed in the wishlist thread. So please spare this here and keep such discussions there.
rovingcowboy wrote:What would the troubles be of installing vista code in to the monkey, how much errors will be caused in xp and some older os's. and what would be easier to do. adjust the code now or make new code for mediamonkey? if they adjust the code now. will it cause trouble when trying to make video work in monkey? if so then should they use a different code language to make the code for monkey and get all the vista stuff and video to work in all the os's that now support mm 3.x
The Vista (and 7) specific API calls must ONLY be called under systems that support them, so there should be no negative side effect on XP systems (when done right).
As I reasoned it shouldn't be hard to modify TBX to make use of the mentioned API calls so adjusting the code seems to me the straight forward solution. And I can't see what the changes in painting the menu would have to do with video support.

It gets really annoying that you persistently "fight" against these bugs without really knowing what you are talking about and I will not continue a discussion on whether it is useful or not with you. Especially not in this bug thread.
rovingcowboy
Posts: 14163
Joined: Sat Oct 25, 2003 7:57 am
Location: (Texas)
Contact:

Re: Menus don't use the Aero theme

Post by rovingcowboy »

just one more post here.

i did not see it was in the bug report forum i clicked on new messages as they show up in the new message page.

and i was not arguing with you about it just trying to get a more direct line of can cause and can not cause going here.
the developers are all in different countrys and speak different native languages. they would benifit from a more directed line of thought on things when typed in english and they can translate it to their language. thats what i did the posts for as i said it was not to make you mad. :)
roving cowboy / keith hall. My skins http://www.mediamonkey.com/forum/viewto ... =9&t=16724 for some help check on Monkey's helpful messages at http://www.mediamonkey.com/forum/viewto ... 4008#44008 MY SYSTEMS.1.Jukebox WinXp pro sp 3 version 3.5 gigabyte mb. 281 GHz amd athlon x2 240 built by me.) 2.WinXP pro sp3, vers 2.5.5 and vers 3.5 backup storage, shuttle 32a mb,734 MHz amd athlon put together by me.) 3.Dell demension, winxp pro sp3, mm3.5 spare jukebox.) 4.WinXp pro sp3, vers 3.5, dad's computer bought from computer store. )5. Samsung Galaxy A51 5G Android ) 6. amd a8-5600 apu 3.60ghz mm version 4 windows 7 pro bought from computer store.
Post Reply