I'm trying to create a direct-mode graphical plug-in. My understanding (acquired from reading the ifxui_plugin.c example) is that I set my plug-in's mode in the 'CreateElement' call to my plug-in, like so:
pProperty->mode = IFX_MODE_ELEMENT_BUFFERED;
The defined values for mode are:
How do I indicate that I just want DIRECT mode? I tried specifying mode IFX_MODE_ELEMENT_BUFFERED_AND_DIRECT, hoping that I'd get a 'ChangeElementMode' call from the engine telling me which mode I was actually in but I never seem to get that call. In fact, after I get the 'CreateElement' call, I don't get any other calls until DestroyElement. The documentation seems to say that I should also be getting ChangeElementMode, PositionElement, and ActivateElement calls.
Can anyone help me understand what I'm doing wrong?