Mark S
May 14th, 1999, 10:35 AM
I've come across something in a control i made. I think the problem has to do with system timing and messages. DoEvents, before every call, in a VB app using the control makes everything work and littering the control with AfxMessageBox's does the same thing. Not everything fails, only the calls that use a ::peekmessage loop.
I plan on digging into it and figuring out exactly why but i'd like to get the rest of it tested. So i was wondering how would i duplicate a DoEvents, with no user interaction, inside the code of the control? I've tried alot of different thread related code and nothing seems to affect the control the way it would a thread in an EXE.
Thanks for any help.
Mark S
I plan on digging into it and figuring out exactly why but i'd like to get the rest of it tested. So i was wondering how would i duplicate a DoEvents, with no user interaction, inside the code of the control? I've tried alot of different thread related code and nothing seems to affect the control the way it would a thread in an EXE.
Thanks for any help.
Mark S