Content
-------
1. Introduction
2. Installation (IMPORTANT!)
3. Adding it to your project
4. Credits


Introduction
------------

I needed a Unicode Menu with capability to check items. Additionally I wanted it to look good. Thus created this menu in a few days by subclassing and hooking (my first time hooking, really). The Unicode capability is a bit harder to use, you have to use the provided clsUniMenu.StrToUTF8 converter to make strings UTF8 formatted before you can set Caption of a menuitem. Besides that it is just the default menu, just owner-drawn.

It runs under IDE too :) But it doesn't use hooking then so borders always use their default style.


Installation
------------

You must register the WinSubHook.tlb to enable subclassing possibilities.
You can do this in two ways:

1. Manually
Start > Run > cmd > move to the tlb path > regsvr32 WinSubHook.tlb

2. Using VB project
See WinSubHook > Type Lib > RegTlb.vbp


Adding it to your project
----------------------

1. open your project
2. go to menu Project > References
3. you should find Window/Subclass/Hook/Timer interface 1.5 from the list; enable it
4. add cHook.cls to your project
5. add cSubClass.cls to your project
6. add clsUniMenu.cls to your project

Nothing more is required! You don't need to distribute any extra files, the control is compiled to your program, including the TLB!


Credits
-------
I wish to thank Paul Caton by solving the IDE subclass crashing issue and of providing WinSubHook tool. Also thanks to people at VBForums of all the small code samples I could find.

See more credits and development information at http://goldpanda.merri.net/