Message 1 of 6
client-graphics selection

Not applicable
05-02-2008
11:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi: I have some client graphics which I want to be selectable. I am using C++, and Inventor Professional 2009 SDK. I set the both the client graphics object and graphics node to be selectable after they are created using:
CComPtr m_rClientGraphics;
.
.
.
hr = m_rClientGraphics-put_Selectable(kAllGraphicsSelectable);
.
.
.
CComPtr pNode;
.
.
.
hr - pNode->put_Selectable(kAllGraphicsSelectable);
Am I right in assuming that after setting the client graphics to be selectable as above, that they should hilit when the user drags the cursor over them, regardless of whether there is a current interaction-event? They never hilit (or seem to be seletable), even when I have setup an interaction-event,and set the selection filter to 'kAllCustomGraphicsFilter".
CComPtr
.
.
.
hr = m_rClientGraphics-put_Selectable(kAllGraphicsSelectable);
.
.
.
CComPtr
.
.
.
hr - pNode->put_Selectable(kAllGraphicsSelectable);
Am I right in assuming that after setting the client graphics to be selectable as above, that they should hilit when the user drags the cursor over them, regardless of whether there is a current interaction-event? They never hilit (or seem to be seletable), even when I have setup an interaction-event,and set the selection filter to 'kAllCustomGraphicsFilter".