TfLayoutCode enumeration (msctf.h)

Elements of the TfLayoutCode enumeration specify the type of layout change in an ITfTextLayoutSink::OnLayoutChange notification.

Syntax

typedef enum __MIDL_ITfTextLayoutSink_0001 {
  TF_LC_CREATE = 0,
  TF_LC_CHANGE = 1,
  TF_LC_DESTROY = 2
} TfLayoutCode;

Constants

 
TF_LC_CREATE
Value: 0
The view has just been created.
TF_LC_CHANGE
Value: 1
The view layout has changed.
TF_LC_DESTROY
Value: 2
The view is about to be destroyed.

Remarks

In TSF, a view is on-screen rendering of document content. These constants are assigned to parameters of methods of the ITf* interfaces, but not those of the IText* interfaces.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header msctf.h
Redistributable TSF 1.0 on Windows 2000 Professional

See also

ITfTextLayoutSink::OnLayoutChange