Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to implement OnIdle function y a ActiveX control

Status
Not open for further replies.

fiero17

Programmer
Jul 31, 2001
3
0
0
ES
I am programming a ActiveX animation control, but can't to implement the OnIdle function in the COleControlModule class. The class CWinApp not send the idle message to the COleControlModule class
thank you
 
No you can't do it that way, the activeX doesn't support the onIdle() function. There may be different ways to get around it but personally I created a seperate thread to do the drawing, then you can get the onIdle() routine.
 
thank you. I will create a separate thread to do the call to drawing routine.
thank you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top