Results 1 to 3 of 3

Thread: OnLButtonDblClk does not work after upgrade

  1. #1
    Junior Member
    Join Date
    Jun 2008
    Posts
    6

    OnLButtonDblClk does not work after upgrade

    Hi,

    I was using SECEditView derived class as follows.

    SECEditCore<CView>
    |
    SECEditView
    |
    My_SECEditView

    In class My_SECEditView I used to handle following messages.

    ON_WM_LBUTTONDOWN()
    ON_WM_LBUTTONUP()
    ON_WM_LBUTTONDBLCLK()
    ON_WM_RBUTTONDOWN()
    ON_WM_RBUTTONUP()

    After upgrading to VS2006 Stingray studio, it looks like there are changes in the class hierarchy.

    SECEditViewWrapper_T<CView, SECEditViewport>
    |
    SECEditView
    |
    My_SECEditView

    To make it compile with new stingray library, I had to add one more method as follows -

    BOOL My_SECEditView::CreateController()
    {
    m_pCtlr = new CMyController;
    m_bAutoDelCtlr = TRUE;

    return TRUE;
    }

    Class CMyController is empty and derived from SECEditController.

    I am unable to trap ON_WM_LBUTTONDBLCLK() message in My_SECEditView. I mean - OnLButtonDblClk never gets executed when double clicked. BUT OnRButtonDown() gets called on right click.

    What should I do? please help...

    thanks,
    Mac

  2. #2
    Junior Member
    Join Date
    Jun 2008
    Posts
    6
    Can anybody help me? My customers are awaiting.

    Can anybody provide me 'breaking changes in SECEditView in new studio 2006' document
    ( if available) ?.

  3. #3
    Junior Member
    Join Date
    Apr 2015
    Posts
    1
    Yes, BOOL CGXGridCore::OnGridWindowProc(UINT message, WPARAM wParam, LPARAM lParam, LRESULT& result) is in another file, gxcomsg.cpp: you could just search in files to find it. "<other old code>" - I meant you add the fix on the top of the funcion body and don't change the rest of the code in function body below.
    Our excellent online cert killer 220-801 training programs will 642-732 lead you to success in the We also offer latest passguide and with 100% success guarantee. Our www.principiacollege.edu is rare in IT world.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •