Have a Pocket PC screen that makes the calls:
SHINITDLGINFO shDlgInfo;
SHMENUBARINFO shMenuBarInfo;
// menu bar should be empted while dialog is up
memset(&shMenuBarInfo, 0, sizeof(shMenuBarInfo));
shMenuBarInfo.cbSize = sizeof(shMenuBarInfo);
shMenuBarInfo.hwndParent = hWnd;
shMenuBarInfo.dwFlags = SHCMBF_EMPTYBAR;
shMenuBarInfo.hInstRes = NULL;
shMenuBarInfo.nBmpId = 0;
shMenuBarInfo.cBmpImages = 0;
shMenuBarInfo.nToolBarId = 0;
SHCreateMenuBar(&shMenuBarInfo);
shDlgInfo.hDlg = hWnd;
shDlgInfo.dwMask = SHIDIM_FLAGS;
shDlgInfo.dwFlags = SHIDIF_SIZEDLGFULLSCREEN;
SHInitDialog(&shDlgInfo);
SHFullScreen(hWnd, SHFS_SHOWTASKBAR|SHFS_SHOWSIPBUTTON);
When the dialog box comes up, the keyboard is displayed but the SIP button
that is found in the lower right corner of the menu bar is NOT there.
Any thought on why?