did you check arguments 3 and 4 of lite_enqueue_window_timeout?
argument 4 will return timeout_id which you must use in lite_remove_window_timeout.

hth
Niels


young wrote:
Hi,
When i use the lite_enqueue_window_timeout() ,then I want to remove the timeout ,so i use lite_remove_window_timeout(),but it doesn't work in effect.My code is
   Fuction( int time_out_id){
      ...
      if(){
            ..
           lite_enqueue_window_timeout(time_out,Function,&timeID,timeID);
      }
       else{
       lite_remove_window_timeout(time_out_id);
       }
}
I just want to remove the timeout in some conditions,but the remove function's return DFB_INVARG...
Does anyone have ideas ?
Thanks
greets
young

_______________________________________________
LiTE mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/lite



--

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"
_______________________________________________
LiTE mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/lite

Reply via email to