Share via


CImeCUIToolBar::Button::GetSize (Windows Embedded CE 6.0)

1/6/2010

This method retrieves the size of a button.

Syntax

static void GetSize(
  DWORD dwButtonId,
  SIZE* psize
); 

Parameters

  • dwButtonId
    [in] Unsigned, 32-bit integer that indicates the type of the button. The following table shows the possible values.

    Value Description

    CUITOOLBARBUTTON_CMODE

    Conversion-mode button.

    CUITOOLBARBUTTON_SMODE

    Sentence-mode button.

    CUITOOLBARBUTTON_REGWORD

    Register-word button.

    CUITOOLBARBUTTON_CONFIG

    Property button.

    CUITOOLBARBUTTON_CAPS

    CAPS button.

    CUITOOLBARBUTTON_KANA

    KANA button.

    CUITOOLBARBUTTON_DICTOOL

    Dictionary-tool button.

    CUITOOLBARBUTTON_TOOL

    Tool button.

  • psize
    [out] Pointer to a SIZE structure that receives the size of the button.

Return Value

None.

Requirements

Header imjpskin.h
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

CImeCUIToolBar

Other Resources

RECT