im able to add an editbox to a rebar but im not able to put a menu control in it. anyone know how to do this?
Posted on 2002-02-10 01:03:36 by smurf
I might be wrong, but I'm not sure there is something like a 'menu control', however you can put a toolbar on it and use text buttons instead of images, then use TrackPopupMenu to display the right menu when the user clicks on it.

Posted on 2002-02-10 03:42:16 by Thomas
If I am correct Scronty did such a thingh in an example on rebars. The only problem is that when a sub-menu is popped up there is no hot tracking when you move your mouse cursors over another menu voice.
Posted on 2002-02-10 04:51:25 by LuHa
yes, LuHa u've got good memory:grin:
here is it:
Posted on 2002-02-10 06:27:41 by NEMO
Posted on 2002-02-10 06:36:27 by Thomas

wow... it almost sound like it was "the Eleventh Commandment of every Win32 programer" :grin: :grin: :grin:
Posted on 2002-02-10 06:53:03 by NEMO
i was looking for the msdn article thomas pointed out because i seen it referenced on another side but couldnt seem to find that particular one so thanks for that thomas. i used the artlicle to see if it would work out for me but i still needed sconty's source code. thanks everyone.:alright:
Posted on 2002-02-10 19:00:55 by smurf