Re: How to hide main menu strip by r_z_aret
r_z_aret
Thu Jul 17 15:39:22 CDT 2008
On Thu, 17 Jul 2008 05:23:12 -0700 (PDT), k.zatwarnicki@gmail.com
wrote:
>I work in VS2005, C# and write application for PPC. I would like to
>sometimes hide main menu strip (Maim menu with ToolBar in it). I
>managed to hide the main menu when there is no toolBar inside it
>however I don?t know how to hide it with toolBar. Does anybody have
>idea haw to solve that problem.
The official method is to use SHInitDialog with
SHIDIF_FULLSCREENNOMENUBAR, but it doesn't work so well.
I use InvalidateRect and then ShowWindow, using the HWND from the
SHMENUBARINFO structure I first use with SHCreateMenuBar.
>Thank for any suggestions.
>kzchris
-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).
Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com