B
BEZET
Guest
Hello
I 'm french. Context: visual studio 2017 and cpp.
i want to create a Array of CToolTipCtrl with the class CArray.
i write in a function
{
CArray<CToolTipCtrl ,CToolTipCtrl > ptArray;
CToolTipCtrl Local;
Local.AddTool(Pt_CWin_Control, _Text);
and so on .....
ptArray.Add(Local); ==> error during compilation can't not convert HWND with REG_ARG
}
Just like that
{
// CArray Class
// example for CArray::Add
CArray<CPoint,CPoint> ptArray;
CPoint pt(10,20);
}
I don't undestand.... why it's a problem?
G3D
Continue reading...
I 'm french. Context: visual studio 2017 and cpp.
i want to create a Array of CToolTipCtrl with the class CArray.
i write in a function
{
CArray<CToolTipCtrl ,CToolTipCtrl > ptArray;
CToolTipCtrl Local;
Local.AddTool(Pt_CWin_Control, _Text);
and so on .....
ptArray.Add(Local); ==> error during compilation can't not convert HWND with REG_ARG
}
Just like that
{
// CArray Class
// example for CArray::Add
CArray<CPoint,CPoint> ptArray;
CPoint pt(10,20);
}
I don't undestand.... why it's a problem?
G3D
Continue reading...