PDA

View Full Version : Lost Control ????



webmice
March 9, 2004, 19:21:08
I want to change the windows position in FirstStep

m_pGrabber.setDefaultWindowPosition(false);
m_pGrabber.setWindowPosition( 100, 50);



error C2228: left of '.setDefaultWindowPosition' must have class/struct/union type
error C2228: left of '.setWindowPosition' must have class/struct/union type


What's problem :confused:

Stefan Geissler
March 10, 2004, 08:10:18
If m_pGrabber is a pointer, you should write:

m_pGrabber->setDefaultWindowPosition(false);
m_pGrabber->setWindowPosition( 100, 50);

webmice
March 10, 2004, 21:34:40
Thank you for you Help !!:) :)