Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - how SetTrackingMode work?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

how SetTrackingMode work?

 Post Reply Post Reply
Author
Message
blueseaing View Drop Down
Groupie
Groupie


Joined: 14 June 2004
Status: Offline
Points: 42
Post Options Post Options   Thanks (0) Thanks(0)   Quote blueseaing Quote  Post ReplyReply Direct Link To This Post Topic: how SetTrackingMode work?
    Posted: 17 December 2004 at 4:27am

when i use the autocomplete in the cxtpcomboxedit ,the cxtpcomboxedit  was incompatiable with the IE autocomplete function, if i use SetTrackingMode(FALSE) before onfocus of xtpcombox, and the Autocomplete will work proper, but the tracking mode of menu will have problem, so I think, what's the time to set trackingmode(false) and then settrackingmode(true).  The code is below:       

     https://forum.codejock.com/uploads/blueseaing/2004-11-04 _030207_CustomThemes.rar

Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 20 December 2004 at 5:31am

You can patch BOOL CXTPMouseManager::PreTranslateMouseEvents(WPARAM wParam, POINT point)

 

add

 if (arrTracked.GetSize() > 0 && pWndMouse)
 {
  TCHAR chClassName[100];
  if (GetClassName(pWndMouse->GetTopLevelParent()->GetSafeH wnd(), chClassName, 100))
  {
   if (_tcscmp(chClassName, _T("Auto-Suggest Dropdown")) == 0)
   {
    return FALSE;
   }     
  }
 }

 

before last cycle.

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.062 seconds.