Click here to Skip to main content
15,900,461 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: conversion from _bstr_t to int Pin
ThatsAlok16-Jun-06 22:24
ThatsAlok16-Jun-06 22:24 
QuestionHow to know the dialog is destoryed Pin
xuwenq8816-Jun-06 17:02
xuwenq8816-Jun-06 17:02 
AnswerRe: How to know the dialog is destoryed Pin
_AnsHUMAN_ 16-Jun-06 17:47
_AnsHUMAN_ 16-Jun-06 17:47 
AnswerRe: How to know the dialog is destoryed Pin
Naveen16-Jun-06 18:20
Naveen16-Jun-06 18:20 
AnswerRe: How to know the dialog is destoryed Pin
ThatsAlok16-Jun-06 20:41
ThatsAlok16-Jun-06 20:41 
GeneralRe: How to know the dialog is destoryed Pin
xuwenq8816-Jun-06 23:10
xuwenq8816-Jun-06 23:10 
QuestionWIN32 API to find out color monitor v/s monochrome monitor Pin
rajandpayal16-Jun-06 16:01
rajandpayal16-Jun-06 16:01 
QuestionMSChart: Is it possible to combine 2 types of series on 1 MSChart Control? Pin
Martin-77716-Jun-06 12:35
Martin-77716-Jun-06 12:35 
Hello,
I need to draw 1 line and 1 bar chart on 1 plot.
I can't find a way how to do that.
I tried the following:
<br />
1 - VtChChartType2dBar<br />
3 - VtChChartType2dLine <br />
<br />
MSChart1.SetColumnCount(2);<br />
MSChart1.SetColumn(1);<br />
MSChart1.SetChartType(1);<br />
...<br />
<br />
MSChart1.SetColumn(2);<br />
MSChart1.SetChartType(3); <br />


Didn't work, it affects both series. So, both of them become lines.

I also tried this:
<br />
1 - VtChSeriesType2dBar<br />
6 - VtChSeriesType2dLine <br />
<br />
MSChart1.SetColumnCount(2);<br />
MSChart1.SetColumn(1);<br />
MSChart1.SetSeriesColumn(1);<br />
MSChart1.SetSeriesType(1);<br />
MSChart1.GetPlot().GetSeriesCollection().GetItem(1).SetSeriesType(1);<br />
...<br />
<br />
MSChart1.SetColumn(2);<br />
MSChart1.SetSeriesColumn(2);<br />
MSChart1.SetSeriesType(6);<br />
MSChart1.GetPlot().GetSeriesCollection().GetItem(2).SetSeriesType(6); <br />


No effect at all. Did I miss something or it's not possible at all?
I apprciate your help.
Regards,
Martin.
AnswerRe: MSChart: Is it possible to combine 2 types of series on 1 MSChart Control? Pin
Christopher Stratmann13-Jul-06 5:26
Christopher Stratmann13-Jul-06 5:26 
QuestionAdvantages of MFC Pin
maizhiming16-Jun-06 10:19
maizhiming16-Jun-06 10:19 
GeneralRe: Advantages of MFC Pin
Maxwell Chen16-Jun-06 10:53
Maxwell Chen16-Jun-06 10:53 
AnswerRe: Advantages of MFC Pin
_AnsHUMAN_ 16-Jun-06 17:59
_AnsHUMAN_ 16-Jun-06 17:59 
AnswerRe: Advantages of MFC Pin
ThatsAlok16-Jun-06 20:53
ThatsAlok16-Jun-06 20:53 
QuestionCString and sscanf Pin
kitty516-Jun-06 10:15
kitty516-Jun-06 10:15 
AnswerRe: CString and sscanf Pin
Michael Dunn16-Jun-06 10:39
sitebuilderMichael Dunn16-Jun-06 10:39 
GeneralRe: CString and sscanf Pin
Jörgen Sigvardsson16-Jun-06 11:37
Jörgen Sigvardsson16-Jun-06 11:37 
GeneralRe: CString and sscanf Pin
kitty516-Jun-06 12:05
kitty516-Jun-06 12:05 
GeneralRe: CString and sscanf Pin
Jörgen Sigvardsson16-Jun-06 13:23
Jörgen Sigvardsson16-Jun-06 13:23 
QuestionCDialog doesn't have an icon in the task bar Pin
ns16-Jun-06 9:22
ns16-Jun-06 9:22 
AnswerRe: CDialog doesn't have an icon in the task bar Pin
valikac16-Jun-06 11:01
valikac16-Jun-06 11:01 
QuestionShowWindow API Pin
MohammadAmiry16-Jun-06 8:32
MohammadAmiry16-Jun-06 8:32 
QuestionRe: ShowWindow API Pin
David Crow16-Jun-06 8:37
David Crow16-Jun-06 8:37 
AnswerRe: ShowWindow API Pin
Jun Du16-Jun-06 8:51
Jun Du16-Jun-06 8:51 
GeneralRe: ShowWindow API Pin
MohammadAmiry17-Jun-06 0:42
MohammadAmiry17-Jun-06 0:42 
QuestionHow to dynamically load GdiPlus.dll? Pin
Cyrus Dang16-Jun-06 7:08
Cyrus Dang16-Jun-06 7:08 

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

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