16 Replies Latest reply on Nov 6, 2013 6:14 PM by damskiiii

    Multitouch with Director

    PollenS Level 1

      Hi all,

       

      We are really intrigued to know whether Director is capable of authoring multi-touch shows - does anyone have any insight that they can offer?

       

      Happy to download plugins if needed, just need to know if it is possible....

       

       

      Thanks!

        • 1. Re: Multitouch with Director
          HUN-NAM Level 1

          Recently, I have developed a multi-touch extra. Extra-based multi-touch windows 7 and FTIR-based has been developed as an extra. Windows7-based extras used in the video below the video.

           

           

          http://www.youtube.com/watch?v=Iv4hadAY2WU&feature=g-upl&context=G289ebe7AUAAAAAAAJAA

           

           

          The following extras and development sources from SVN you can download.

           

           


          • 2. Re: Multitouch with Director
            PollenS Level 1

            Very impressed with the video but I can't see where or how to download a Director Extra at the SVN links given. Could you explain how to do it. pollens@aol.com

            • 3. Re: Multitouch with Director
              HUN-NAM Level 1

              I use silk svn client. from the site by searching google silk svn is down.

              Prompt from the svn checkout - username anonsvn https://dev.naver.com/svn/sim9108.

              Your password is anonsvn. Moments later the files in svn is down sequentially.

               

               

              a final extra bin folder contains files and basic samples. Developed by other sources and SDK Extras folder file exists.

               

               

               

              • 4. Re: Multitouch with Director
                flymanbox Level 1

                Very good open source Xtra resources, we should let more people know.

                If there is a corresponding document and comments would be better.

                • 5. Re: Multitouch with Director
                  claudiajanine Level 1

                  Hey Hun-Nam,

                  I would like to test your multitouch xtra but i'm using Director MX 2004 and so i can't open the .dir file because the file is too new.

                  Can you explain to me how i can use your xtra, so i can try it in Director MX 2004?

                  Thanks!

                  • 6. Re: Multitouch with Director
                    HUN-NAM Level 1

                    Sample source is written in Director 11.5. But Director MX 2004 is available in the same way.


                    All files Xtra has DirectorCode properties.


                    myXtra = Xtra ("MyXtra"). new ()

                    myXtra.DirectorCode = "CP949"


                    As you are in DirectorMX 2004. The remaining code is the same.

                    • 7. Re: Multitouch with Director
                      MaverikMS Level 1

                      Hello very impressive Work, want to Test your Example windows7Multitouch.exe but get an script error. Opened in Director 12 with error: mcount=mlist.count (expected for handler)
                      Can you help me need urgent a solution for minimal multitouch (scrolling) THX for help and IMPRESSIVE WORK

                      • 8. Re: Multitouch with Director
                        HUN-NAM Level 1

                        1. download file and installed

                        http://dev.naver.com/projects/sim9108/download/note/3504

                         

                         

                         

                        2. downalod file

                        http://dev.naver.com/projects/sim9108/download/6479?filename=window7multitouch.zip

                         

                        3. xtras file copy adobe director xtras folder

                        4. LibIconv.dll file copy Adob Director execution folder

                        5. test

                        • 9. Re: Multitouch with Director
                          MaverikMS Level 1

                          Thanx works fine I´ve installed the C++ redist 2012 and now i runs under WIN8 x64 ;-). One question in the current demo, the Movie shows the location of two fingers, what have i to change to move and munipulate the example picture in the movie ? I couldn`t fin any line in the code for doing this. Thanx for your great help.....

                          • 10. Re: Multitouch with Director
                            piXelSkiLLs Level 2

                            Hello Hun-Nam!

                             

                            I also tested your multi touch example, works fine:-D  I tested it on my Acer tablet, win 7 with four finger touch input. Do you have any plans to support rotate and  pinch behaviors as well? Anyway, it's really cool! 

                             

                            MaverikMS/ just drag drop the touch scripts to individual sprites to make it work. Then you can add your code to the On Finger Events, fingerDown/up and drag.

                             

                            /Cheers

                            • 11. Re: Multitouch with Director
                              HUN-NAM Level 1

                              Multi touch information being passed as a Director, and now you can control the information that is appropriate to the Director Lingo.

                              • 12. Re: Multitouch with Director
                                damskiiii Level 1

                                Hi HUN-NAM,

                                 

                                Nice xtra - works well with 10-point multitouch monitors.  I couldn't get it working with a full screen DTS 3D sprite however, it seems you need the stage active to receive the events.

                                 

                                Any suggestions on how to get this to work ?

                                 

                                thanks

                                • 13. Re: Multitouch with Director
                                  HUN-NAM Level 1

                                  - windows handle setting

                                   

                                    pMultiTouchCTL=xtra("Window7Multitouch").new()

                                    pMultiTouchCTL.init(pDirectorHWND)

                                   

                                  - Xtra("User32") interface

                                  m= Xtra("User32").new()

                                  m.GetActiveWindow()

                                   

                                    pMultiTouchCTL=xtra("Window7Multitouch").new()

                                    pMultiTouchCTL.init(m.GetActiveWindow())

                                   

                                   

                                   

                                  put m.interface

                                  -- "■common

                                  -Interface:STRING

                                  +Directorcode:STRING

                                  -DirectorHandle[nth:INT]:HWND

                                  -IID:GUID

                                  ■User32

                                  MessageBox(hWnd:HWND, text:STRING, cap:STRING, utype:uint=MB_OK):int

                                  AdjustWindowRect(rect:RECT, style:DWORD, menu:BOOL):BOOL

                                  AdjustWindowRectEx(rect:RECT, style:DWORD, menu:BOOL, exStyle:DWORD):BOOL

                                  AllowSetForegroundWindow(processId:DWORD):BOOL

                                  AnyPopup():BOOL

                                  AttachThreadInput(idAttach:DWORD,idAttachTo:DWORD,fAttach:BOOL=TRUE):BOOL

                                  BlockInput(block:BOOL):BOOL

                                  BeginDeferWindowPos(numWindows:int):HDWP

                                  BroadcastSystemMessage(flags:DWORD, recip:DWORD*, msg:UINT, wparam:WPARAM, lparam:LPARAM):LONG

                                  ClipCursor(rect:RECT):BOOL

                                  CreateWindow(className:STRING,windowName:STRING,dwStyle:DWORD,rect:RECT,parent:HWND=0,menu :HMENU=0,instance:HINSTANCE=0, param:LONG_PTR=0):HWND

                                  CreateWindowEx(exStyle:DWORD,className:STRING,windowName:STRING,dwStyle:DWORD,rect:RECT,pa rent:HWND=0,menu:HMENU=0,instance:HINSTANCE=0, param:LONG_PTR=0):HWND

                                  CreateMenu():HMENU

                                  CreatePopupMenu():HMENU

                                  CloseClipboard():BOOL

                                  CountClipboardFormats():int

                                  DispatchMessage(msg:MSG*):LRESULT

                                  DestroyCaret():BOOL

                                  EndMenu():BOOL

                                  FindWindow(clsname:STRING, wintitlename:STRING):HWND

                                  EnumDisplayDevices(device:STRING=NULL, devnum:DWORD=0, displaydevice:DISPLAY_DEVICE, flags:DWORD=0):BOOL

                                  EnumDisplaySettings(device:STRING=NULL, devnum:DWORD=0, devmode:DEVMODE ):BOOL

                                  EnumDisplaySettingsEx(device:STRING=NULL, devnum:DWORD=0, devmode:DEVMODE, flags:DWORD=0 ):BOOL

                                  ChangeDisplaySettingsEx(device:STRING=NULL, devmode:DEVMODE, flags:DWORD=0, param:LPVOID ):LONG

                                  ChangeDisplaySettings(devmode:DEVMODE, flags:DWORD=0):LONG

                                  GetActiveWindow():HWND

                                  GetAsyncKeyState(vk:INT):SHORT

                                  GetKeyboardType(flag:int):int

                                  IsKeyPressed(vk:INT):BOOL

                                  IsGUIThread(convert:BOOL):BOOL

                                  GetKeyState(vk:INT):SHORT

                                  GetClipCursor(rect:RECT*):BOOL

                                  GetKBCodePage():UINT

                                  GetCursor():HCURSOR

                                  GetCursorHandle():HANDLE

                                  GetCursorPos(pt:POINT):BOOL

                                  GetDesktopWindow():HWND

                                  GetForegroundWindow():HWND

                                  GetInputState():BOOL

                                  GetSystemMetrics():INT

                                  GetMessage(msg:MSG*,hwnd:HWND,min:UINT,max:UINT):BOOL

                                  GetMessageExtraInfo():LPARAM

                                  GetMessagePos():DWORD

                                  GetMessageTime():LONG

                                  GetQueueStatus(flags:UINT):DWORD

                                  GetShellWindow():HWND

                                  GetShowCursor():BOOL

                                  GetFocus():HWND

                                  GetThreadDesktop(id:DWORD):HDESK

                                  GetCapture():HWND

                                  GetKeyboardState(state:PBYTE):BOOL

                                  InSendMessage():BOOL

                                  InSendMessageEx():BOOL

                                  mouse_Event(flags:DWORD,x:DWORD,y:DWORD,data:DWORD,extrainfo:ULONG_PTR):void

                                  keybd_event(vk:BYTE,scan:BYTE,flags:DWORD,extrainfo:ULONG_PTR):void

                                  MapWindowPoints(from:HWND,to:HWND,pt:POINT):int

                                  PeekMessage(msg:MSG*,hwnd:HWND,min:UINT,max:UINT,removeMsg:UINT):BOOL

                                  PostQuitMessage(exitcode:INT):void

                                  PostThreadMessage(idThread:DWORD,msg:UINT,wparam:WPARAM,lparam:LPARAM):BOOL

                                  RegisterClass(wnclass:WNDCLASSW):ATOM

                                  RegisterClassEx(wnclass:WNDCLASSW):ATOM

                                  RegisterWindowMessage(msgstr:STRING):UINT

                                  ReplyMessage(result:LRESULT):BOOL

                                  ReleaseCapture():BOOL

                                  SendInput(value:INPUT*):UINT

                                  SetCursorPos(x:INT,y:INT):BOOL

                                  SetMessageExtraInfo(lParam:LPARAM):LPARAM

                                  SetDisplayConfig(PathArraySize:UINT32, patharry:DISPLAYCONFIG_PATH_INFO, modeinfoArrySize:UINT32, infoarry:DISPLAYCONFIG_MODE_INFO, flags:UINT32):LONG

                                  ShowCursor(bShow:BOOL):INT

                                  TranslateMessage(msg:MSG*):BOOL

                                  WaitMessage():BOOL

                                  WindowFromPoint(pt:POINT):HWND

                                  WindowFromPhysicalPoint(pt:POINT):HWND

                                  +ShowCursor:BOOL

                                  +CursorPos:POINT

                                  -SystemMetrics[flag:INT]:INT

                                  -WS_OVERLAPPED:DWORD

                                  -WS_POPUP:DWORD

                                  -WS_CHILD:DWORD

                                  -WS_MINIMIZE:DWORD

                                  -WS_VISIBLE:DWORD

                                  -WS_DISABLED:DWORD

                                  -WS_CLIPSIBLINGS:DWORD

                                  -WS_CLIPCHILDREN:DWORD

                                  -WS_MAXIMIZE:DWORD

                                  -WS_CAPTION:DWORD

                                  -WS_BORDER:DWORD

                                  -WS_DLGFRAME:DWORD

                                  -WS_VSCROLL:DWORD

                                  -WS_HSCROLL:DWORD

                                  -WS_SYSMENU:DWORD

                                  -WS_THICKFRAME:DWORD

                                  -WS_GROUP:DWORD

                                  -WS_TABSTOP:DWORD

                                  -WS_MINIMIZEBOX:DWORD

                                  -WS_MAXIMIZEBOX:DWORD

                                  -WS_TILED:DWORD

                                  -WS_ICONIC:DWORD

                                  -WS_SIZEBOX:DWORD

                                  -WS_TILEDWINDOW:DWORD

                                  -WS_OVERLAPPEDWINDOW:DWORD

                                  -WS_POPUPWINDOW:DWORD

                                  -WS_CHILDWINDOW :DWORD

                                  -WS_EX_DLGMODALFRAME:DWORD

                                  -WS_EX_NOPARENTNOTIFY:DWORD

                                  -WS_EX_TOPMOST:DWORD

                                  -WS_EX_ACCEPTFILES:DWORD

                                  -WS_EX_TRANSPARENT:DWORD

                                  -WS_EX_MDICHILD:DWORD

                                  -WS_EX_TOOLWINDOW:DWORD

                                  -WS_EX_WINDOWEDGE:DWORD

                                  -WS_EX_CLIENTEDGE:DWORD

                                  -WS_EX_CONTEXTHELP:DWORD

                                  -WS_EX_RIGHT:DWORD

                                  -WS_EX_LEFT:DWORD

                                  -WS_EX_RTLREADING:DWORD

                                  -WS_EX_LTRREADING:DWORD

                                  -WS_EX_LEFTSCROLLBAR:DWORD

                                  -WS_EX_RIGHTSCROLLBAR:DWORD

                                  -WS_EX_CONTROLPARENT:DWORD

                                  -WS_EX_STATICEDGE:DWORD

                                  -WS_EX_APPWINDOW:DWORD

                                  -WS_EX_OVERLAPPEDWINDOW:DWORD

                                  -WS_EX_PALETTEWINDOW:DWORD

                                  -WS_EX_LAYERED:DWORD

                                  -WS_EX_NOINHERITLAYOUT:DWORD

                                  -WS_EX_LAYOUTRTL:DWORD

                                  -WS_EX_COMPOSITED:DWORD

                                  -WS_EX_NOACTIVATE:DWORD

                                  -WND_BROADCAST:HWND

                                  -WM_NOTIFY:DWORD

                                  -WM_INPUTLANGCHANGEREQUEST:DWORD

                                  -WM_INPUTLANGCHANGE:DWORD

                                  -WM_TCARD:DWORD

                                  -WM_HELP:DWORD

                                  -WM_USERCHANGED:DWORD

                                  -WM_NOTIFYFORMAT:DWORD

                                  -WM_CONTEXTMENU:DWORD

                                  -WM_STYLECHANGING:DWORD

                                  -WM_STYLECHANGED:DWORD

                                  -WM_DISPLAYCHANGE:DWORD

                                  -WM_GETICON:DWORD

                                  -WM_SETICON:DWORD

                                  -WM_NCCREATE:DWORD

                                  -WM_NCDESTROY:DWORD

                                  -WM_NCCALCSIZE:DWORD

                                  -WM_NCHITTEST:DWORD

                                  -WM_NCPAINT:DWORD

                                  -WM_NCACTIVATE:DWORD

                                  -WM_GETDLGCODE:DWORD

                                  -WM_SYNCPAINT:DWORD

                                  -WM_NCMOUSEMOVE:DWORD

                                  -WM_NCLBUTTONDOWN:DWORD

                                  -WM_NCLBUTTONUP:DWORD

                                  -WM_NCLBUTTONDBLCLK:DWORD

                                  -WM_NCRBUTTONDOWN:DWORD

                                  -WM_NCRBUTTONUP:DWORD

                                  -WM_NCRBUTTONDBLCLK:DWORD

                                  -WM_NCMBUTTONDOWN:DWORD

                                  -WM_NCMBUTTONUP:DWORD

                                  -WM_NCMBUTTONDBLCLK:DWORD

                                  -WM_NCXBUTTONDOWN:DWORD

                                  -WM_NCXBUTTONUP:DWORD

                                  -WM_NCXBUTTONDBLCLK:DWORD

                                  -WM_INPUT_DEVICE_CHANGE:DWORD

                                  -WM_INPUT:DWORD

                                  -WM_KEYFIRST:DWORD

                                  -WM_KEYDOWN:DWORD

                                  -WM_KEYUP:DWORD

                                  -WM_CHAR:DWORD

                                  -WM_DEADCHAR:DWORD

                                  -WM_SYSKEYDOWN:DWORD

                                  -WM_SYSKEYUP:DWORD

                                  -WM_SYSCHAR:DWORD

                                  -WM_SYSDEADCHAR:DWORD

                                  -WM_UNICHAR:DWORD

                                  -WM_KEYLAST:DWORD

                                  -UNICODE_NOCHAR:DWORD

                                  -WM_IME_STARTCOMPOSITION:DWORD

                                  -WM_IME_ENDCOMPOSITION:DWORD

                                  -WM_IME_COMPOSITION:DWORD

                                  -WM_IME_KEYLAST:DWORD

                                  -WM_INITDIALOG:DWORD

                                  -WM_COMMAND:DWORD

                                  -WM_SYSCOMMAND:DWORD

                                  -WM_TIMER:DWORD

                                  -WM_HSCROLL:DWORD

                                  -WM_VSCROLL:DWORD

                                  -WM_INITMENU:DWORD

                                  -WM_INITMENUPOPUP:DWORD

                                  -WM_GESTURE:DWORD

                                  -WM_GESTURENOTIFY:DWORD

                                  -WM_MENUSELECT:DWORD

                                  -WM_MENUCHAR:DWORD

                                  -WM_ENTERIDLE:DWORD

                                  -WM_MENURBUTTONUP:DWORD

                                  -WM_MENUDRAG:DWORD

                                  -WM_MENUGETOBJECT:DWORD

                                  -WM_UNINITMENUPOPUP:DWORD

                                  -WM_MENUCOMMAND:DWORD

                                  -WM_CHANGEUISTATE:DWORD

                                  -WM_UPDATEUISTATE:DWORD

                                  -WM_QUERYUISTATE:DWORD

                                  -WM_CTLCOLORMSGBOX:DWORD

                                  -WM_CTLCOLOREDIT:DWORD

                                  -WM_CTLCOLORLISTBOX:DWORD

                                  -WM_CTLCOLORBTN:DWORD

                                  -WM_CTLCOLORDLG:DWORD

                                  -WM_CTLCOLORSCROLLBAR:DWORD

                                  -WM_CTLCOLORSTATIC:DWORD

                                  -MN_GETHMENU:DWORD

                                  -WM_MOUSEFIRST:DWORD

                                  -WM_MOUSEMOVE:DWORD

                                  -WM_LBUTTONDOWN:DWORD

                                  -WM_LBUTTONUP:DWORD

                                  -WM_LBUTTONDBLCLK:DWORD

                                  -WM_RBUTTONDOWN:DWORD

                                  -WM_RBUTTONUP:DWORD

                                  -WM_RBUTTONDBLCLK:DWORD

                                  -WM_MBUTTONDOWN:DWORD

                                  -WM_MBUTTONUP:DWORD

                                  -WM_MBUTTONDBLCLK:DWORD

                                  -WM_MOUSEWHEEL:DWORD

                                  -WM_XBUTTONDOWN:DWORD

                                  -WM_XBUTTONUP:DWORD

                                  -WM_XBUTTONDBLCLK:DWORD

                                  -WM_MOUSEHWHEEL:DWORD

                                  -WM_MOUSELAST:DWORD

                                  -WM_PARENTNOTIFY:DWORD

                                  -WM_ENTERMENULOOP:DWORD

                                  -WM_EXITMENULOOP:DWORD

                                  -WM_NEXTMENU:DWORD

                                  -WM_SIZING:DWORD

                                  -WM_CAPTURECHANGED:DWORD

                                  -WM_MOVING:DWORD

                                  -WM_DEVICECHANGE:DWORD

                                  -WM_MDICREATE:DWORD

                                  -WM_MDIDESTROY:DWORD

                                  -WM_MDIACTIVATE:DWORD

                                  -WM_MDIRESTORE:DWORD

                                  -WM_MDINEXT:DWORD

                                  -WM_MDIMAXIMIZE:DWORD

                                  -WM_MDITILE:DWORD

                                  -WM_MDICASCADE:DWORD

                                  -WM_MDIICONARRANGE:DWORD

                                  -WM_MDIGETACTIVE:DWORD

                                  -WM_MDISETMENU:DWORD

                                  -WM_ENTERSIZEMOVE:DWORD

                                  -WM_EXITSIZEMOVE:DWORD

                                  -WM_DROPFILES:DWORD

                                  -WM_MDIREFRESHMENU:DWORD

                                  -WM_TOUCH:DWORD

                                  -WM_IME_SETCONTEXT:DWORD

                                  -WM_IME_NOTIFY:DWORD

                                  -WM_IME_CONTROL:DWORD

                                  -WM_IME_COMPOSITIONFULL:DWORD

                                  -WM_IME_SELECT:DWORD

                                  -WM_IME_CHAR:DWORD

                                  -WM_IME_REQUEST:DWORD

                                  -WM_IME_KEYDOWN:DWORD

                                  -WM_IME_KEYUP:DWORD

                                  -WM_MOUSEHOVER:DWORD

                                  -WM_MOUSELEAVE:DWORD

                                  -WM_NCMOUSEHOVER:DWORD

                                  -WM_NCMOUSELEAVE:DWORD

                                  -WM_WTSSESSION_CHANGE:DWORD

                                  -WM_TABLET_FIRST:DWORD

                                  -WM_TABLET_LAST:DWORD

                                  -WM_CUT:DWORD

                                  -WM_COPY:DWORD

                                  -WM_PASTE:DWORD

                                  -WM_CLEAR:DWORD

                                  -WM_UNDO:DWORD

                                  -WM_RENDERFORMAT:DWORD

                                  -WM_RENDERALLFORMATS:DWORD

                                  -WM_DESTROYCLIPBOARD:DWORD

                                  -WM_DRAWCLIPBOARD:DWORD

                                  -WM_PAINTCLIPBOARD:DWORD

                                  -WM_VSCROLLCLIPBOARD:DWORD

                                  -WM_SIZECLIPBOARD:DWORD

                                  -WM_ASKCBFORMATNAME:DWORD

                                  -WM_CHANGECBCHAIN:DWORD

                                  -WM_HSCROLLCLIPBOARD:DWORD

                                  -WM_QUERYNEWPALETTE:DWORD

                                  -WM_PALETTEISCHANGING:DWORD

                                  -WM_PALETTECHANGED:DWORD

                                  -WM_HOTKEY:DWORD

                                  -WM_PRINT:DWORD

                                  -WM_PRINTCLIENT:DWORD

                                  -WM_APPCOMMAND:DWORD

                                  -WM_THEMECHANGED:DWORD

                                  -WM_CLIPBOARDUPDATE:DWORD

                                  -WM_DWMCOMPOSITIONCHANGED:DWORD

                                  -WM_DWMNCRENDERINGCHANGED:DWORD

                                  -WM_DWMCOLORIZATIONCOLORCHANGED:DWORD

                                  -WM_DWMWINDOWMAXIMIZEDCHANGE:DWORD

                                  -WM_DWMSENDICONICTHUMBNAIL:DWORD

                                  -WM_DWMSENDICONICLIVEPREVIEWBITMAP:DWORD

                                  -WM_GETTITLEBARINFOEX:DWORD

                                  -WM_HANDHELDFIRST:DWORD

                                  -WM_HANDHELDLAST:DWORD

                                  -WM_AFXFIRST:DWORD

                                  -WM_AFXLAST:DWORD

                                  -WM_PENWINFIRST:DWORD

                                  -WM_PENWINLAST:DWORD

                                  -WM_APP:DWORD

                                  -WM_USER:DWORD

                                  -VK_LBUTTON:DWORD

                                  -VK_RBUTTON:DWORD

                                  -VK_CANCEL:DWORD

                                  -VK_MBUTTON:DWORD

                                  -VK_XBUTTON1:DWORD

                                  -VK_XBUTTON2:DWORD

                                  -VK_BACK:DWORD

                                  -VK_TAB:DWORD

                                  -VK_CLEAR:DWORD

                                  -VK_RETURN:DWORD

                                  -VK_SHIFT:DWORD

                                  -VK_CONTROL:DWORD

                                  -VK_MENU:DWORD

                                  -VK_PAUSE:DWORD

                                  -VK_CAPITAL:DWORD

                                  -VK_KANA:DWORD

                                  -VK_HANGEUL:DWORD

                                  -VK_HANGUL:DWORD

                                  -VK_JUNJA:DWORD

                                  -VK_FINAL:DWORD

                                  -VK_HANJA:DWORD

                                  -VK_KANJI:DWORD

                                  -VK_ESCAPE:DWORD

                                  -VK_CONVERT:DWORD

                                  -VK_NONCONVERT:DWORD

                                  -VK_ACCEPT:DWORD

                                  -VK_MODECHANGE:DWORD

                                  -VK_SPACE:DWORD

                                  -VK_PRIOR:DWORD

                                  -VK_NEXT:DWORD

                                  -VK_END:DWORD

                                  -VK_HOME:DWORD

                                  -VK_LEFT:DWORD

                                  -VK_UP:DWORD

                                  -VK_RIGHT:DWORD

                                  -VK_DOWN:DWORD

                                  -VK_SELECT:DWORD

                                  -VK_PRINT:DWORD

                                  -VK_EXECUTE:DWORD

                                  -VK_SNAPSHOT:DWORD

                                  -VK_INSERT:DWORD

                                  -VK_DELETE:DWORD

                                  -VK_HELP:DWORD

                                  -VK_LWIN:DWORD

                                  -VK_RWIN:DWORD

                                  -VK_APPS:DWORD

                                  -VK_SLEEP:DWORD

                                  -VK_NUMPAD0:DWORD

                                  -VK_NUMPAD1:DWORD

                                  -VK_NUMPAD2:DWORD

                                  -VK_NUMPAD3:DWORD

                                  -VK_NUMPAD4:DWORD

                                  -VK_NUMPAD5:DWORD

                                  -VK_NUMPAD6:DWORD

                                  -VK_NUMPAD7:DWORD

                                  -VK_NUMPAD8:DWORD

                                  -VK_NUMPAD9:DWORD

                                  -VK_MULTIPLY:DWORD

                                  -VK_ADD:DWORD

                                  -VK_SEPARATOR:DWORD

                                  -VK_SUBTRACT:DWORD

                                  -VK_DECIMAL:DWORD

                                  -VK_DIVIDE:DWORD

                                  -VK_F1:DWORD

                                  -VK_F2:DWORD

                                  -VK_F3:DWORD

                                  -VK_F4:DWORD

                                  -VK_F5:DWORD

                                  -VK_F6:DWORD

                                  -VK_F7:DWORD

                                  -VK_F8:DWORD

                                  -VK_F9:DWORD

                                  -VK_F10:DWORD

                                  -VK_F11:DWORD

                                  -VK_F12:DWORD

                                  -VK_F13:DWORD

                                  -VK_F14:DWORD

                                  -VK_F15:DWORD

                                  -VK_F16:DWORD

                                  -VK_F17:DWORD

                                  -VK_F18:DWORD

                                  -VK_F19:DWORD

                                  -VK_F20:DWORD

                                  -VK_F21:DWORD

                                  -VK_F22:DWORD

                                  -VK_F23:DWORD

                                  -VK_F24:DWORD

                                  -VK_NUMLOCK:DWORD

                                  -VK_SCROLL:DWORD

                                  -VK_OEM_NEC_EQUAL:DWORD

                                  -VK_OEM_FJ_JISHO:DWORD

                                  -VK_OEM_FJ_MASSHOU:DWORD

                                  -VK_OEM_FJ_TOUROKU:DWORD

                                  -VK_OEM_FJ_LOYA:DWORD

                                  -VK_OEM_FJ_ROYA:DWORD

                                  -VK_LSHIFT:DWORD

                                  -VK_RSHIFT:DWORD

                                  -VK_LCONTROL:DWORD

                                  -VK_RCONTROL:DWORD

                                  -VK_LMENU:DWORD

                                  -VK_RMENU:DWORD

                                  -VK_BROWSER_BACK:DWORD

                                  -VK_BROWSER_FORWARD:DWORD

                                  -VK_BROWSER_REFRESH:DWORD

                                  -VK_BROWSER_STOP:DWORD

                                  -VK_BROWSER_SEARCH:DWORD

                                  -VK_BROWSER_FAVORITES:DWORD

                                  -VK_BROWSER_HOME:DWORD

                                  -VK_VOLUME_MUTE:DWORD

                                  -VK_VOLUME_DOWN:DWORD

                                  -VK_VOLUME_UP:DWORD

                                  -VK_MEDIA_NEXT_TRACK:DWORD

                                  -VK_MEDIA_PREV_TRACK:DWORD

                                  -VK_MEDIA_STOP:DWORD

                                  -VK_MEDIA_PLAY_PAUSE:DWORD

                                  -VK_LAUNCH_MAIL:DWORD

                                  -VK_LAUNCH_MEDIA_SELECT:DWORD

                                  -VK_LAUNCH_APP1:DWORD

                                  -VK_LAUNCH_APP2:DWORD

                                  -VK_OEM_1:DWORD

                                  -VK_OEM_PLUS:DWORD

                                  -VK_OEM_COMMA:DWORD

                                  -VK_OEM_MINUS:DWORD

                                  -VK_OEM_PERIOD:DWORD

                                  -VK_OEM_2:DWORD

                                  -VK_OEM_3:DWORD

                                  -VK_OEM_4:DWORD

                                  -VK_OEM_5:DWORD

                                  -VK_OEM_6:DWORD

                                  -VK_OEM_7:DWORD

                                  -VK_OEM_8:DWORD

                                  -VK_OEM_AX:DWORD

                                  -VK_OEM_102:DWORD

                                  -VK_ICO_HELP:DWORD

                                  -VK_ICO_00:DWORD

                                  -VK_PROCESSKEY:DWORD

                                  -VK_ICO_CLEAR:DWORD

                                  -VK_PACKET:DWORD

                                  -VK_OEM_RESET:DWORD

                                  -VK_OEM_JUMP:DWORD

                                  -VK_OEM_PA1:DWORD

                                  -VK_OEM_PA2:DWORD

                                  -VK_OEM_PA3:DWORD

                                  -VK_OEM_WSCTRL:DWORD

                                  -VK_OEM_CUSEL:DWORD

                                  -VK_OEM_ATTN:DWORD

                                  -VK_OEM_FINISH:DWORD

                                  -VK_OEM_COPY:DWORD

                                  -VK_OEM_AUTO:DWORD

                                  -VK_OEM_ENLW:DWORD

                                  -VK_OEM_BACKTAB:DWORD

                                  -VK_ATTN:DWORD

                                  -VK_CRSEL:DWORD

                                  -VK_EXSEL:DWORD

                                  -VK_EREOF:DWORD

                                  -VK_PLAY:DWORD

                                  -VK_ZOOM:DWORD

                                  -VK_NONAME:DWORD

                                  -VK_PA1:DWORD

                                  -VK_OEM_CLEAR:DWORD

                                  -KEYEVENTF_EXTENDEDKEY:DWORD

                                  -KEYEVENTF_KEYUP:DWORD

                                  -KEYEVENTF_UNICODE:DWORD

                                  -KEYEVENTF_SCANCODE:DWORD

                                  -MOUSEEVENTF_MOVE:DWORD

                                  -MOUSEEVENTF_LEFTDOWN:DWORD

                                  -MOUSEEVENTF_LEFTUP:DWORD

                                  -MOUSEEVENTF_RIGHTDOWN:DWORD

                                  -MOUSEEVENTF_RIGHTUP:DWORD

                                  -MOUSEEVENTF_MIDDLEDOWN:DWORD

                                  -MOUSEEVENTF_MIDDLEUP:DWORD

                                  -MOUSEEVENTF_XDOWN:DWORD

                                  -MOUSEEVENTF_XUP:DWORD

                                  -MOUSEEVENTF_WHEEL:DWORD

                                  -MOUSEEVENTF_HWHEEL:DWORD

                                  -MOUSEEVENTF_MOVE_NOCOALESCE:DWORD

                                  -MOUSEEVENTF_VIRTUALDESK:DWORD

                                  -MOUSEEVENTF_ABSOLUTE:DWORD

                                  -PM_NOREMOVE:DWORD

                                  -PM_REMOVE:DWORD

                                  -PM_NOYIELD:DWORD

                                  -PM_QS_INPUT:DWORD

                                  -PM_QS_POSTMESSAGE:DWORD

                                  -PM_QS_PAINT:DWORD

                                  -PM_QS_SENDMESSAGE:DWORD

                                  -QS_KEY:DWORD

                                  -QS_MOUSEMOVE:DWORD

                                  -QS_MOUSEBUTTON:DWORD

                                  -QS_POSTMESSAGE:DWORD

                                  -QS_TIMER:DWORD

                                  -QS_PAINT:DWORD

                                  -QS_SENDMESSAGE:DWORD

                                  -QS_HOTKEY:DWORD

                                  -QS_ALLPOSTMESSAGE:DWORD

                                  -QS_RAWINPUT:DWORD

                                  -QS_MOUSE:DWORD

                                  -QS_INPUT:DWORD

                                  -QS_ALLEVENTS:DWORD

                                  -QS_ALLINPUT:DWORD

                                  -BS_PUSHBUTTON:DWORD

                                  -BS_DEFPUSHBUTTON:DWORD

                                  -BS_CHECKBOX:DWORD

                                  -BS_AUTOCHECKBOX:DWORD

                                  -BS_RADIOBUTTON:DWORD

                                  -BS_3STATE:DWORD

                                  -BS_AUTO3STATE:DWORD

                                  -BS_GROUPBOX:DWORD

                                  -BS_USERBUTTON:DWORD

                                  -BS_AUTORADIOBUTTON:DWORD

                                  -BS_PUSHBOX:DWORD

                                  -BS_OWNERDRAW:DWORD

                                  -BS_TYPEMASK:DWORD

                                  -BS_LEFTTEXT:DWORD

                                  -BS_TEXT:DWORD

                                  -BS_ICON:DWORD

                                  -BS_BITMAP:DWORD

                                  -BS_LEFT:DWORD

                                  -BS_RIGHT:DWORD

                                  -BS_CENTER:DWORD

                                  -BS_TOP:DWORD

                                  -BS_BOTTOM:DWORD

                                  -BS_VCENTER:DWORD

                                  -BS_PUSHLIKE:DWORD

                                  -BS_MULTILINE:DWORD

                                  -BS_NOTIFY:DWORD

                                  -BS_FLAT:DWORD

                                  -BS_RIGHTBUTTON:DWORD

                                  -SBS_HORZ:DWORD

                                  -SBS_VERT:DWORD

                                  -SBS_TOPALIGN:DWORD

                                  -SBS_LEFTALIGN:DWORD

                                  -SBS_BOTTOMALIGN:DWORD

                                  -SBS_RIGHTALIGN:DWORD

                                  -SBS_SIZEBOXTOPLEFTALIGN:DWORD

                                  -SBS_SIZEBOXBOTTOMRIGHTALIGN:DWORD

                                  -SBS_SIZEBOX:DWORD

                                  -SBS_SIZEGRIP:DWORD

                                  -ES_LEFT:DWORD

                                  -ES_CENTER:DWORD

                                  -ES_RIGHT:DWORD

                                  -ES_MULTILINE:DWORD

                                  -ES_UPPERCASE:DWORD

                                  -ES_LOWERCASE:DWORD

                                  -ES_PASSWORD:DWORD

                                  -ES_AUTOVSCROLL:DWORD

                                  -ES_AUTOHSCROLL:DWORD

                                  -ES_NOHIDESEL:DWORD

                                  -ES_OEMCONVERT:DWORD

                                  -ES_READONLY:DWORD

                                  -ES_WANTRETURN:DWORD

                                  -ES_NUMBER:DWORD

                                  -BSF_QUERY:DWORD

                                  -BSF_IGNORECURRENTTASK:DWORD

                                  -BSF_FLUSHDISK:DWORD

                                  -BSF_NOHANG:DWORD

                                  -BSF_POSTMESSAGE:DWORD

                                  -BSF_FORCEIFHUNG:DWORD

                                  -BSF_NOTIMEOUTIFNOTHUNG:DWORD

                                  -BSF_ALLOWSFW:DWORD

                                  -BSF_SENDNOTIFYMESSAGE:DWORD

                                  -BSF_RETURNHDESK:DWORD

                                  -BSF_LUID:DWORD

                                  -BROADCAST_QUERY_DENY:DWORD

                                  -SM_CXSCREEN:DWORD

                                  -SM_CYSCREEN:DWORD

                                  -SM_CXVSCROLL:DWORD

                                  -SM_CYHSCROLL:DWORD

                                  -SM_CYCAPTION:DWORD

                                  -SM_CXBORDER:DWORD

                                  -SM_CYBORDER:DWORD

                                  -SM_CXDLGFRAME:DWORD

                                  -SM_CYDLGFRAME:DWORD

                                  -SM_CYVTHUMB:DWORD

                                  -SM_CXHTHUMB:DWORD

                                  -SM_CXICON:DWORD

                                  -SM_CYICON:DWORD

                                  -SM_CXCURSOR:DWORD

                                  -SM_CYCURSOR:DWORD

                                  -SM_CYMENU:DWORD

                                  -SM_CXFULLSCREEN:DWORD

                                  -SM_CYFULLSCREEN:DWORD

                                  -SM_CYKANJIWINDOW:DWORD

                                  -SM_MOUSEPRESENT:DWORD

                                  -SM_CYVSCROLL:DWORD

                                  -SM_CXHSCROLL:DWORD

                                  -SM_DEBUG:DWORD

                                  -SM_SWAPBUTTON:DWORD

                                  -SM_RESERVED1:DWORD

                                  -SM_RESERVED2:DWORD

                                  -SM_RESERVED3:DWORD

                                  -SM_RESERVED4:DWORD

                                  -SM_CXMIN:DWORD

                                  -SM_CYMIN:DWORD

                                  -SM_CXSIZE:DWORD

                                  -SM_CYSIZE:DWORD

                                  -SM_CXFRAME:DWORD

                                  -SM_CYFRAME:DWORD

                                  -SM_CXMINTRACK:DWORD

                                  -SM_CYMINTRACK:DWORD

                                  -SM_CXDOUBLECLK:DWORD

                                  -SM_CYDOUBLECLK:DWORD

                                  -SM_CXICONSPACING:DWORD

                                  -SM_CYICONSPACING:DWORD

                                  -SM_MENUDROPALIGNMENT:DWORD

                                  -SM_PENWINDOWS:DWORD

                                  -SM_DBCSENABLED:DWORD

                                  -SM_CMOUSEBUTTONS:DWORD

                                  -SM_CXFIXEDFRAME:DWORD

                                  -SM_CYFIXEDFRAME:DWORD

                                  -SM_CXSIZEFRAME:DWORD

                                  -SM_CYSIZEFRAME:DWORD

                                  -SM_SECURE:DWORD

                                  -SM_CXEDGE:DWORD

                                  -SM_CYEDGE:DWORD

                                  -SM_CXMINSPACING:DWORD

                                  -SM_CYMINSPACING:DWORD

                                  -SM_CXSMICON:DWORD

                                  -SM_CYSMICON:DWORD

                                  -SM_CYSMCAPTION:DWORD

                                  -SM_CXSMSIZE:DWORD

                                  -SM_CYSMSIZE:DWORD

                                  -SM_CXMENUSIZE:DWORD

                                  -SM_CYMENUSIZE:DWORD

                                  -SM_ARRANGE:DWORD

                                  -SM_CXMINIMIZED:DWORD

                                  -SM_CYMINIMIZED:DWORD

                                  -SM_CXMAXTRACK:DWORD

                                  -SM_CYMAXTRACK:DWORD

                                  -SM_CXMAXIMIZED:DWORD

                                  -SM_CYMAXIMIZED:DWORD

                                  -SM_NETWORK:DWORD

                                  -SM_CLEANBOOT:DWORD

                                  -SM_CXDRAG:DWORD

                                  -SM_CYDRAG:DWORD

                                  -SM_SHOWSOUNDS:DWORD

                                  -SM_CXMENUCHECK:DWORD

                                  -SM_CYMENUCHECK:DWORD

                                  -SM_SLOWMACHINE:DWORD

                                  -SM_MIDEASTENABLED:DWORD

                                  -SM_MOUSEWHEELPRESENT:DWORD

                                  -SM_XVIRTUALSCREEN:DWORD

                                  -SM_YVIRTUALSCREEN:DWORD

                                  -SM_CXVIRTUALSCREEN:DWORD

                                  -SM_CYVIRTUALSCREEN:DWORD

                                  -SM_CMONITORS:DWORD

                                  -SM_SAMEDISPLAYFORMAT:DWORD

                                  -SM_IMMENABLED:DWORD

                                  -SM_CXFOCUSBORDER:DWORD

                                  -SM_CYFOCUSBORDER:DWORD

                                  -SM_TABLETPC:DWORD

                                  -SM_MEDIACENTER:DWORD

                                  -SM_STARTER:DWORD

                                  -SM_SERVERR2:DWORD

                                  -SM_MOUSEHORIZONTALWHEELPRESENT:DWORD

                                  -SM_CXPADDEDBORDER:DWORD

                                  -SM_DIGITIZER:DWORD

                                  -SM_MAXIMUMTOUCHES:DWORD

                                  -SM_CMETRICS:DWORD

                                  -SM_REMOTESESSION:DWORD

                                  -SM_SHUTTINGDOWN:DWORD

                                  -SM_REMOTECONTROL:DWORD

                                  -SM_CARETBLINKINGENABLED:DWORD

                                  -EDD_GET_DEVICE_INTERFACE_NAME:DWORD

                                  -ENUM_REGISTRY_SETTINGS:DWORD

                                  -ENUM_CURRENT_SETTINGS:DWORD

                                  -EDS_RAWMODE:DWORD

                                  -EDS_ROTATEDMODE:DWORD

                                  -CDS_UPDATEREGISTRY:DWORD

                                  -CDS_TEST:DWORD

                                  -CDS_FULLSCREEN:DWORD

                                  -CDS_GLOBAL:DWORD

                                  -CDS_SET_PRIMARY:DWORD

                                  -CDS_VIDEOPARAMETERS:DWORD

                                  -CDS_ENABLE_UNSAFE_MODES:DWORD

                                  -CDS_DISABLE_UNSAFE_MODES:DWORD

                                  -CDS_RESET:DWORD

                                  -CDS_RESET_EX:DWORD

                                  -CDS_NORESET:DWORD

                                  -SDC_TOPOLOGY_INTERNAL:DWORD

                                  -SDC_TOPOLOGY_CLONE:DWORD

                                  -SDC_TOPOLOGY_EXTEND:DWORD

                                  -SDC_TOPOLOGY_EXTERNAL:DWORD

                                  -SDC_TOPOLOGY_SUPPLIED:DWORD

                                  -SDC_USE_DATABASE_CURRENT:DWORD

                                  -SDC_USE_SUPPLIED_DISPLAY_CONFIG:DWORD

                                  -SDC_VALIDATE:DWORD

                                  -SDC_APPLY:DWORD

                                  -SDC_NO_OPTIMIZATION:DWORD

                                  -SDC_SAVE_TO_DATABASE:DWORD

                                  -SDC_ALLOW_CHANGES:DWORD

                                  -SDC_PATH_PERSIST_IF_REQUIRED:DWORD

                                  -SDC_FORCE_MODE_ENUMERATION:DWORD

                                  -SDC_ALLOW_PATH_ORDER_CHANGES:DWORD

                                  -MB_OK:DWORD

                                  -MB_OKCANCEL:DWORD

                                  -MB_ABORTRETRYIGNORE:DWORD

                                  -MB_YESNOCANCEL:DWORD

                                  -MB_YESNO:DWORD

                                  -MB_RETRYCANCEL:DWORD

                                  -MB_CANCELTRYCONTINUE:DWORD

                                  -MB_ICONHAND:DWORD

                                  -MB_ICONQUESTION:DWORD

                                  -MB_ICONEXCLAMATION:DWORD

                                  -MB_ICONASTERISK:DWORD

                                  -MB_USERICON:DWORD

                                  -MB_ICONWARNING:DWORD

                                  -MB_ICONERROR:DWORD

                                  -MB_ICONINFORMATION:DWORD

                                  -MB_ICONSTOP:DWORD

                                  -MB_DEFBUTTON1:DWORD

                                  -MB_DEFBUTTON2:DWORD

                                  -MB_DEFBUTTON3:DWORD

                                  -MB_DEFBUTTON4:DWORD

                                  -MB_APPLMODAL:DWORD

                                  -MB_SYSTEMMODAL:DWORD

                                  -MB_TASKMODAL:DWORD

                                  -MB_HELP:DWORD

                                  -MB_NOFOCUS:DWORD

                                  -MB_SETFOREGROUND:DWORD

                                  -MB_DEFAULT_DESKTOP_ONLY:DWORD

                                  -MB_TOPMOST:DWORD

                                  -MB_RIGHT:DWORD

                                  -MB_RTLREADING:DWORD

                                  -MB_SERVICE_NOTIFICATION:DWORD

                                  -MB_SERVICE_NOTIFICATION:DWORD

                                  -MB_SERVICE_NOTIFICATION_NT3X:DWORD

                                  -MB_TYPEMASK:DWORD

                                  -MB_ICONMASK:DWORD

                                  -MB_DEFMASK:DWORD

                                  -MB_MODEMASK:DWORD

                                  -MB_MISCMASK:DWORD

                                  "

                                  • 14. Re: Multitouch with Director
                                    damskiiii Level 1

                                    I tried to call various HWND objects to no avail. It seems when a sprite is set to DTS, windows does not recognise it as a separate window handle. The active window suggestion you made  works when you publish it, but only if you touch outside the 3D sprite.

                                     

                                    I'm thinking the only way to solve this is use an invisible MIAW to capture events.  

                                     

                                    I also tried valentin's xtra and strangely enough it returns WM_GESTURE events inside the 3d sprite and WM_TOUCH events on the stage.   I'm looking for just the x.y points really.

                                    • 15. Re: Multitouch with Director
                                      ISOpaul Level 1

                                      Hi.

                                       

                                      I've been trying to implement Hun Nam's Xtra within a Director 11.5 project. I can get multitouch multiuser interaction with discreet sprites and dropping the behaviours on to these sprites but like you I notice that it ignores DTS sprites. I want to drive a 3D scene using the multitouch xtra but cannot see how I can do it. How do you pass the multitouch touch events to a 3D model in a DTS 3D scene? I can imagine you cound get the x and y and map it to the 3D space and send a message to the model but how do you register touch and drag etcc?

                                       

                                      Did you manage to do it? If so, I'd really like to hear how you did! Any advice appreciated.

                                       

                                      Kind regards,  Paul.

                                      • 16. Re: Multitouch with Director
                                        damskiiii Level 1

                                        Hi Paul,

                                         

                                        As far as I can see, without understanding how windows handles and DTS sprites work together, there was no way I could get Hun Nam's Xtra to work with a fullscreen 3D sprite. As I pointed out above, Valentin's Xtra does work with win8 and DTS sprites (tested on a tablet) by returning gestures only but similar to you, I wanted the touch points so I could develop my own gestures.  Its a real shame cause Hun Nam's xtra works really well otherwise with non-dts sprites.  The best bet here would be to look at why Valentin's code works with DTS (and win8 gestures) and apply this to Hun Nam's xtra or update Valentin's code for WM_TOUCH and DTS.

                                         

                                        As a workaround, I used a flash movie to capture tuio events which works okay but really not acceptable for fast event processing. 

                                         

                                        We really should have a working MT xtra that works with fullscreen 3D DTS sprites as this would be a common scenario. I have an application that I could use it with, so I could immediately use it. I'm happy to do testing if anyone needs it, my current setup is a 10 point multitouch monitor with windows 7.