Re: Mainframe menu position (as in explorer)

"Shan Lin" <[email protected]> Mon, 20 Dec 2010 08:14:57 -0000
Newsgroups gmane.comp.windows.wtl
Message-ID <[email protected]>

--- In [email protected], "Igor Tandetnik" <itandetnik@...> wrote:
>
> Dani <dmagn25@...> wrote:
> > I'm creating an application which has a breadcrumb which looks similar to explorer's. It starts with the control menu hidden.
> > When the user presses "Alt" the menu toggles between visible/hidden. I'm using 
> > 
> > SetMenu(mainmaun) and SetMenu(NULL)
> > 
> > The problem is the menu appears *above* my own breadcrums, and I can't find a way to make it appear below it(as in explorer). Is
> > there any way to position the menu? 
> 
> In Explorer, it's not a real menu bar (the kind you manage with SetMenu). It's actually a toolbar with its buttons cleverly custom-drawn to look like menu items. You can see that with Spy++. It's all smoke and mirrors.
> -- 
> Igor Tandetnik
>


try:  SetParent(hwnd );//hwnd is your explore's hwnd
if not work   ----modify window's style and exstyle




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/wtl/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/wtl/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/