|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Altura and SetCursorHi all,
the upgrade documentation says: ==Altura== "4D v11 will be the last major version to support plugins that use ASINTPPC.dll. If your plugin still relies upon this dll, we encourage you to do what is necessary to remove this dependency." Now i still have the problem to set the cursor by native WIN32 API commands. The following test code: // ****************************************************************************** void DoArea(PA_PluginParameters); void hmTest(PA_PluginParameters); void PluginMain(long selector, PA_PluginParameters params){ switch(selector){ case 1 : DoArea(params); break; } } // ****************************************************************************** void DoArea(PA_PluginParameters params){ PA_AreaEvent event; event=PA_GetAreaEvent(params); switch(event){ case eAE_InitAdvancedProperties: break; case eAE_Cursor: #if WINVER SetCursor(LoadCursor(0,IDC_CROSS)); #endif break; case eAE_Idle: #if WINVER SetCursor(LoadCursor(0,IDC_CROSS)); #endif break; default:PA_DontTakeEvent(params); break; } } // ****************************************************************************** If i go with the cursor over the area i got flickering between a cross cursor and the arrow cursor. How can i solve the problem???? I have reported the problem: ACI0053802 (2007/08/30) -- Grüße/Regards, [heubach-media] | Christian Sakowski Christian.sakowski@... iChat/AIM: SakowskiF ICQ: 4thDimension (267537916) Tel: 040/52 10 59-23 ********************************************************************** 4D Plugins hosted by 4D, Inc. http://www.4D.com/ Register for 4D Summit 2009 Today Early Bird Pricing Ends August 28th - http://www.4D.com/summit To Unsubscribe: mailto:4D-Plugins-off@... *********************************************************************** |
|
|
RE: Altura and SetCursorHello Christian,
For this particular point you still need to call the Altura SetCursor to avoid conflicts with the direct API calls. (Altura is not aware of your changes and swap to its own defined cursor) We try to help you make your code less dependant of Altura, but for this one you still need to call Altura. It won't be anyawy a problem for v11. If this the last point that keep this DLL link mandatory for your code, probably an entry point will be a good way to drop it definitely. If others sees some other mandatory uses of Altura, we can have a look at it. - François Marchal (4D) ********************************************************************** 4D Plugins hosted by 4D, Inc. http://www.4D.com/ Register for 4D Summit 2009 Today Early Bird Pricing Ends August 28th - http://www.4D.com/summit To Unsubscribe: mailto:4D-Plugins-off@... *********************************************************************** |
| Free embeddable forum powered by Nabble | Forum Help |