I stumbled upon a curious problem with MFC. I have a Dialog where I check every Edit field on ON_EN_KILLFOCUS if it\'s valid. If validation doesn\'t go through I set focus back and show error message.
I have a class which inhe开发者_C百科rits from CListCtrl class, say class list. I have another class dlg, which inherits from CDialog.
I have a little dialog I created using Resource Editor in VS2005. It\'s going to be used as a child dialog of another dialog, in 2 different ways... either as a child which sits on top of the dialog l
I\'m using the folowing code to read files from a folder in windows. However since this a MFC application I have to convert the char array to UNICODE. For example if I hard code the path as \"C:\\imag
I want to write a *.ini 开发者_如何学Pythonfile in MFC. I know those typical methods with section names, key names and key values.
Right now, I\'m more into design & maintenance of MFC based application. I\'m seeing good progress and requirement f开发者_开发问答or C#.Net application.
I\'m updating some legacy apps to Visual Studio 10 and am in linker hell. All of these DLLs derive classes from CWinApp and use AfxGetApp() to get access to the object. When I link the DLLs I get unre
I have a dialog which has a web control... and with it I add elements using the put_innerHTML method of the class IHTMLElement. How do I delete elements though? 开发者_开发问答I can\'t seem to find th
Suppose I have a class that requires copy constructor to be called to make a correct copy of: struct CWeird
I have an MFC ActiveX control embedded in a web page.Some of the parameters for this control are very large.I don\'t know what these values will be at compile time, but I do know that once retrieved,