65.9K
CodeProject is changing. Read more.
Home

Microsoft Office Outlook 2003 Header Controls

starIconstarIcon
emptyStarIcon
starIcon
emptyStarIconemptyStarIcon

2.33/5 (14 votes)

Sep 23, 2004

viewsIcon

75707

downloadIcon

1768

A header control that mimics outlook 2003 headers and sub headers

Introduction

This is a set of two controls, a MainHeader control, and a SubHeader control respectively. These controls are designed to mimic the look and feel of the header and sub header controls used in Microsoft Office Outlook 2003. The code is included, but I used images for the controls instead of drawing them to make it a lot easier and to get it out to you the developer a lot faster. Included is a sample project which includes the controls, and this is where the screenshots comes from. I’m currently developing a whole suite of Office 2003 controls that will be available for free. This is only two of the controls that my suite will include. I will post an update to this when the suite is complete.

Using the code

The only code for these controls are getting and setting two properties for the headers text and fonts.

//
//  For some reason you have to call this.Update() from the 
//  form that’s containing the controls move method to re-draw them
//  I guess it’s because I used images instead of drawing the 
//  headers through code. It still works great though. If anybody has 
//  an idea of how to fix this please email me and let me know.
//

Points of Interest

Just trying to improve the User Interface, by providing Office 2003 style controls, one control at a time.

History

  • Version 1.0