Click here to Skip to main content
11,412,834 members (75,274 online)
Click here to Skip to main content

Report control - with category

, 14 Oct 2005 CPOL
Rate this:
Please Sign up or sign in to vote.
A report control - with category.

Sample Image


Version 3.0.2 supports UNICODE. Thanks John A. Johnson for the hints. This version of report control supports a graphic view for tree and categories. The best way to see all the supported features is to compile the demo and try it.


This code is based on Maarten Hoeben's report control and is compatible with this control.

  • Compile with either VC 6 or VC 7.
  • Supports UNICODE.
  • Supports grouping by categories.
  • Supports graphical tree display.
  • Fixed various scroll problems.
  • Fixed auto sizing the columns.
  • Fixed header match window width.
  • Supports time.
  • Time for category displays Today, Tomorrow etc.
  • Uses a stable sort.
  • Added popup menu to select category.
  • Shift key can be used to resize a column without modifying header size.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

andre arpin
Software Developer
Canada Canada
I have been programming since 1960 in many places, in too many environments and languages. Retired and just doing this for a hobby.

Comments and Discussions

AnswerRe: BUG Found Pin
andre arpin at 13-Oct-05 5:22
memberandre arpin13-Oct-05 5:22 
GeneralRe: BUG Found Pin
andre arpin at 13-Oct-05 13:28
memberandre arpin13-Oct-05 13:28 
GeneralThanks for the article. Notice about ReportDemo sources. Pin
dido2k at 12-Oct-05 12:55
memberdido2k12-Oct-05 12:55 
GeneralRe: Thanks for the article. Notice about ReportDemo sources. Pin
andre arpin at 13-Oct-05 4:32
memberandre arpin13-Oct-05 4:32 
GeneralIt's exactly what i am finding! Pin
Angus He at 14-Jul-05 17:38
memberAngus He14-Jul-05 17:38 
GeneralUNICODE compile (VC6) Pin
John A. Johnson at 14-Jul-05 3:27
memberJohn A. Johnson14-Jul-05 3:27 
GeneralRe: UNICODE compile (VC6) Pin
andre arpin at 14-Jul-05 5:25
memberandre arpin14-Jul-05 5:25 
GeneralGreat job... Pin
Maarten Hoeben at 14-Jul-05 0:07
memberMaarten Hoeben14-Jul-05 0:07 
GeneralRe: Great job... Pin
andre arpin at 14-Jul-05 3:15
memberandre arpin14-Jul-05 3:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150427.1 | Last Updated 14 Oct 2005
Article Copyright 2005 by andre arpin
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid