callbacks..

how do i continue to process callbacks when im in a loop within another callback. im waiting for some data in a timer callback but while im waiting i would like to process other callbacks that happen… eg a button is pressed or menu selection… in the bad old days (when i programmed under VB) i would have used DoEvents(); is there an equiv in photon/PHAB?

vince

vince <lab-101@usa.net> wrote:
: how do i continue to process callbacks when im in a loop within another
: callback. im waiting for some data in a timer callback but while im
: waiting i would like to process other callbacks that happen… eg a button
: is pressed or menu selection… in the bad old days (when i programmed
: under VB) i would have used DoEvents(); is there an equiv in photon/PHAB?

Take a look at the Lengthy Operations chapter of the Photon Programmer’s
Guide.


Steve Reid stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems Ltd.