Search completed in 1.53 seconds.
Creating Custom Events That Can Pass Data
you can find the prototypes for the function in
nsiprivatedomevent.
... prbool defaultactionenabledwin; prbool defaultactionenableddoc; nscomptr<
nsiprivatedomevent> privevt(do_queryinterface(event)); privevt->settrusted(pr_true); //make the event trusted twindow->dispatchevent(event, &defaultactionenabledwin); //dispatch it (i.e.