Quantcast
Channel: SetTimer issue
Browsing all 6 articles
Browse latest View live

SetTimer issue

All windows process messages, and need Create/DestroyWindow.  The underlying problem you encountered is that the timer messages are sent to an HWND, and your object does not have an HWND until you call...

View Article



SetTimer issue

its working now but I get stack overflow after a few seconds.

View Article

SetTimer issue

after DestroyWindow do I also need todelete[] pmc2;

View Article

SetTimer issue

ok thanks, I think you're right.after thisCmyclass2* pmc2 = new Cmyclass2;I need topmc2->Create(NULL, "myWnd", WS_CHILD, CRect(0, 0, 0, 0), this, 1234);and laterpmc2->DestroyWindow()is this only...

View Article

SetTimer issue

I have 2 classes class Cmyclass1 : public CFormView class Cmyclass2 : public CWnd Cmyclass1 creates an instance of Cmyclass2 Cmyclass2* pmc2 = new Cmyclass2; and then calls pmc2->myfunc which then...

View Article


SetTimer issue

I have 2 classesclass Cmyclass1 : public CFormViewclass Cmyclass2 : public CWndCmyclass1 creates an instance of Cmyclass2Cmyclass2* pmc2 = new Cmyclass2;and then callspmc2->myfuncwhich then sets a...

View Article
Browsing all 6 articles
Browse latest View live




Latest Images