15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


Multilined Headers

aworlow@ns.Sperry-Sun.COM
Wednesday, September 25, 1996


     Environment: VC++ 4.0; NT3.51
     ---------------------------------
     
     Hello:
     
     I am writing a tabular display of data in column format.  I need a 
     column header containing multiple lines of text for a CListView.  Can 
     CHeaderCtrl handle multiple lines?  Or must I write my own header 
     control?
     
     Thanks in advance
     
     Alex
     
     << aworlow@hou.sperry-sun.com >>




Deepak Saxena -- Deepak_Saxena@ccm.ch.intel.com
Friday, September 27, 1996


Text item: 

you'll have to use the owner-draw style and draw it yourself.


______________________________ Reply Separator _________________________________
Subject: Multilined Headers
Author:  owner-mfc-l@majordomo.netcom.com at SMTPGATE
Date:    9/25/96 8:45 AM


     Environment: VC++ 4.0; NT3.51
     ---------------------------------

     Hello:

     I am writing a tabular display of data in column format.  I need a
     column header containing multiple lines of text for a CListView.  Can
     CHeaderCtrl handle multiple lines?  Or must I write my own header
     control?

     Thanks in advance

     Alex

     << aworlow@hou.sperry-sun.com >>

Text item: External Message Header

The following mail header is for administrative use
and may be ignored unless there are problems.

***IF THERE ARE PROBLEMS SAVE THESE HEADERS***.

Reply-To: mfc-l@netcom.com
Precedence: bulk
Errors-To: owner-mfc-l@majordomo.netcom.com
Sender: owner-mfc-l@majordomo.netcom.com
Message-Id: <96Sep25.080903cdt.16642@firewall.Sperry-Sun.COM>
Subject: Multilined Headers
To: mfc-l@netcom.com
From: aworlow@ns.Sperry-Sun.COM
Date: Wed, 25 Sep 1996 08:45:13 -0500
Received: by majordomo.netcom.com (8.7.5/8.7.3/(NETCOM MLS v1.01)) id SAA05265;
Thu, 26 Sep 1996 18:48:28 -0700 (PDT)
Received: from majordomo.netcom.com (listless.netcom.com [206.217.29.105]) by or
mail.intel.com (8.7.6/8.7.3) with ESMTP id VAA10830 for ; Thu, 26 Sep 1996 21:04:38 -0700 (PDT)
Received: from ormail.intel.com (ormail.intel.com [134.134.248.3]) by relay.jf.i
ntel.com (8.7.4/8.7.3) with ESMTP id VAA27042 for ; Thu, 26 Sep 1996 21:04:38 -0700 (PDT)
Return-Path: owner-mfc-l@majordomo.netcom.com



Dicky Singh -- Dicky@landmark.com
Friday, September 27, 1996

How about overriding the standard Header control?
Check CHeaderCtrl::DrawItem

In a CListCtrl/CListView the header Ctrl is the first child window in
the CListCtrl.  The header Ctrl in a CListCtrl has ctrl id 0.

----------
From: 	aworlow@ns.Sperry-Sun.COM[SMTP:aworlow@ns.Sperry-Sun.COM]
Sent: 	Wednesday, September 25, 1996 9:45 a
To: 	mfc-l@netcom.com
Subject: 	Multilined Headers


     Environment: VC++ 4.0; NT3.51
     ---------------------------------
     
     Hello:
     
     I am writing a tabular display of data in column format.  I need a 
     column header containing multiple lines of text for a CListView.  Can 
     CHeaderCtrl handle multiple lines?  Or must I write my own header 
     control?
     
     Thanks in advance
     
     Alex
     
     << aworlow@hou.sperry-sun.com >>




--------------------
Dicky Singh, Dicky@Landmark.COM
Dragon Team. Landmark Systems Inc.
8000 Towers Crescent, Vienna VA 22182





| Вернуться в корень Архива |