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?
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.
Thomas
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.
yes, LuHa u've got good memory:grin:
here is it:
here is it:
Never forget msdn :)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/CommCtls/FAQ/iemenubar.asp
Thomas
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/CommCtls/FAQ/iemenubar.asp
Thomas
Never forget msdn :)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/CommCtls/FAQ/iemenubar.asp
Thomas
wow... it almost sound like it was "the Eleventh Commandment of every Win32 programer" :grin: :grin: :grin:
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: