Click here to Skip to main content
15,797,052 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Windows Service Controler & CAsyncSocket Pin
Member 33971275-Apr-13 4:27
Member 33971275-Apr-13 4:27 
QuestionTimer not working properly. Pin
Le@rner4-Apr-13 21:25
Le@rner4-Apr-13 21:25 
AnswerRe: Timer not working properly. Pin
Captain Price4-Apr-13 22:24
professionalCaptain Price4-Apr-13 22:24 
QuestionRe: Timer not working properly. Pin
CPallini5-Apr-13 0:03
mveCPallini5-Apr-13 0:03 
AnswerRe: Timer not working properly. Pin
David Crow5-Apr-13 4:17
David Crow5-Apr-13 4:17 
GeneralRe: Timer not working properly. Pin
Le@rner5-Apr-13 20:34
Le@rner5-Apr-13 20:34 
QuestionRe: Timer not working properly. Pin
Kenneth Haugland6-Apr-13 4:06
professionalKenneth Haugland6-Apr-13 4:06 
AnswerRe: Timer not working properly. Pin
Le@rner10-Apr-13 23:07
Le@rner10-Apr-13 23:07 
C++
//on btn click event

if(m_modless == NULL)
	{
		m_modless = new CModeless(this);

		this->EnableWindow(0);
		if(!m_modless->Create(IDD_MODELESS, 0))
		{
			delete m_modless;
			m_modless = NULL;
		}


		m_modless->m_prg2.SetRange32(0,100);
		m_modless->m_prg2.SetStep(5);

                 SetTimer(1111, 50, NULL);
       }


//and  on OnTimer(UINT_PTR nIDEvent)
void CTestDlg::OnTimer(UINT_PTR nIDEvent)
{
    if(nIDEvent==1111)
    {
        m_modless->m_prg2.StepIt();
    }

    CDialog::OnTimer(nIDEvent);
}

QuestionRetaining selection on a ListCtrl Item Pin
Donguy19764-Apr-13 15:21
Donguy19764-Apr-13 15:21 
AnswerRe: Retaining selection on a ListCtrl Item Pin
SoMad4-Apr-13 16:07
professionalSoMad4-Apr-13 16:07 
GeneralRe: Retaining selection on a ListCtrl Item Pin
Donguy19765-Apr-13 10:27
Donguy19765-Apr-13 10:27 
GeneralRe: Retaining selection on a ListCtrl Item Pin
SoMad5-Apr-13 11:47
professionalSoMad5-Apr-13 11:47 
GeneralRe: Retaining selection on a ListCtrl Item Pin
Donguy19765-Apr-13 12:32
Donguy19765-Apr-13 12:32 
GeneralRe: Retaining selection on a ListCtrl Item Pin
SoMad5-Apr-13 22:39
professionalSoMad5-Apr-13 22:39 
QuestionHow to resize a dialog? Pin
Donguy19764-Apr-13 15:18
Donguy19764-Apr-13 15:18 
AnswerRe: How to resize a dialog? Pin
Garth J Lancaster4-Apr-13 16:24
professionalGarth J Lancaster4-Apr-13 16:24 
AnswerRe: How to resize a dialog? Pin
David Crow5-Apr-13 4:19
David Crow5-Apr-13 4:19 
Questionhow to calculate size for printing? Pin
VCProgrammer4-Apr-13 3:15
VCProgrammer4-Apr-13 3:15 
AnswerRe: how to calculate size for printing? Pin
Richard MacCutchan4-Apr-13 3:28
mveRichard MacCutchan4-Apr-13 3:28 
GeneralRe: how to calculate size for printing? Pin
VCProgrammer4-Apr-13 3:36
VCProgrammer4-Apr-13 3:36 
GeneralRe: how to calculate size for printing? Pin
Richard MacCutchan4-Apr-13 4:13
mveRichard MacCutchan4-Apr-13 4:13 
QuestionHow to create manifest file for private assembly Pin
Naveen3-Apr-13 17:33
Naveen3-Apr-13 17:33 
QuestionSimple chat across internet without server Pin
jeff63-Apr-13 3:42
jeff63-Apr-13 3:42 
AnswerRe: Simple chat across internet without server Pin
Richard MacCutchan3-Apr-13 4:25
mveRichard MacCutchan3-Apr-13 4:25 
AnswerRe: Simple chat across internet without server Pin
CPallini3-Apr-13 23:22
mveCPallini3-Apr-13 23:22 

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.