Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I disable mouse regions defined in the database at runtime?

0
Posted

Can I disable mouse regions defined in the database at runtime?

0

Enabling and disabling of gauge mouse regions is supported in the 4.13 version Use the following API: // Mouse region API AGI_DECL agiRet WINAPI EnableGaugeMouseRegion(HAGI hGauge, const char* regionName); AGI_DECL agiRet WINAPI DisableGaugeMouseRegion(HAGI hGauge, const char* regionName); AGI_DECL agiRet WINAPI EnableAllGaugeMouseRegions(HAGI hGauge); AGI_DECL agiRet WINAPI DisableAllGaugeMouseRegions(HAGI hGauge); The hGauge is provided to the DLC by the function getOwnerGaugeHagi() or by simply using the base class protected member _hParentGauge.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123