R3xy
December 7th, 2002, 03:55 PM
i can't get UpdateData to work in vc++.net.... both ways don't work.. what am i doing wrong? if i'm doing anything wrongly
|
Click to See Complete Forum and Search --> : UpdateData not working in vc++.net R3xy December 7th, 2002, 03:55 PM i can't get UpdateData to work in vc++.net.... both ways don't work.. what am i doing wrong? if i'm doing anything wrongly Jesper A December 8th, 2002, 04:59 AM Havenīt discovered any difficulties.Post some code. Jesper A December 8th, 2002, 05:29 AM Forgot something... Check DoDataExchange(CDataExchange* pDX) to see that your control is listed like this DDX_Control(pDX, IDC_SHOW, m_cShow); I have had to typed that myself. R3xy December 8th, 2002, 12:18 PM Originally posted by Jesper A Forgot something... Check DoDataExchange(CDataExchange* pDX) to see that your control is listed like this DDX_Control(pDX, IDC_SHOW, m_cShow); I have had to typed that myself. thnx... but how come in vc++6.0 i didn't need to do such thing to use updatedata? can it b automated like in vc++6.0? Jesper A December 8th, 2002, 02:23 PM If you rightclick in the resource editor on your control and choose add variable you get the automation. As long as you add a controlvariable.It wont work if you uncheck the Control Variable check box. dziadek_lesny December 12th, 2002, 06:25 AM About the automation in adding member variables of non-control type: I got answer to this problem in Microsoft's forum. They said that they have added this problem to their bug-database, so we'll have to wait until they will publish some service packs... codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |