Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Property Grid
  New Posts New Posts RSS Feed - Multiline grid item
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Multiline grid item

 Post Reply Post Reply
Author
Message
farr02 View Drop Down
Groupie
Groupie


Joined: 10 May 2005
Status: Offline
Points: 51
Post Options Post Options   Thanks (0) Thanks(0)   Quote farr02 Quote  Post ReplyReply Direct Link To This Post Topic: Multiline grid item
    Posted: 30 August 2005 at 4:53am
Hello,
is there a way to display multiline text values not only in the value field but also in the name field (aka the left column) of the property-grid?
Best regards,
   Holger

Back to Top
farr02 View Drop Down
Groupie
Groupie


Joined: 10 May 2005
Status: Offline
Points: 51
Post Options Post Options   Thanks (0) Thanks(0)   Quote farr02 Quote  Post ReplyReply Direct Link To This Post Posted: 21 October 2005 at 8:24am
Hi,

big thanks to Oleg. He gave me the answer:-) This feature is already implemented in v9.80:

        pItem = pMetrics->AddChildItem(new CXTPPropertyGridItem(_T(""), _T("Just one line")));
        pItem->SetMultiLinesCount(3);
        pItem->SetCaption(_T("Line1\r\nLine2\r\nLine3"));
        pItem->GetCaptionMetrics()->m_uDrawTextFormat = DT_WORDBREAK; // 16

Bye
   Holger


Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.