P
Paul Hemans
I am trying to have a label show the X and Y positions of the mouse, but I
am getting bogged down with string handling
void MyForm::OnMouseMove(MouseEventArgs *e){
// Display the x position
string ss;
ss = e->X.ToString();
ss += " ";
ss += e->Y.ToString();
m_poLabel->Text = ss;
}
error C2679: binary '=' : no operator found which takes a right-hand operand
of type 'System::String __gc *' (or there is no acceptable conversion)
Thanks
am getting bogged down with string handling
void MyForm::OnMouseMove(MouseEventArgs *e){
// Display the x position
string ss;
ss = e->X.ToString();
ss += " ";
ss += e->Y.ToString();
m_poLabel->Text = ss;
}
error C2679: binary '=' : no operator found which takes a right-hand operand
of type 'System::String __gc *' (or there is no acceptable conversion)
Thanks