Login Page - Create Account

Support Board


Date/Time: Tue, 26 Nov 2024 02:24:51 +0000



Post From: ACS_RECEIVE_POINTER_EVENTS_ALWAYS freezes the graph as long as the mouse moves.

[2023-11-13 12:29:44]
User462211 - Posts: 18
Hello, thank you for your response.

Here is the code for my study LP_test:
#include "sierrachart.h"
SCDLLName("LP_test")

/*==========================================================================*/
SCSFExport scsf_LP_test(SCStudyInterfaceRef sc)
{
if (sc.SetDefaults)
{
sc.GraphName = "LP_test";
sc.GraphRegion = 0;

sc.ReceivePointerEvents = ACS_RECEIVE_POINTER_EVENTS_ALWAYS;
return;
}
}
So your suggestion is not possible.
Because I cannot implement a regulation of the number of times study are called during mouse move events, because the current study LP_test already does nothing.

Here is a short video comparing the difference in behavior with or without the Study LP_test.dll : https://www.youtube.com/watch?v=fjyIZAPNNM0

To make video capture easier, I did it in replay, but the behavior is exactly the same in real time.