Click here to Skip to main content
15,921,606 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to change from VC++ 6 to .Net Pin
CodingLover30-Nov-08 17:27
CodingLover30-Nov-08 17:27 
AnswerRe: How to change from VC++ 6 to .Net Pin
Randor 30-Nov-08 19:32
professional Randor 30-Nov-08 19:32 
QuestionWhat's the meaning of 'nocreate' identifier Pin
CodingLover30-Nov-08 16:33
CodingLover30-Nov-08 16:33 
AnswerRe: What's the meaning of 'nocreate' identifier Pin
Fernando A. Gomez F.30-Nov-08 17:50
Fernando A. Gomez F.30-Nov-08 17:50 
QuestionCAnimateCtrl in modeless dialog... Pin
Cpt Rick30-Nov-08 12:18
Cpt Rick30-Nov-08 12:18 
AnswerRe: CAnimateCtrl in modeless dialog... Pin
Hans Dietrich30-Nov-08 23:57
mentorHans Dietrich30-Nov-08 23:57 
GeneralRe: CAnimateCtrl in modeless dialog... Pin
Cpt Rick1-Dec-08 4:26
Cpt Rick1-Dec-08 4:26 
AnswerRe: CAnimateCtrl in modeless dialog... Pin
Cpt Rick1-Dec-08 11:32
Cpt Rick1-Dec-08 11:32 
Just in case anybody runs into this issue, I did manage to get it to work, albeit, not the way it should (according to the way the CAnimateCtrl should work).


I can get it to play if:

a) The function in the DLL does not use Begin/End WaitCursor.
b) The DLL function must constantly pump its message queue during processing.

In my case, it was somewhat easy, since I write the DLL, and can tweak it. Not sure what happens if you are using a function from a 3rd party DLL. In that case, you might have to start a worker thread in your app to run the animation properly, as a timer won't do it...

Supposedly, pumping the message queue is expensive, although I use it quite a bit without any issues -- just a simple function:

MSG msg;

while ( PeekMessage ( &msg, NULL, 0, 0, PM_NOREMOVE ))
   AfxGetThread()->PumpMessage();

QuestionDestroying controls created by CWinFormControl Pin
astibich230-Nov-08 11:45
astibich230-Nov-08 11:45 
QuestionC++ destructor Pin
Fred Andres30-Nov-08 5:35
Fred Andres30-Nov-08 5:35 
AnswerRe: C++ destructor Pin
PJ Arends30-Nov-08 7:03
professionalPJ Arends30-Nov-08 7:03 
GeneralRe: C++ destructor Pin
Fred Andres30-Nov-08 7:27
Fred Andres30-Nov-08 7:27 
AnswerRe: C++ destructor Pin
Mark Salsbery30-Nov-08 7:19
Mark Salsbery30-Nov-08 7:19 
QuestionConverting an integer to a string. Pin
Quecumber25630-Nov-08 5:17
Quecumber25630-Nov-08 5:17 
AnswerRe: Converting an integer to a string. Pin
PJ Arends30-Nov-08 6:57
professionalPJ Arends30-Nov-08 6:57 
AnswerRe: Converting an integer to a string. Pin
Mark Salsbery30-Nov-08 7:24
Mark Salsbery30-Nov-08 7:24 
QuestionWhat is the difference between these 2 ways of declaring an object? Pin
KaKa'30-Nov-08 3:20
KaKa'30-Nov-08 3:20 
AnswerRe: What is the difference between these 2 ways of declaring an object? Pin
Jijo.Raj30-Nov-08 4:25
Jijo.Raj30-Nov-08 4:25 
GeneralRe: What is the difference between these 2 ways of declaring an object? Pin
KaKa'30-Nov-08 22:41
KaKa'30-Nov-08 22:41 
QuestionCFileDialog maximum file number Pin
followait30-Nov-08 2:31
followait30-Nov-08 2:31 
AnswerRe: CFileDialog maximum file number Pin
PJ Arends30-Nov-08 6:50
professionalPJ Arends30-Nov-08 6:50 
GeneralRe: CFileDialog maximum file number Pin
Hans Dietrich30-Nov-08 23:36
mentorHans Dietrich30-Nov-08 23:36 
QuestionIWebBrowser2 focus problem with IE6 Pin
YaronNir30-Nov-08 1:04
YaronNir30-Nov-08 1:04 
AnswerRe: IWebBrowser2 focus problem with IE6 Pin
PJ Arends30-Nov-08 7:12
professionalPJ Arends30-Nov-08 7:12 
GeneralRe: IWebBrowser2 focus problem with IE6 Pin
YaronNir30-Nov-08 19:35
YaronNir30-Nov-08 19:35 

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.