ogl background

hello,

I'm trying to use ogl to create a gantt chart similar to that of
MS Project. Is there a straight way to draw something (a time ruler) in the background on canvas?
If there isn't, could you please suggest me a good approach?

thanks in advance,
Marco

Marco,

I'm trying to use ogl to create a gantt chart similar to that of
MS Project. Is there a straight way to draw something (a time ruler) in the background on canvas?
If there isn't, could you please suggest me a good approach?

Interesting!. I'm just finishing the first release of an open source project scheduling tool based on wxPython. I decided to create the gantt chart by drawing in the cells of wxGrid. I used the column headers for the time scale.

I had decided against an ogl approach for the first release because it would be harder to integrate with the information that must be displayed in a table format.

-- Brian

···

----------------------------------------------------------
http://www.SimpleProjectManagement.com
(What everyone needs to know about project management.)

Try doing it in an EVT_ERASE_BACKGROUND handler for the canvas window.

···

m.prosperi@libero.it wrote:

hello,

I'm trying to use ogl to create a gantt chart similar to that of
MS Project. Is there a straight way to draw something (a time ruler) in the background on canvas?
If there isn't, could you please suggest me a good approach?

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!