04-08-2011, 05:57 AM
Quote:Is it possible to create some sort of user defined triggers for detecting flicks directly? or is there a better work around?
I did not find a way.
An application can detect flicks and other pen input only in its window, but not in other applications.
Quote:I configured flicks to use hotkeys to trigger QM macros. However the macros are not always triggered. I'm thinking the qm keyboard triggers does not detect flicks hotkeys correctly.
An application can disable default flicks in its window. Then, although Windows shows the default flick icon, it does not send the default flick action (hotkey etc).
Example of window that disables default flicks in it:
Function dlg_flicks
\Dialog_Editor
function# hDlg message wParam lParam
if(hDlg) goto messages
if(!ShowDialog("dlg_flicks" &dlg_flicks)) ret
;BEGIN DIALOG
;0 "" 0x90C80AC8 0x0 0 0 467 441 "Dialog"
;END DIALOG
;DIALOG EDITOR: "" 0x2030300 "" "" ""
ret
;messages
def WM_TABLET_FLICK 0x000002CB
def FLICK_WM_HANDLED_MASK 0x1
sel message
,case WM_INITDIALOG
,case WM_TABLET_FLICK
,out "flick"
,ret DT_Ret(hDlg FLICK_WM_HANDLED_MASK)
,
,case WM_COMMAND goto messages2
ret
;messages2
sel wParam
,case IDOK
,case IDCANCEL
ret 1