Windows Develop Bookmark and Share   
 index > Windows Forms Sample Applications > Outlook 2003 Clone - Owner Drawn background Color problem
 

Outlook 2003 Clone - Owner Drawn background Color problem

Hi All,

I am writing some prototypes for our new product line, and have sampled parts of the Outlook 2003 Clone application.

The part im having trouble with is the folderView control. I created a new control in my project (workspaceView) which mimics the folder view but i load my tree nodes at runtime. The 'DrawAnnotatedText' method gets called as it should do, so that some of the nodes are bold when the count is > 0, but when i click on the bold node, the background highlighthing color does not highlight all of the node text. Its always about 10 pixels short.

The link belowshows an image with a highlighted node that should read 'Budgens Expense Invoices'.

I have no idea why this is happening, so any ideas would be much appreciated.

http://www.ibstonecricketclub.co.uk/andy/ownerdrawn.gif

Gleedo  Tuesday, June 06, 2006 9:41 AM

If your looking for controls that minic the look and feel of Office 2003 then you should check out my free library at the following link. Sorry for the self advertising but it sounds like it could help you in your project.

http://www.componentfactory.com

Phil Wright
http://www.componentfactory.com
Free user interface controls for .NET2

Philip Wright  Tuesday, June 06, 2006 11:25 AM

If your looking for controls that minic the look and feel of Office 2003 then you should check out my free library at the following link. Sorry for the self advertising but it sounds like it could help you in your project.

http://www.componentfactory.com

Phil Wright
http://www.componentfactory.com
Free user interface controls for .NET2

Philip Wright  Tuesday, June 06, 2006 11:25 AM

thanks but its really a problem with owner drawn treeviews. I have already written my own outlook style header controls / document manager / groups etc.

thanks all the same though. I have looked at your stuff before, but my company doesnt like using 3rd party controls if at all possible.

regards gleedo

Gleedo  Tuesday, June 06, 2006 11:55 AM

You can use google to search for other answers

Custom Search

More Threads

• All Green Lights and No Critters
• Another stupid question "species name exists in universe"
• how to get the service "startup type" from an external windows application
• Install Task Vision Server in a Domain
• What exactly is the Peer Channel?
• Anyone know where to get custom skins?
• source code download
• TaskVision Websevice Problem Cache
• Server Setup Package Taskvision 2.0
• Terranium Error