Link to home
Start Free TrialLog in
Avatar of alexott
alexott

asked on

Problems with local data

I want to create a window, but the window needs data from upper class (CMainFrame). How can I be able to get data from this class outside into my CWnd-OnPaint function ?
Avatar of cdesigner
cdesigner
Flag of Russian Federation image

set data in you window creation
ASKER CERTIFIED SOLUTION
Avatar of Vinayak Kumbar
Vinayak Kumbar

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Wyn
Wyn

Using a global variable.