SAMPLE: Raising Text Size Limit for Edit ControlsLast reviewed: July 23, 1997Article ID: Q77287 |
3.00 3.10
WINDOWS
kbprg kbfile
The information in this article applies to:
By default, the buffer for an edit controls is allocated from the application's data segment. Because the data segment is also used to store information for other controls, space in the data segment is a scarce resource. GLBEDIT is a code sample in the Microsoft Software Library that demonstrates how an edit control can have its own data segment. Download GLBEDIT.EXE, a self-extracting file, from the Microsoft Software Library (MSL) on the following services:
The GLBEDIT sample shows how to change hInstance to point to a new global object. Multiple controls of any type can use the same memory object. To find the effected portions of the code, search for WM_CREATE in the MainWndProc.
|
Additional reference words: 3.00 3.10 softlib GLBEDIT.EXE
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |