How do I get a graphics^ object?
As I only know the old C++ I am completely lost.
Pls help me if you can.
Pls help me if you can.
Also, for graphics object, I believe you can just create a new System::Windows::Forms::Control object say MyControl and then do something like:
Graphics ^ MyOject = MyControl.CreateGraphics();
Please see the help for System::Windows::Forms::Control if this still doesn't work.
Also, make sure NOT to do something like:
MyObject=System::Windows::Forms::Control::CreateGraphics since CreateGraphics is not a static method and hence the compiler will complain.
Thanks,
Ayman Shoukry
VC++