../Msgboard/Modding your system/WinT and Pogz found a new menu hack... Home
WinT - 23 Feb. 2003 - 03:06:

WinT and Pogz found a new menu hack... :)

I was browseing MSDN, and ran across a list of all the MFT and MFS menu commands yesterday. As any of you know that have worked with your start menu, desktop right click, etc.. menus, you'll have noticed commands like MFT_STRING and MFS_ENABLED. Well, this list I found had all the available commands there ready to use.

So, most of them I'de seen, didn't get to excited about it until I ran across one called MFS_HILITE. This command will permantly highlight any menuitem of your choice, exactly like Shinter did with his start menu. CeoX would love this. :) Now, it's not that big of a deal I"m sure to some, but I thought it was worth a mention.

So, I couldn't get this function to work at any rate, no matter what I tried, so, I popped in to #skinnables, and there was Pogz. The guy is brilliant. I asked him if he knew how to do it, and he nailed it without a problem. So, I'm thanking Pogz for this, as this really is his hack, since he made it work. Thanks Pogz. :)

The way you do this is to insert a new menuitem at the top of the menu. I'm using the start menu for an example. Name this item whatever you wish, as it's only for looks, and will have no functionality.

MENUITEM "+ WinT OnLinE +",0,0,MFS_HILITE

Of course, you want to rename " WinT OnLinE" to your own title. Now, when you hit the compile script button in Reshacker, at least for Win98, this is what it will look like afterwards:

MENUITEM "+ WinT OnLinE +", 0, MFT_STRING, MFS_ENABLED | MFS_HILITE

Now, for some strange reason, and I hope Pogz can figure this out, my item in 98 is NOT hilighted for some reason. It shows up in the menu, and the example menu in Reshacker shows the item as being hilighted, but, it's not when I do the replacement and restart.

However, it worked for Pogz in XP, so, you XP users can use this if interested.

Place your new menuitem anywhere you wish, and I put 2 seperators in with it too. One above the menuitem, and one below. If you need the seperator line, here it is:

MENUITEM "", 65535, MFT_SEPARATOR, MFS_ENABLED

You're unlimited at where you place the seperators, and the new menuitem.

Ok, that should cover it, hope it works for everyone, and thanks again to Pogz for makeing it work. :)
 
23 Feb. 2003 - 03:53 Red
Wtg, WinT. 8) Hack on, dude. >:)
 
23 Feb. 2003 - 04:07 pogz
Correction: I was in 2k, so I have no idea as far as XP goes.

I had the same sort of problem in 2k. It would be highlighted, but then when you moved the mouse over a different item it would just stop :(.
 
23 Feb. 2003 - 04:25 Explicit
Nice one... MSDN is a good place to find all kinds of stuff. I've said there was nothing left to hack before, but then I found MSDN. I think I'll go browse...
 
23 Feb. 2003 - 04:50 Red
There is always more to hack. >:)
 
23 Feb. 2003 - 11:08 WinT
Hmm, well Pogz? I wonder what's causeing the hilighting not to work properly?

Oh, and sorry about the XP thing, that's what I thought you had, or, maybe you have both, all OS"s? Can't remember.

Well, I've had no luck with it so far either. The menuitem shows up, looks kind of nice, but, would like to have the hilighting as well.

We'll get it working somehow. Go Pogz!!! :)
 
23 Feb. 2003 - 15:58 JohnnyFist
Did you try to change your highlight color? Maybe its set to the same color as your background.
 
23 Feb. 2003 - 19:09 Explicit
Hey WinT can I get a link to this page? As you know I love to hack windows... And this could be fun.
 
23 Feb. 2003 - 20:44 WinT
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/WinUI/WindowsUserInterface/Resources/Menus/MenuReference/MenuStructures/MENUITEMINFO.asp


There you go Explicit, that's the page with the list on it, and look on the left side of the page too, as there are tons of links to other menu related things. I haven't even begun to dig through all of it. Lot's of stuff.

For the list, according to Pogz, everything under "FType" and "FState" should work. The other stuff listed is a little different, and not sure how you apply those commands.

Enjoy, and post up if you find something. :)
 
23 Feb. 2003 - 23:42 Blackmage
w00t!!

There are no words. Wait, here are some. Damn contradictions.
 
Please log-in to post.
You need to be logged in to post. To log-in, or to register an account go -there.
 
Options
Login | Help | Profile | User list | Display last  
 days 


../Msgboard/Modding your system/WinT and Pogz found a new menu hack... Top

xhtml 1.1