Dialog Boxes
Hi All,
i''m not using MFC.
I want to add a DialogBox to my Demo. A DialogBox where the user can choose a Api and a Resolution before the Demo start.
The thing is, i''ve created a Class for this dialog (sound normal), but when its came to add a DlgProc (fonction for handling Windows Msgs for this Dialog), where the hell i put it!?!
I''ve try put the DlgProc outside my class, work great but i can''t communicate with variable in my class (normal). But it''s seem to me that the way to do this is to put the DlgProc inside my class (sound great from OOP coding). But i dunno why but VC6++ complain about it, i''ve declared this DlgProc ''STATIC'', its work weel, but i cannot access my variable (sound logic from a OPP point of view).
Did anyone here known, how to declare a complete class for pure Win32 Coding...
Any help would be grateful,
Thanks,
LowRad
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement