Click here to Skip to main content
15,905,504 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Strange file not found exception Pin
Hamid_RT22-Jan-09 23:25
Hamid_RT22-Jan-09 23:25 
GeneralRe: Strange file not found exception Pin
George_George4-Feb-09 22:39
George_George4-Feb-09 22:39 
GeneralRe: Strange file not found exception Pin
Hamid_RT5-Feb-09 21:51
Hamid_RT5-Feb-09 21:51 
GeneralRe: Strange file not found exception Pin
George_George7-Feb-09 2:10
George_George7-Feb-09 2:10 
Questiondisplaying data in infinite loop Pin
l_d17-Jan-09 15:53
l_d17-Jan-09 15:53 
AnswerRe: displaying data in infinite loop Pin
David Crow17-Jan-09 16:12
David Crow17-Jan-09 16:12 
GeneralRe: displaying data in infinite loop Pin
l_d17-Jan-09 16:33
l_d17-Jan-09 16:33 
GeneralRe: displaying data in infinite loop Pin
bob1697217-Jan-09 17:42
bob1697217-Jan-09 17:42 
/* Assumes a Visual C++ 6.0 wizard generated dialog based application
with a multiline edit control.
*/

// .h file
CEdit m_editControl;
UINT m_Timer;

// .cpp file
BOOL CTest263Dlg::OnInitDialog()
{
CDialog::OnInitDialog();

// ****************************
// Other wizard generated code
// ****************************

// TODO: Add extra initialization here
m_Timer=(UINT)SetTimer(1,100,NULL);

return TRUE;
}

void CTest263Dlg::AddMessage(CString sMessage)
{
sMessage+="\r\n"; // Add carriage return linefeed pair

// Assuming a dialog based app with a multiline edit control
m_editControl.SetSel(0,-1);
m_editControl.SetSel(-1,-1); // Set caret to end of existing text
m_editControl.ReplaceSel(sMessage); // Append new message
}

void CTest263Dlg::OnTimer(UINT nIDEvent)
{
// TODO: Add your message handler code here and/or call default

if (nIDEvent==m_Timer) {
AddMessage("I can't frackin' believe that she was the 12th Cylon");
}

CDialog::OnTimer(nIDEvent);
}
GeneralRe: displaying data in infinite loop Pin
Maximilien18-Jan-09 1:16
Maximilien18-Jan-09 1:16 
GeneralRe: displaying data in infinite loop Pin
l_d18-Jan-09 15:21
l_d18-Jan-09 15:21 
QuestionRe: displaying data in infinite loop Pin
David Crow18-Jan-09 16:29
David Crow18-Jan-09 16:29 
QuestionTransparent colour on window using win32 Pin
Steve_17-Jan-09 8:18
Steve_17-Jan-09 8:18 
AnswerRe: Transparent colour on window using win32 Pin
Stuart Dootson17-Jan-09 8:30
professionalStuart Dootson17-Jan-09 8:30 
GeneralRe: Transparent colour on window using win32 Pin
Code-o-mat17-Jan-09 9:25
Code-o-mat17-Jan-09 9:25 
GeneralRe: Transparent colour on window using win32 Pin
CPallini17-Jan-09 9:45
mveCPallini17-Jan-09 9:45 
GeneralRe: Transparent colour on window using win32 Pin
Code-o-mat17-Jan-09 9:48
Code-o-mat17-Jan-09 9:48 
GeneralRe: Transparent colour on window using win32 Pin
Steve_18-Jan-09 5:08
Steve_18-Jan-09 5:08 
QuestionCStdioFile WriteString (Unicode Strings) failing? Pin
kiranin17-Jan-09 7:10
kiranin17-Jan-09 7:10 
QuestionRe: CStdioFile WriteString (Unicode Strings) failing? Pin
David Crow17-Jan-09 7:43
David Crow17-Jan-09 7:43 
AnswerRe: CStdioFile WriteString (Unicode Strings) failing? Pin
kiranin17-Jan-09 7:49
kiranin17-Jan-09 7:49 
GeneralRe: CStdioFile WriteString (Unicode Strings) failing? Pin
Iain Clarke, Warrior Programmer18-Jan-09 23:38
Iain Clarke, Warrior Programmer18-Jan-09 23:38 
AnswerRe: CStdioFile WriteString (Unicode Strings) failing? Pin
Loreia17-Jan-09 7:57
Loreia17-Jan-09 7:57 
GeneralRe: CStdioFile WriteString (Unicode Strings) failing? Pin
Loreia17-Jan-09 7:59
Loreia17-Jan-09 7:59 
AnswerRe: CStdioFile WriteString (Unicode Strings) failing? Pin
Alexandre GRANVAUD15-Feb-10 5:34
Alexandre GRANVAUD15-Feb-10 5:34 
QuestionWizard Dialogs (Save Dialog state) ? Pin
kiranin17-Jan-09 6:42
kiranin17-Jan-09 6:42 

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.