Click here to Skip to main content
15,914,500 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Warning: no message line prompt for ID 0x8136... Pin
David Crow21-Dec-04 4:46
David Crow21-Dec-04 4:46 
GeneralRe: Warning: no message line prompt for ID 0x8136... Pin
krmed21-Dec-04 6:38
krmed21-Dec-04 6:38 
GeneralRe: Warning: no message line prompt for ID 0x8136... Pin
Anonymous21-Dec-04 6:51
Anonymous21-Dec-04 6:51 
GeneralToolhelp32ReadProcessMemory() and ReadProcessMemory() fail Pin
TobiasLangner21-Dec-04 4:14
sussTobiasLangner21-Dec-04 4:14 
GeneralRe: Toolhelp32ReadProcessMemory() and ReadProcessMemory() fail Pin
David Crow21-Dec-04 4:42
David Crow21-Dec-04 4:42 
GeneralRe: Toolhelp32ReadProcessMemory() and ReadProcessMemory() fail Pin
Tobias Langner21-Dec-04 21:22
sussTobias Langner21-Dec-04 21:22 
GeneralWhere have the wizards gone, ActiveX Controls Pin
greekgoddj21-Dec-04 3:54
greekgoddj21-Dec-04 3:54 
GeneralRe: Where have the wizards gone, ActiveX Controls Pin
Antti Keskinen21-Dec-04 5:07
Antti Keskinen21-Dec-04 5:07 
greekgoddj wrote:
The class wizard seems to be gone and instead replaced by options to add methods/variables/properties etc. How does one remove/delete methods/variables/properties without manually editing the code now that the wizard is gone.

The Class Wizard is gone. You can add new member methods/variables/properties by using the menu, but you must delete them manually. There's no auto-deleting option built-in. The new way to override virtual methods (such as adding Win32 message handlers) is to click on a class name in Class View, then use the Properties box on the right. I think this was a good introduction, because the code Class Wizard used to generate looked ugly as hell. You can further enhance your productivity by installing a third-party tool such as Visual Assist.

greekgoddj wrote:
-- Is this the case? How can I set the number of controls an ActiveX Control project has in Visual Studio .NET?

Your approach is wrong. To create a multi-control ActiveX component, create an ATL Project (wizard) first. Call it 'My Controls', for example. Then go to Class View, choose 'Add Class' and select 'ATL Control' as type. This adds a new ATL ActiveX control into the project. Another method is to create an MFC ActiveX Control, then add ATL support and add ATL Controls like above.

The MFC Class Library has been merged with ATL, creating the ATL/MFC Library which currently exists in VS 2003. This is visible through the documentation, and the introduction of classes like CStringT. It is _strongly_ encouraged to use pure ATL in creating ActiveX Controls. That is what ATL was built for: ActiveX Template Library.

greekgoddj wrote:
Where have all the wizards gone?

You know how wizards are: short-tempered and quick to anger. It seems they've decided to take a leave. Microsoft became with a whole new approach to the wizard theme, replacing them with scripted dialogs that only generate pure code and cease to exist after they've been ran. This removes things like Class Wizard database files (which were always corrupt) and the ugly-looking defines and insertion point markings with triple-backslashes. I think it was a good thing. The code's clear, good-looking and easy to follow. It does introduce some more manual work, but using the mouse and Delete, I think it's pretty easy to remove unneeded variables/methods.

Then about the versioning. Visual Studio version 6 was version 6. Version 7 is .Net 2002 and 7.1 is .Net 2003. Version 8 will be 2005, when it's released.

-Antti Keskinen

----------------------------------------------
"If we wrote a report stating we saw a jet fighter with a howitzer, who's going to believe us ?"

-- R.A.F. pilot quote on seeing a Me 262 armed with a 50mm Mauser cannon.
GeneralRe: Where have the wizards gone, ActiveX Controls Pin
greekgoddj22-Dec-04 4:42
greekgoddj22-Dec-04 4:42 
GeneralRe: Where have the wizards gone, ActiveX Controls Pin
greekgoddj22-Dec-04 5:03
greekgoddj22-Dec-04 5:03 
GeneralRe: Where have the wizards gone, ActiveX Controls Pin
Antti Keskinen22-Dec-04 5:46
Antti Keskinen22-Dec-04 5:46 
GeneralVisual C++ read autocad(dxf) Pin
yangxjn21-Dec-04 3:49
yangxjn21-Dec-04 3:49 
GeneralRe: Visual C++ read autocad(dxf) Pin
David Crow21-Dec-04 4:44
David Crow21-Dec-04 4:44 
Questionserial port buffer full? Pin
Nik0n20-Dec-04 23:56
Nik0n20-Dec-04 23:56 
AnswerRe: serial port buffer full? Pin
Trollslayer21-Dec-04 2:06
mentorTrollslayer21-Dec-04 2:06 
GeneralRe: serial port buffer full? Pin
Nik0n21-Dec-04 2:25
Nik0n21-Dec-04 2:25 
QuestionTransparent Label ? Pin
pc_dev20-Dec-04 23:13
pc_dev20-Dec-04 23:13 
GeneralUpload picture Pin
henryzal20-Dec-04 22:25
susshenryzal20-Dec-04 22:25 
GeneralRe: webservice Pin
Antti Keskinen20-Dec-04 22:17
Antti Keskinen20-Dec-04 22:17 
GeneralDynamic Crystal report viewer control Pin
Rahim Rattani20-Dec-04 20:40
Rahim Rattani20-Dec-04 20:40 
GeneralRe: Dynamic Crystal report viewer control Pin
naren-vc21-Dec-04 21:57
naren-vc21-Dec-04 21:57 
Generalset cprintdialog.m_pd.hdevmode Pin
nancysangeetha20-Dec-04 20:20
nancysangeetha20-Dec-04 20:20 
GeneralRe: set cprintdialog.m_pd.hdevmode Pin
David Crow21-Dec-04 2:17
David Crow21-Dec-04 2:17 
GeneralRe: set cprintdialog.m_pd.hdevmode Pin
nancysangeetha21-Dec-04 17:54
nancysangeetha21-Dec-04 17:54 
GeneralCalling a web service form MFC... Pin
anderslundsgard20-Dec-04 20:06
anderslundsgard20-Dec-04 20:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.