CTLINITBEDIT 

2.0     

Initialization information for a boxed edit (bedit) control.

typedef struct { 

     DWORD cbSize;

     HWND hwnd;

     int id;

     int wSizeCategory;

     WORD wFlags;

     DWORD dwReserved;

} CTLINITBEDIT;

 

Members

cbSize

Size of this structure in bytes.

hwnd

Handle of a boxed edit window.

id

Control identifier.

wSizeCategory

Size category, which can be one of the following BESC_ constants:

Constant

Description

BESC_DEFAULT

Use the default size parameters to create the
boxed edit control. This results in the same behavior as BESC_KANJIFIXED for applications that have registered themselves through the
use of the SetPenAppFlags232HBCC function with the RPI_KANJIFIXEDBEDIT flag. For all other applications, it results in the same behavior as BESC_ROMANFIXED.

BESC_ROMANFIXED

Comb-style bedit control with dimensions indicated by BXD_ constants (in dialog units). Meant for use with Roman characters.

BESC_KANJIFIXED

(Japanese version only.) Box-style bedit control with dimensions indicated by BXDK_ constants (in dialog units). Meant for use with kanji characters. This value should be used by applications that cannot handle user-defined box sizes.

BESC_USERDEFINED

A bedit control that can handle the box size parameters defined by the user. For further details, see the description for PMSC_BEDITCHANGE in the reference section for the WM_PENMISC message.

 

wFlags

Flags that determine certain properties of the boxed edit control. This can be a combination of the following values:

Constant

Description

CIB_NOGDMSG

(Not supported in Japanese version.)
Do not display the garbage-detection message box when writing in the bedit control.

CIB_NOACTIONHANDLE

Do not create action handles.

CIB_NOFLASHCURSOR

Do not change the cursor if tap-and-hold action is detected.

CIB_NOWRITING

(Japanese version only.) Do not allow pen input into the control. Other methods of inputting text, such as keyboard input or pasting from the keyboard, are allowed.

 

dwReserved

Reserved, should be set to 0.

 

Comments

Before using CTLINITBEDIT, an application must initialize cbSize with sizeof( CTLINITBEDIT ).

See Also

WM_CTLINIT