Поделиться через


SHInitDialog (Windows Embedded CE 6.0)

1/6/2010

This function resizes a dialog box to accommodate a software input panel based on parameters specified in a SHINITDLGINFO structure.

Syntax

BOOL SHInitDialog(
  PSHINITDLGINFO pshidi
);

Parameters

Return Value

This function returns TRUE if it is successful and FALSE if it fails.

Remarks

The following code example shows how to use the SHInitDialog function.

SHINITDLGINFO shidi;
BOOL bSuccessInit;
case WM_INITDIALOG:
  // Create a Done button and size it.
  shidi.dwMask = SHIDIM_FLAGS;
  shidi.dwFlags = SHIDIF_SIZEDLGFULLSCREEN;
  shidi.hDlg = hDlg;
  SHInitDialog(&shidi);
  bSuccessInit = SHInitDialog(&shidi);
  break;

Requirements

Header shellsdk.h
Library aygshell.lib
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

AYGShell Functions
CreateDialog
DialogBox
SHINITDLGINFO