getting the class members to pop up?
-
Can someone remind me what the required step is so that if you add in a header and source file from an article here to be included in your project (eg MFC dialog), you get the class members to pop up when you hit a "." or "->" operator on an object. t.i.a
-
Can someone remind me what the required step is so that if you add in a header and source file from an article here to be included in your project (eg MFC dialog), you get the class members to pop up when you hit a "." or "->" operator on an object. t.i.a
Nothing special is required. You may need to rebuild the .clw file, however.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
-
Nothing special is required. You may need to rebuild the .clw file, however.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
hmm, I tried this but no joy so far. I've added Cedric Moonens CCHartCtrl files to my project and make use of them on a dialog with a graph. I know it all works properly, but for example where I have CChartSerie* pLineSerieCol = m_ChartCtrl.AddSerie(CChartSerie::stLineSerie); pLineSerieCol->SetName("Energy Data"); pLineSerieCol->SetColor(0x00ff0000); at the "->" it refuses to pop up the available methods of the class. I've manually deleted the .clw file, tried rebuild all and also opened class wizard with the clw file missing to force it to rebuild and checked that the source files are all included, but no joy as yet. I wonder if it is humanly possible to feel more like a muppet than I do today
-
hmm, I tried this but no joy so far. I've added Cedric Moonens CCHartCtrl files to my project and make use of them on a dialog with a graph. I know it all works properly, but for example where I have CChartSerie* pLineSerieCol = m_ChartCtrl.AddSerie(CChartSerie::stLineSerie); pLineSerieCol->SetName("Energy Data"); pLineSerieCol->SetColor(0x00ff0000); at the "->" it refuses to pop up the available methods of the class. I've manually deleted the .clw file, tried rebuild all and also opened class wizard with the clw file missing to force it to rebuild and checked that the source files are all included, but no joy as yet. I wonder if it is humanly possible to feel more like a muppet than I do today
ldsdbomber wrote:
...at the "->" it refuses to pop up the available methods of the class.
I've had this happen in a few instances where the method that I was currently in had not yet been added to the class. For example:
void MyClass:DoSomething( void )
{
CChartSerie* pLineSerieCol = m_ChartCtrl.AddSerie(CChartSerie::stLineSerie);
pLineSerieCol->SetName("Energy Data");
pLineSerieCol->SetColor(0x00ff0000);
}If the
DoSomething()
method had not yet been added toMyClass
, then Intellisense would fail to work. This does not appear to be the case with you however.ldsdbomber wrote:
I wonder if it is humanly possible to feel more like a muppet than I do today
Only if you are you sprouting fur in odd places.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
-
ldsdbomber wrote:
...at the "->" it refuses to pop up the available methods of the class.
I've had this happen in a few instances where the method that I was currently in had not yet been added to the class. For example:
void MyClass:DoSomething( void )
{
CChartSerie* pLineSerieCol = m_ChartCtrl.AddSerie(CChartSerie::stLineSerie);
pLineSerieCol->SetName("Energy Data");
pLineSerieCol->SetColor(0x00ff0000);
}If the
DoSomething()
method had not yet been added toMyClass
, then Intellisense would fail to work. This does not appear to be the case with you however.ldsdbomber wrote:
I wonder if it is humanly possible to feel more like a muppet than I do today
Only if you are you sprouting fur in odd places.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne