none
Who can help me? How to Add Gesture in InkPicture control? RRS feed

  • General discussion

  • On my surface pro. the OS is windows 8.1.

    I am develope on vs2012. this is a MFC  app and with C++ to do it.

    I want to develope a Desktop App which can draw ink.

    So, I use InkPicture control to do it.

    but today I met a problem. I want to zoom my InkPicture control with two finger. such as Pinch gesture.

    I do not add WM_TOUCH  or WM_GESTURE Message on InkPicture control.

    BEGIN_MESSAGE_MAP(CInkPictureTestDlg, CDialogEx)

    ........

         ON_MESSAGE(WM_TOUCH, OnTouch)
    .........
    END_MESSAGE_MAP()


    BOOL CInkPictureTestDlg::OnInitDialog()

    {

    .......

           BOOL ret = m_InkPicture.RegisterTouchWindow(TRUE, TWF_WANTPALM | TWF_FINETOUCH);

    ......

    }

    why?  How can I do?

    .......
    Thursday, December 12, 2013 11:59 AM

All replies

  • Not a driver development question, ask on a mfc or win32 forum. Thanks.

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Thursday, December 12, 2013 3:26 PM