Mmmm... StylusDblClk never seems to be triggered (I've tried in Windows and on a Pocket PC). Is there something I need to set up? I couldn't find anything in the docs. I'm using 2.01
Thanks in advance,
Tom
Hi
You have to enable double clicks in the GDAPPCONFIG structure you use to set up your app. (if you are using CGapiApplication)
typedef struct _GDAPPCONFIG
{
HINSTANCE hInstance;
const TCHAR* pAppTitle;
DWORD dwTargetFPS;
DWORD dwDisplayFlags;
DWORD dwDisplayMode;
BOOL bEnableDoubleClick; <-- here it is
DWORD dwDisplayWidth;
DWORD dwDisplayHeight;
DWORD dwDisplayZoomWidth;
DWORD dwDisplayZoomHeight;
DWORD dwDisplayBPP;
DWORD dwDisplayHz;
DWORD dwWindowIcon;
DWORD dwWindowBorder;
BOOL bDisableWindowCursor;
} GDAPPCONFIG;
If you are not using CGapiApplication, add CS_DBLCLKS to your style when registering your window class.