View topic - Activate-Callback doesn't works

Activate-Callback doesn't works

Discussion about the general applications that run on QNX6

Activate-Callback doesn't works

Postby Elmi » Tue Feb 16, 2010 11:54 am

Hi,

I set an activation-callback for my elements dynamically:

Code: Select all
int DActivate( PtWidget_t *widget,TprPhClass_t *Obj,PtCallbackInfo_t *cbinfo )
{
...
}

PtAddCallback(MyWidget, Pt_CB_ACTIVATE, ( PtCallbackF_t *)DActivate, Obj );


The PtAddCallback()-function is called. Nevertheless DActivate() is not executed when I left-click MyWidget.

What could be the reason for that?
Elmi
Active Member
 
Posts: 63
Joined: Sun Aug 02, 2009 4:57 pm

RE: Activate-Callback doesn

Postby Elmi » Tue Feb 16, 2010 12:01 pm

Just as an additinal information: The code does not work on QNX 6.3.2 but on older versions of the operating system there is no problem.
Elmi
Active Member
 
Posts: 63
Joined: Sun Aug 02, 2009 4:57 pm


Return to QNX6 - Applications

Who is online

Users browsing this forum: No registered users and 1 guest

cron