Hi, I'm developing a Dialog based application. I have seen SHFullscreen and
SHInitDialog methods for achieve it and it works, but I must to do it in each
"OnInitDialog" and in each "W_ACTIVATE" message of each Dialog Window to hide
the menubar and the SIP button (and it makes the app more slowly, all the
time trying to show the menubar and then I hide it) .

Is there an easy way to do this, for example, in the beginning of the
application, and it's applied for all the dialogs??

Thanks in advance.

Re: Hide the menubar and the SIP button by r_z_aret

r_z_aret
Sat Nov 13 16:07:15 CST 2004

On Wed, 10 Nov 2004 07:19:01 -0800, "iLLiDaN"
<iLLiDaN@discussions.microsoft.com> wrote:

>Hi, I'm developing a Dialog based application. I have seen SHFullscreen and
>SHInitDialog methods for achieve it and it works, but I must to do it in each
>"OnInitDialog" and in each "W_ACTIVATE" message of each Dialog Window to hide
>the menubar and the SIP button (and it makes the app more slowly, all the
>time trying to show the menubar and then I hide it) .
>
>Is there an easy way to do this, for example, in the beginning of the
>application, and it's applied for all the dialogs??

SHHandleWMActivate might do the trick. I didn't work hard, but I
couldn't get it to do it for me. I _think_ the problem (from my
perspective) is that the operating system resets the Task Bar and SIP
button visibility after each WM_ACTIVATE message. This is not a
problem for other Windows CE platforms.

>
>Thanks in advance.

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
500 Harrison Ave., Suite 3R
Boston, MA 02118
www.penfact.com