Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Osmin Lazo
|
May 3, 2005 - 1:08 PM
|
Hi Technical Support Team, I’ve been trying a few things but I can’t get multiple lines to display in a text cell. Is this possible? Thanks, Osmin.
|
|
Technical Support
|
May 6, 2005 - 4:15 AM
|
Thank you for the interesting question. The grid cells always paint the text value in a single line. The CDC::DrawText() method is used for rendering text. You can create your own cell class and override the CExtGridCell::OnQueryDrawTextFlags() virtual method. Your method should call the parent and remove the DT_SINGLELINE flag from the returned value before passing it to the caller.
|
|