Click here to Skip to main content
15,890,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionA problem about scrolling Edit controls in a dialogue Pin
today422008-Oct-07 16:14
today422008-Oct-07 16:14 
QuestionIntegration of my unit testing tool with Visual Studio 2005 IDE Pin
Kamyar Souri8-Oct-07 16:08
Kamyar Souri8-Oct-07 16:08 
Questionstl bind2nd question Pin
User 5838528-Oct-07 14:30
User 5838528-Oct-07 14:30 
Answerboost Pin
User 5838528-Oct-07 19:54
User 5838528-Oct-07 19:54 
Questionc++ file mergesort Pin
lockheart878-Oct-07 13:45
lockheart878-Oct-07 13:45 
QuestionRe: c++ file mergesort Pin
David Crow9-Oct-07 3:27
David Crow9-Oct-07 3:27 
AnswerRe: c++ file mergesort Pin
jhwurmbach9-Oct-07 3:35
jhwurmbach9-Oct-07 3:35 
Questionsetting text on dialog from a subclass Pin
locoone8-Oct-07 13:04
locoone8-Oct-07 13:04 
i subclassed CButton class and have a onmousemove in it and i need to set text on my dialog i know it can be done ive done it before but i cant remember now to save my life
void CMyButton::OnMouseMove(UINT nFlags, CPoint point) <br />
{<br />
    if (!m_bOverControl)<br />
    {<br />
        TRACE0("Entering control\n");<br />
		<br />
        m_bOverControl = TRUE;<br />
        Invalidate();<br />
<br />
		if (GetDlgCtrlID() == IDC_STATUS_BUTTON)<br />
		{<br />
			//IDC_DISPLAY_TEXT is the control i need to set text to<br />
		}<br />
		if (GetDlgCtrlID() == IDC_SEARCH_BUTTON)<br />
		{<br />
			MessageBox("hi");<br />
		}<br />
		if (GetDlgCtrlID() == IDC_OPTIONS_BUTTON)<br />
		{<br />
			MessageBox("low");<br />
		}<br />
        SetTimer(m_nTimerID, 100, NULL);<br />
    }	<br />
	CButton::OnMouseMove(nFlags, point);<br />
}

the messagebox works.
AnswerRe: setting text on dialog from a subclass Pin
Mark Salsbery8-Oct-07 13:39
Mark Salsbery8-Oct-07 13:39 
GeneralRe: setting text on dialog from a subclass Pin
locoone8-Oct-07 14:03
locoone8-Oct-07 14:03 
GeneralRe: setting text on dialog from a subclass Pin
Mark Salsbery8-Oct-07 14:35
Mark Salsbery8-Oct-07 14:35 
QuestionPrinting array of bitmap files Pin
ShilpaPotnis8-Oct-07 10:34
ShilpaPotnis8-Oct-07 10:34 
AnswerRe: Printing array of bitmap files Pin
Mark Salsbery8-Oct-07 11:25
Mark Salsbery8-Oct-07 11:25 
GeneralRe: Printing array of bitmap files Pin
ShilpaPotnis9-Oct-07 3:10
ShilpaPotnis9-Oct-07 3:10 
QuestionVS2005 MFC C++ degugging Pin
Andy H8-Oct-07 9:45
Andy H8-Oct-07 9:45 
AnswerRe: VS2005 MFC C++ degugging Pin
VonHagNDaz8-Oct-07 10:53
VonHagNDaz8-Oct-07 10:53 
Questionhow to implement Pin
snoop828-Oct-07 7:47
snoop828-Oct-07 7:47 
AnswerRe: how to implement Pin
Chris Losinger8-Oct-07 9:42
professionalChris Losinger8-Oct-07 9:42 
GeneralRe: how to implement Pin
led mike8-Oct-07 9:52
led mike8-Oct-07 9:52 
AnswerRe: how to implement Pin
leckey8-Oct-07 10:49
leckey8-Oct-07 10:49 
QuestionRe: how to implement Pin
David Crow9-Oct-07 3:32
David Crow9-Oct-07 3:32 
QuestionPreTranslate Message problem Pin
_tasleem8-Oct-07 6:38
_tasleem8-Oct-07 6:38 
AnswerRe: PreTranslate Message problem Pin
Mark Salsbery8-Oct-07 7:32
Mark Salsbery8-Oct-07 7:32 
GeneralRe: PreTranslate Message problem Pin
_tasleem9-Oct-07 7:23
_tasleem9-Oct-07 7:23 
GeneralRe: PreTranslate Message problem Pin
Mark Salsbery9-Oct-07 7:56
Mark Salsbery9-Oct-07 7:56 

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.