SHInitDialog (Compact 2013)

3/28/2014

This function resizes a dialog box to accommodate a software-based input panel (SIP) 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

See Also

Reference

Shell Functions
CreateDialog
DialogBox
SHINITDLGINFO