Stephen Watson(deleted)
|
Re: RE: Timer widgets come back from the dead
|
Stephen Watson(deleted)
03/07/2012 5:08 AM
post91932
|
Re: RE: Timer widgets come back from the dead
> Hi,
>
> I tried, but could not reproduce the problem you described here. Can you post
> a small test case?
Not yet. A new program and widget set, entirely from scratch, does not show the problem. Cutting my code down to the
bare minimum does, as does wiping out the code, reinstating the minimum and re-using the widget files.
I am currently suspecting the widget files. As I said, this was a QNX 4 project and I converted the widget files by
passing them through PhAB. Maybe there is a subtle problem in there?
Attached is the reimplemented source file. Setup() is called on program start and loads the first pane (contains a
PtTimer) then selects the tab. Selecting the tab calls XXXSummary() (not the original name). Then I trigger
SelectDiagnostics() via key event callback, that selects another tab. Info() is called by the tab callback, this clears
the pane (which should unrealize the PtTimer) and loads the replacement. I then check the status of the timer and if it
is still realized I abort.
All other callbacks (and there are many) do nothing except return Pt_CONTINUE.
|
|
|