Click here to Skip to main content
15,901,205 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: insert elements in order??? Pin
2-Feb-02 17:52
suss2-Feb-02 17:52 
GeneralRe: insert elements in order??? Pin
Paul M Watt2-Feb-02 18:53
mentorPaul M Watt2-Feb-02 18:53 
Generallooking for a program Pin
A.D2-Feb-02 15:15
A.D2-Feb-02 15:15 
GeneralRe: looking for a program Pin
antoine@orchus-tech2-Feb-02 16:59
antoine@orchus-tech2-Feb-02 16:59 
GeneralRe: looking for a program Pin
A.D2-Feb-02 17:26
A.D2-Feb-02 17:26 
GeneralRe: looking for a program Pin
moliate4-Feb-02 12:09
moliate4-Feb-02 12:09 
GeneralList Control Space Bug Pin
Swinefeaster2-Feb-02 14:55
Swinefeaster2-Feb-02 14:55 
QuestionWTL::CDragListBox Example? Pin
Henry Jacobs2-Feb-02 13:07
Henry Jacobs2-Feb-02 13:07 
I cannot get CDragListBox to work and cannot find an example that uses it. Here is my current code:
class CTheView : public CWindowImpl<CTheView, CDragListBox>
{
public:
	DECLARE_WND_SUPERCLASS(NULL, CDragListBox::GetWndClassName())
	/* wizard code */
};
 
class CMainFrame : /* wizard code */, public CDragListNotifyImpl<CMainFrame>
{
	/* wizard code */
	CTheView m_view;
 
	LRESULT OnCreate(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/)
	{
		/* wizard code */
 
		// MakeDragList is suppose to be called in CDragListBox::Create but
		// it is not. I traced CDragListBox::Create, for some reason it is
		// never called.
		// I noticed when this call is commented out the list box changes its
		// selection then you drag the cursor around while holding the left
		// button down. It does not do this when MakeDragList is called.
		m_view.MakeDragList();
	}
 
	BOOL OnBeginDrag(int /*nCtlID*/, HWND /*hWndDragList*/, POINT /*ptCursor*/)
	{
		// This never outputs.
		ATLTRACE("CMainFrame::OnBeginDrag\n");
		return TRUE;	// allow dragging
	}
	// I tried ATLTRACE in OnCancelDrag, OnDragging, and OnDropped but they
	// are never outputed either. They were omited for brevity.
};
Any help is appreciated.
Generalmultiple windows in MFC C++ Pin
2-Feb-02 10:51
suss2-Feb-02 10:51 
GeneralRe: multiple windows in MFC C++ Pin
Mazdak2-Feb-02 10:57
Mazdak2-Feb-02 10:57 
GeneralRe: multiple windows in MFC C++ Pin
2-Feb-02 11:20
suss2-Feb-02 11:20 
GeneralRe: multiple windows in MFC C++ Pin
Mazdak2-Feb-02 11:56
Mazdak2-Feb-02 11:56 
GeneralRe: multiple windows in MFC C++ Pin
Mazdak2-Feb-02 12:13
Mazdak2-Feb-02 12:13 
GeneralRe: multiple windows in MFC C++ Pin
2-Feb-02 12:18
suss2-Feb-02 12:18 
GeneralRe: multiple windows in MFC C++ Pin
alex.barylski2-Feb-02 13:19
alex.barylski2-Feb-02 13:19 
QuestionUsing CMsFlexGrid on other machines (without visual c++ installed)? Pin
DanYELL2-Feb-02 9:15
DanYELL2-Feb-02 9:15 
AnswerRe: Using CMsFlexGrid on other machines (without visual c++ installed)? Pin
Mazdak2-Feb-02 10:36
Mazdak2-Feb-02 10:36 
AnswerRe: Using CMsFlexGrid on other machines (without visual c++ installed)? Pin
Mazdak2-Feb-02 10:44
Mazdak2-Feb-02 10:44 
GeneralCalendar Week Problem Pin
Sonu Kapoor2-Feb-02 8:51
Sonu Kapoor2-Feb-02 8:51 
GeneralRe: Calendar Week Problem Pin
wangyiming3-Feb-02 21:51
wangyiming3-Feb-02 21:51 
QuestionHow to use point to member function? Pin
Feng Qin2-Feb-02 7:27
Feng Qin2-Feb-02 7:27 
AnswerRe: How to use point to member function? Pin
Michael Dunn2-Feb-02 7:40
sitebuilderMichael Dunn2-Feb-02 7:40 
GeneralRe: How to use point to member function? Pin
Feng Qin2-Feb-02 18:08
Feng Qin2-Feb-02 18:08 
GeneralRe: How to use point to member function? Pin
Feng Qin2-Feb-02 19:23
Feng Qin2-Feb-02 19:23 
GeneralC in Visual C++ Pin
aleyah2-Feb-02 6:49
aleyah2-Feb-02 6:49 

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.