From: nexolite on
Hi,

How can I display a CMFCMenuBar as a context menu ?

Thanks.
From: Tom Serface on
Not sure why you'd want to do this? Typically you would just create another
menu in the resources for a context menu. You could grab the items off of
the menu bar and copy them to a new menu to use at runtime...

That said, you could also just use the menu resource that the main menu uses
to create the drop down menu as well. I'm pretty sure that would work
directly. Just load it like you would any other context menu resource in
the context menu handler.

Tom

"nexolite" <nexolite(a)discussions.microsoft.com> wrote in message
news:D3D846C6-27B7-48CA-9FE4-F10C293A154B(a)microsoft.com...
> Hi,
>
> How can I display a CMFCMenuBar as a context menu ?
>
> Thanks.

From: nexolite on
Well I want to do this to get menu's skin same as the normal menu(as provided
by CMFCMenuBar)..

"Tom Serface" wrote:

> Not sure why you'd want to do this? Typically you would just create another
> menu in the resources for a context menu. You could grab the items off of
> the menu bar and copy them to a new menu to use at runtime...
>
> That said, you could also just use the menu resource that the main menu uses
> to create the drop down menu as well. I'm pretty sure that would work
> directly. Just load it like you would any other context menu resource in
> the context menu handler.
>
> Tom
>
> "nexolite" <nexolite(a)discussions.microsoft.com> wrote in message
> news:D3D846C6-27B7-48CA-9FE4-F10C293A154B(a)microsoft.com...
> > Hi,
> >
> > How can I display a CMFCMenuBar as a context menu ?
> >
> > Thanks.
>
> .
>