Click here to Skip to main content
15,847,653 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
Questionhow to determine max TCP/IP send size Pin
bkelly1313-Dec-15 16:51
bkelly1313-Dec-15 16:51 
AnswerRe: how to determine max TCP/IP send size Pin
Richard MacCutchan13-Dec-15 22:11
mveRichard MacCutchan13-Dec-15 22:11 
GeneralRe: how to determine max TCP/IP send size Pin
bkelly1318-Dec-15 16:39
bkelly1318-Dec-15 16:39 
GeneralRe: how to determine max TCP/IP send size Pin
Richard MacCutchan18-Dec-15 22:47
mveRichard MacCutchan18-Dec-15 22:47 
AnswerRe: how to determine max TCP/IP send size Pin
Albert Holguin17-Feb-16 10:41
professionalAlbert Holguin17-Feb-16 10:41 
QuestionCFolderPickerDialog can't be inherited Pin
Prasanth.outofboxt6-Dec-15 23:59
Prasanth.outofboxt6-Dec-15 23:59 
SuggestionRe: CFolderPickerDialog can't be inherited Pin
Jochen Arndt7-Dec-15 2:00
professionalJochen Arndt7-Dec-15 2:00 
QuestionBuilding Graphical Menu Choices Pin
Tino Debelo16-Nov-15 15:07
Tino Debelo16-Nov-15 15:07 
Hi. I wrote a code that should have graphical menu choices. But I am getting error I believe it is syntax error where it does the menu choices. Can you please help me fix it for me? It has a lot of errors I believe they are syntax. I am thinking if I fix few errors all of them will be perfect. Please post your code. Thank you so much. Here is the part of the code that I have problem.

CWindow :
{
public:

	CContainedWindow m_Parent;
	CWindow() :
		m_Parent(this, 1){}

protected:
	typedef CWindowImpl<T, TBase, TWinTraits> baseClass;
	BEGIN_MSG_MAP(CWindow)
		other msgs
		ALT_MSG_MAP(1)
		MESSAGE_HANDLER(WM_DRAWITEM, OnDrawItem)
	END_MSG_MAP()
		{
			
		}

};

CWindow
{
public:
	DECLARE_WND_SUPERCLASS(_T("WTL_CButtonMenu"), GetWndClassName())
	CButtonMenu& operator=(HWND hWnd)
	{
		if (m_hWnd)
			DestroyWindow();
		if (::IsWindow(hWnd))
			SubclassWindow(hWnd);
		return *this;
	}
	// Member variable of dialog
	CWindow btnMenu;

	// Somewhere in WM_INITDIALOG handler
	btnMenu = GetDlgItem(IDC_BTN_ABOUT);
	btnMenu.AddMenuItem(IDC_MNU_ONE, "Windows");
	btnMenu.AddMenuItem(IDC_MNU_TWO, "Template");
	btnMenu.AddMenuItem(IDC_MNU_THREE, "", MF_SEPARATOR);
	btnMenu.AddMenuItem(IDC_MNU_FOUR, "Library");
};

QuestionRe: Building Graphical Menu Choices Pin
Richard MacCutchan16-Nov-15 21:57
mveRichard MacCutchan16-Nov-15 21:57 
QuestionCalling base class memeber function in child class member function Pin
Member 121160915-Nov-15 1:50
Member 121160915-Nov-15 1:50 
AnswerRe: Calling base class memeber function in child class member function Pin
Richard MacCutchan6-Nov-15 4:55
mveRichard MacCutchan6-Nov-15 4:55 
QuestionATL ACTIVEX UI design Pin
frankzf25-Sep-15 21:35
frankzf25-Sep-15 21:35 
Question64 bits application using Visual Basic 6 ActiveX controls Pin
RUSUA19-Aug-15 3:01
RUSUA19-Aug-15 3:01 
AnswerRe: 64 bits application using Visual Basic 6 ActiveX controls Pin
Daniel Pfeffer29-Aug-15 12:55
professionalDaniel Pfeffer29-Aug-15 12:55 
QuestionCString in static library for both MFC and non-MFC projects Pin
peterchen12-Aug-15 12:34
peterchen12-Aug-15 12:34 
AnswerRe: CString in static library for both MFC and non-MFC projects Pin
Albert Holguin20-Oct-15 11:15
professionalAlbert Holguin20-Oct-15 11:15 
Questionvisual studio 2010 error help needed Pin
VScoder126-Jul-15 0:32
VScoder126-Jul-15 0:32 
SuggestionRe: visual studio 2010 error help needed Pin
Richard MacCutchan6-Jul-15 1:07
mveRichard MacCutchan6-Jul-15 1:07 
GeneralRe: visual studio 2010 error help needed Pin
VScoder126-Jul-15 16:45
VScoder126-Jul-15 16:45 
GeneralRe: visual studio 2010 error help needed Pin
Richard MacCutchan6-Jul-15 22:46
mveRichard MacCutchan6-Jul-15 22:46 
GeneralRe: visual studio 2010 error help needed Pin
VScoder127-Jul-15 0:29
VScoder127-Jul-15 0:29 
GeneralRe: visual studio 2010 error help needed Pin
Richard MacCutchan7-Jul-15 0:35
mveRichard MacCutchan7-Jul-15 0:35 
GeneralRe: visual studio 2010 error help needed Pin
VScoder127-Jul-15 2:34
VScoder127-Jul-15 2:34 
GeneralRe: visual studio 2010 error help needed Pin
Richard MacCutchan7-Jul-15 2:56
mveRichard MacCutchan7-Jul-15 2:56 
GeneralRe: visual studio 2010 error help needed Pin
VScoder127-Jul-15 17:11
VScoder127-Jul-15 17:11 

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.