| To: | info-inventor@xxxxxxxxxxx |
|---|---|
| Subject: | Setpickfiltercallback and events handling |
| From: | lydia coin <lydia_coin3d@xxxxxxxx> |
| Date: | Sun, 10 Nov 2002 01:29:48 +0100 (CET) |
| Sender: | info-inventor-bounce@xxxxxxxxxxx |
|
Hi folks I'm using VC++ under windows and coin3D I have the following code SoSeparator *rootPoly=new SoSeparator; rootPoly->ref(); PtData->Callback=new SoEventCallback(); PtData->Callback->addEventCallback(SoKeyboardEvent::getClassTypeId(),callbackChgKey,PtData); SoSelection *sel = new SoSelection;
sel->addChild(PtData->rootPts); rootPoly->addChild(sel); My problem is that when I pick up the window, the function callbackChgButton() is called twice ( onmce for button up and once for button down) then the function pickFilterCB() is called. How to solve this problem so that the function pickFilterCB() is called before the second call of callbackChgButton() I can't find the solution and any help will be appreciated
Yahoo! Mail -- Une adresse @yahoo.fr gratuite et en français ! |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Next by Date: | gcc 3.2 compiling Problems (conflicts with previous declaration?), Michael Stolz |
|---|---|
| Next by Thread: | gcc 3.2 compiling Problems (conflicts with previous declaration?), Michael Stolz |
| Indexes: | [Date] [Thread] [Top] [All Lists] |