Member vars for ActiveX -button in VC.NET Dlg
-
hi! I added my ActiveX Control (a owner-drawn-button) to the toolbox-wnd, and inserted it like a std-control. Until here it works same like in VC6. But if i want to add a member-var for my ActiveX-button, (with a right-click on the control in Dlg -->Add Variable ) The Assistent for adding member variables pops up, and has very strange default properties!! : My Control-ID: IDC_OK Suggested variable-typ from vc.net: COK !!! (my class name = CLButton) Additionally the IDE wants to build Wrapper Classes for the button named "ok.h" + "ok.cpp"!!! When i try to substitute the ok.h + ok.cpp files and the Variable-Typ with the correct ones (CLButton) the assistent says that these classes exists and if they should be overwritten!! anyone out there who can help? (i think its a bug in VS.NET) thanks!