News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

MenuWOW (customize your menus)

Started by lamer, August 15, 2005, 08:31:50 PM

Previous topic - Next topic

ramguru

what to expect from MS   :lol
QuoteUnfortunately I could not see how acts MENU, because the program crashes each time I double click on list box - of course, I do something wrong.
OK If I want to see how I can change RadASM menu with lamer's lib I do the fellowing
*Press button "Open exe" and choose Radasm.exe
*Double click on "MENU" listbox item f.e. 998 (now I see RadASM menu in my app)
*I can load a theme: I press "Open bin" and choose "sample_theme2.bin"
this is a screenshot http://img11.imageshack.us/img11/1954/radasmlamrc9zu.png
I use Win XP SP2, maybe this is the issue
I can cause program crash only if I load exe with compressed resource...

ramguru

Quote from: ramguru on November 05, 2005, 10:06:05 PM
I couldn't help myself and had coded a liittle tool. Now some lines about it:
*there is assigned menu for main window, and of course MWLib.dll is responsible for all drawings
*the most significant feature is that you can choose color values and at the same time see changed menu (not a picture of it)
*you can save scheme in bin and open scheme in bin (to see how it looks like)
...due I'm not perfectly familiar with lamer's RC format some features (bmp, gradient type) aren't implemented, but I can assure you that wysiwyg..
...besides this is just like a feature reaquest for MenuWOW
I've updated the tool again :) . Now you are able to choose any bitmap (with size of 32x32 px) at run-time and see how your menu will be updated f.e. like this http://img21.imageshack.us/img21/2597/ss8by.png

lamer

Quote from: ramguru on November 08, 2005, 09:32:50 PM
I've updated the tool again :)
If MenuWOW were commercial project - I should send you an invitation for a full-time job :U
The menus look just nice!
Is it realy me, who has coded all this jazz?  :green2 :green2
Coming soon - preview with "realy" menu in MenuWOW.
ASAP.

lamer

#18
The new versions of MenuWOW and MWLib are ready.
What's new?
MenuWOW:
1.   Added possibility to save each scheme as binary file for subsequent use <OptionsMF OptionsSave schemes as binary file> (see changes in MWLib) – thanks to ramguru.
2.   Added "live" preview – now you can see how your menus will look just at design time ("Preview" window).
MWLib:
1.   Added method for working with binary schemes instead of resources. Obviously, you can still use the resource method. For method calling example see sample from downloads or MenuWOW help file.

ramguru

Thanks 4 quality-application 10 for web 9 for menu-builder (live preview isn't as live as expected - u got to reopen project for preview menu to be updated...maybe this isn't a bug) anyway thanks...
Some recommendation for the long run...
*IMHO vertical grad have not very nice-look, I think you can correct this by implementing reflected gradient effect...
*It would be nice to have ability to define disabled menu state's colors...
These are only suggestions 4 future :)

lamer

Quote9 for menu-builder
How much is it in 100-points scale?  :bg
Quoteu got to reopen project for preview menu to be updated
You change the menu script with another menu editor, MenuWOW can only load it on startup. The only way I see now is to add any button or something else, which will "reload" script on-demand.
Quotereflected gradient effect
Show me!
Quoteto define disabled menu state's colors
Unfortunately, there is no room left in structure for additional colors. It's not a problem to add new members, but new version will be incompatible with old one. If I were MS, I would add some fields (reserved1, reserved2 etc) to structure  :green2 Anyway, I will think about...

Thank you!

ramguru

Quote
How much is it in 100-points scale?  :bg
don't be too greedy in 10p scale of course  :P
Quote
Show me!
here it is - this is what I imagine (I've done this with paint) :) http://img50.imageshack.us/img50/8504/reflected1bi.png
(white->light blue->white transition - in my example...mirror effect..I hope u've understood..what means reflected :))

lamer

Hi all!
There are new upload of MenuWOW - all changes related to new docking windows library.

lamer

Hi all!
New version of MenuWOW uploaded.
What's new:
- menu preview is now really live (every change in bitmaps or menu script is applied to project)
- added two new gradients: horizontal reflected and vertical reflected (thanks to ramguru)
- added button for loading preferable bitmaps editor to edit scheme's bitmap
- user interface changed (new icons)

ramguru

Really WOW, very impressive.  :cheekygreen: I didn't believe you'll implement particular features, but you did it ... thanks. I have not much time (MS 70-320 and much more examx are ahead) to investigate your app now ...I believe it hasn't any critical bugs... Now everything depends on our imagination what we are able to do with your lib :)

lamer

QuoteI believe it hasn't any critical bugs...
Me too... :green2 :green2 :green2

lamer

Hi!
Fixed the stupid little bug (incorrect indexes) wich forced improper appearance of pattern background on buttons at "Settings" window.

lamer

Hi all!
Happy New Year!
As a gift for holiday – new release of MenuWOW.
There are a number of significant changes:
MenuWOW:
1.   Custom settings for grayed menu items - thanks to ramguru for initiative
(the excellent donkey's graphics library is used to gray bitmaps - many thanks!)
2.   Menu transparency
3.   Fixed occasional crash on resource file parsing
MWLib:
1.   The MWSCHEME resource superseded by MWSCHEME_EX
2.   Added MWLInitValuesEx procedure
3.   Added MWLInitValuesBySchemeEx procedure
4.   MWLInitValues and MWLInitValuesByScheme procedures are still available for backward compatibility with previous versions
You can continue to use newly created binaries (*.mwb), but NOT new schemes, with old procedures, but you SHOULD NOT use the old schemes or binaries with new procedures.

The full package now includes "Sample" directory, and "SampleEXE" – a simple executable with run-time library and one binary scheme.
Hope you'll enjoy this release.

Regards


ramguru

Very nice improvements  :clap: ! Keep on !
[what can be fixed]:
In preview window I see menuitem "SEPARATOR" instead of real one (item in rc: "MENUITEM SEPARATOR" produced by ResEd).
[what annoyes me] (may be omitted):

  • decimal format (I see things mostly in hex, I can edit things in hex (at least color values), but I'm blind in decimal world) in output and produced rc
  • I often want to create a project without BMPs - but I can't

lamer

ramguru
Quote from: lamer on August 15, 2005, 08:31:50 PM
Currently MenuWOW supports (I hope so) menus created by RADAsm and WinAsm.
1. I think I just did not add the word "SEPARATOR" to parsing procedure  :bg
In principle, I can manually replace the "0x00000800" with "SEPARATOR" for testing, but it will be more accurate to work with "real" script.
Could you send me the .rc you work with, please?

2. I think there will be no problem to change dec to hex.

3. Menu with bitmaps - this was a central idea of MenuWOW at the beginning. All other "prettiness" has been added later. But in principle you are right - "bitmapless" menu is quite legitimate. This will take a bit more time than previous points.

Regards