RE: [AD] [GUI] Error using MSG_IDLE |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
> int my_proc(int msg, DIALOG *d, int c) { > if (msg == MSG_IDLE) { > SEND_MESSAGE(active_dialog + 0, MSG_DRAW, 0); > } > return D_O_K; > } why do you send the message to active_dialog ? apart from that, i can't see what's wrong, sorry. i have several widgets which do stuff upon MSG_IDLE, and i don't get crashes :/ -- Lyrian
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |