How to use the PtDBContainer widget in photon 2.0 /RTP?

I am working with neutrino RTP and photon 2.0. In my program, I want to
create a PtDBContainer widget to solve the image buttons’ blinking ,but I
can’t find the PtDBContainer widget in “widgets pallette” .
Should I create dynamicly the PtDBContainer widget and set its properties
in the program ?

zmc <zmc@263.net> wrote:
: I am working with neutrino RTP and photon 2.0. In my program, I want to
: create a PtDBContainer widget to solve the image buttons’ blinking ,but I
: can’t find the PtDBContainer widget in “widgets pallette” .
: Should I create dynamicly the PtDBContainer widget and set its properties
: in the program ?

PtDBContainer is being deprecated in favour of PtOSContainer (which,
unfortunately, doesn’t work properly in the initial version of RTP). You
can create PtDBContainer by calling PtCreateWidget() from your code, but
your best bet is to wait for the next patch (coming soon, I think) and use
PtOSContainer.

One of the developers might be able to give you more details.


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