Ertan
Tue Nov 01 02:12:42 CST 2005
I m using EVC++4 and I was have solved this problem by that code snipped.
// Show system menu bar
SHMENUBARINFO mbi;
memset(&mbi, 0, sizeof(SHMENUBARINFO));
mbi.cbSize = sizeof(SHMENUBARINFO);
mbi.hwndParent = hWnd;
mbi.nToolBarId = IM_KEYBOARD_LAYOUT;
mbi.hInstRes = g_hInstance;
mbi.nBmpId = 0;
mbi.cBmpImages = 0;
if (!SHCreateMenuBar(&mbi))
return false;
"Robert W." <RobertW@discussions.microsoft.com> wrote in message
news:5D4A8721-35AB-4358-9437-DD1E8F759377@microsoft.com...
> Thanks, Tim, that solved it!
>
> P.S. Since posting I also found the following which explains in more
> detail
> what you said:
>
http://www.opennetcf.org/library/Microsoft.WindowsCE.Forms.InputPanel.html
>
>
> --
> Robert W.
> Vancouver, BC
> www.mwtech.com
>
>
>
> "Tim Wilson" wrote:
>
>> Try adding a MainMenu component to the second form.
>>
>> --
>> Tim Wilson
>> ..NET Compact Framework MVP
>>
>> "Robert W." <RobertW@discussions.microsoft.com> wrote in message
>> news:64C6D5E0-CD01-490B-913F-21097EFACA7E@microsoft.com...
>> > In my Pocket PC app I have the main form come up and then on top of
>> > that I
>> > display a smaller form, designed to resemble a dialog box. But when
>> > this
>> 2nd
>> > form appears, the small SIP icon in the lower right does not display.
>> >
>> > What's the best approach to refresh/redraw the screen? I'm thinking of
>> > doing this before displaying my smaller dialog box and am thinking that
>> may
>> > reveal the SIP icon.
>> >
>> > --
>> > Robert W.
>> > Vancouver, BC
>> > www.mwtech.com
>> >
>>
>>
>>