message::get_text

This message is used to query the text of the window.

Parameters

parameter1

The size of the buffer pointed to by parameter2.

parameter2

A pointer to a buffer to hold the text being queried.

Return

result

The number of characters copied to the buffer.

Notes

When this message is sent to a display (static) control that displays an icon that was set via the message message::set_text, this message returns a handle of the icon.