Results 1 to 7 of 7

Thread: UniMenu (0.9)

  1. #1

    Thread Starter
    VB6, XHTML & CSS hobbyist Merri's Avatar
    Join Date
    Oct 2002
    Location
    Finland
    Posts
    6,654

    UniMenu (0.9)



    This class module adds Unicode support to the regular menu items. Also allows you to use nice styles: Classic, Office97 and OfficeXP. You can add your own styles quite easily:
    • find Enum MENU_STYLE
    • add your own [Style MyStyle]
    • go to SetMenuStyle procedure and add the basic settings
    • go to SetMenuColorStyle procedure and add the color style


    You are welcome to send your own styles to me either through by my development blog or by private message.

    No support for bitmaps at the moment, but am likely to add the support later on. Or you can write it yourself and contribute

    Oh, I'm planning to make it compatible from Windows 98 onwards (maybe NT4 too), atm it is only tested under Windows XP. So any comments related to how it works in different Windows versions are very welcome.


    Update! Included the forgotten WinSubHook.tlb.
    Attached Images Attached Images  
    Attached Files Attached Files
    Last edited by Merri; Nov 18th, 2005 at 06:46 AM.

  2. #2
    Admodistrator |2eM!x's Avatar
    Join Date
    Jan 2005
    Posts
    3,900

    Re: UniMenu (0.9)

    Wow, just wow! How does he do it!

  3. #3

    Thread Starter
    VB6, XHTML & CSS hobbyist Merri's Avatar
    Join Date
    Oct 2002
    Location
    Finland
    Posts
    6,654

    Re: UniMenu (0.9)

    In three days or about 35 work hours.


    ...



  4. #4

    Thread Starter
    VB6, XHTML & CSS hobbyist Merri's Avatar
    Join Date
    Oct 2002
    Location
    Finland
    Posts
    6,654

    Re: UniMenu (0.9)

    Included WinSubHook.tlb which I forgot before.

  5. #5
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: UniMenu (0.9)

    does this works on Win 98?
    Show Appreciation. Rate Posts.

  6. #6

    Thread Starter
    VB6, XHTML & CSS hobbyist Merri's Avatar
    Join Date
    Oct 2002
    Location
    Finland
    Posts
    6,654

    Re: UniMenu (0.9)

    At the moment no. It would work if all the API declarations ending in W were A instead and strings were passed as strings and not as pointers by using StrPtr (so they'd be automatically converted to ANSI). I'll be adding W98 support later on in some way.

    It would be good if you tested though, I'd like to have practical information on how it doesn't work, error messages and such. I don't have W98 in any computer I use.

  7. #7
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: UniMenu (0.9)

    Quote Originally Posted by Merri
    At the moment no. It would work if all the API declarations ending in W were A instead and strings were passed as strings and not as pointers by using StrPtr (so they'd be automatically converted to ANSI). I'll be adding W98 support later on in some way.

    It would be good if you tested though, I'd like to have practical information on how it doesn't work, error messages and such. I don't have W98 in any computer I use.
    there are few errors in using it on Win 98:

    1) you cannot register the .tlb file using regsvr32.exe. but yes through the perfectly built function you provided.

    2) when running the Sample, it generated an error during Form Loading :-
    Code:
    Runtime Error '5':
    Invalid Procedure Call or Argument
    this highlights this line:
    VB Code:
    1. SystemMenuFont = Left$(.lfFaceName, InStr(.lfFaceName, vbNullChar) - 1)
    Show Appreciation. Rate Posts.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width