PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Changing GDAPPCONFIG during runtime

I was wondering, is it possible/safe to change things in CGapiApplication.m_config during runtime (can it be done by simply setting the values)?
I wouldn't recommend changing the values of it. What exactly is it you want to modify?
The bEnableDoubleClick option.
I wanted to allow the user to enable and disable it at will in the middle of the gameplay...
Hi,

Unfortunately bEnableDoubleClick cannot currently be changed since it is a property of the Window created by Windows.. :) Perhaps it is possible to change it by calling some win32 function passing the hWnd as a parameter.
Call SetClassLong(...) , GetClassLong(...) and use GCL_STYLE to change class style (set or reset CS_DBLCLKS in this case )
Thanks for the information, I'll give it a try!