You can use WinDDK which distributes old ATL Versions. Check the article, How to compile MFC code in Visual C++ Express[^]
venkatmakam
Posts
-
how to add atlbase.h in VC++2008 Express? -
Difference between Critical Sections over Mutex objectsFrom the book Programming Applications for Microsoft Windows by Jeffrey Richter, Mutexes behave identically to critical sections, but mutexes are kernel objects, while critical sections are user-mode objects. This means that mutexes are slower than critical sections. But it also means that threads in different processes can access a single mutex,... I think this line answers your two questions.
-
Hiding DialogBar of Mainframe [Solved]Try Using ShowcontrolBar to show\hide the controlbar.
-
Pure virtual base class questionEric__V wrote:
instance of _base
I doubt on the term instance in case of pure virtual class.You can't create an instance of a class if it have a pure virtual function.May be the code is declaring the pointer of base class and assigning the instance of derived class.Like, _base *pbase = new basederive();
Eric__V wrote:
Further question. What if you have two descendents from _base. How does the compiler know which one to instantiate?
This will be done with help of virtual pointer table.There are lot of articles in code project on this.Start from this link, ATL Under the Hood - Part 2
-
Sort the list of files available in a folder.Check this example implementation which sorts CStringArray. http://support.microsoft.com/kb/120961
-
[Win32]Add context menu to edit controlDerive a new class from the CEdit and handle the ON_WM_CONTEXTMENU() message.Check this article for referance, How to modify a CEdit context menu[^]
-
convert short to Cstring...Use CString::Format funcion to convert short to string like this.
CString strYear;
strYear.Format("%d", m_start_year); -
":" in structThese are called Bit fields,Check these links for more info, Wiki Chechk Bit Fields Topic
-
how to get the code of OnLButtonDown and OnMouseMove etc in OnDraw method ?iampradeepsharma wrote:
how to get the code of OnLButtonDown and OnMouseMove etc
Do you want generate your own
OnLButtonDown
andOnMouseMove
messages or you want to use that methods functionality? -
Trouble with C macro '#'In vs2005,
1. Go to Tools->Options
2. Click on projects and solutions tree item
3. Select vc++ directories item
4. Select Include files in drop down window "Show Directories for"
5. Then add your include directory.I think it will be same in all VS IDE.
-
MFC COMNo problem.Actually the ATL link also very useful for me.I did not worked that much with ATL.
-
MFC COMBut the requirement is to create a COM component using MFC Classes.
http://www.mono-project.com/Main\_Page
modified on Wednesday, June 1, 2011 4:48 AM
-
MFC COMCheck this article. An MFC COM In-Process Component
-
add WM_SETFONT message handle in MFCI think you can use ON_MESSAGE 0N_MESSAGE(WM_SETFONT, OnSetFont)... where OnSetFont is declared as afx_msg LRESULT OnSetFont(WPARAM, LPARAM). and WPARAM contains HFONT.
-
SetWindowRgn Menu Problemhow you are calculating rc?
-
How to use help fileThis will work, ::HtmlHelp(NULL, _T("HelpSample.chm::/html/page1.html"), HH_DISPLAY_TOPIC, 0);
-
Edit message in CListCtrli think you are talking about the following situation.when we want to rename an icon in explorer we will click the item first and after a while we will click it again to rename it.is this is you are talking about?.
-
Open other Application From Dialogue -
Setting BGColor to a WebBrowser Control [modified]Yes it has to work since CExplorer1 is also Derived From CWnd. and mark your comment as answer.My 5.
-
Setting BGColor to a WebBrowser Control [modified]What is CExplorer?