to the Win32Lib Team
- Posted by xerox_irs at lvcm.com Oct 30, 2002
- 426 views
i think it would be a good idea to add an OnIdle event to win32lib, for use in 3d and high frame rate stuff. adding 3 line to the existing librairy to accomidate these two lines at the top somewhere line 1---------->global atom ONIDLE line 2------------>ONIDLE=-1 while Flag!=0 and ActiveEL[el]=0 and vWinMainState=kStarted do getRC=w32Func(xGetMessage,{msg,hWnd,0,0}) if getRC=0 or getRC=-1 then exit end if w32Proc(xTranslateMessage,{msg}) w32Proc(xDispatchMessage,{msg}) Flag-=inc this line in the translate dispatch loop-------------> if ONIDLE !=-1 then call_proc(ONIDLE) end if end while