13.07.2015 Views

REFERENCE GUIDE

REFERENCE GUIDE

REFERENCE GUIDE

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Notice that the size of the text changes when this message is processed.EM_GETHANDLEThis message returns the data handle of the buffer that holds the contentsof the control window. The handle is always a local handle to a location inthe application's data segment.Parameters wParam Is not used.Return valueCommentsIParamIs not used.The return value is a data handle that identifies the buffer that holds thecontents of the edit control.An application may send this message to a control only if it has createdthe dialog box containing the control with the DS_LOCALEDIT style flagset.IIIEM_GETLINEThis message copies a line from the edit control.Parameters wParam Specifies the line number of the line in the control, where theline number of the first line is zero.Return valueIParamPoints to the buffer where the line will be stored. The first wordof the buffer specifies the maximum number of bytes to becopied to the buffer. The copied line is not null-terminated.The return value is the number of bytes actually copied. This message isnot processed by single-line edit controls.EM_GETLINECOUNTThis message returns the number of lines of text in the edit control.Parameters wParam Is not used.IParam Is not used.Return value The return value is the number of lines of text in the control.Comments This message is not processed by single-line edit controls.Chapter 6, Messages directory 617

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!