Print Page | Close Window

how SetTrackingMode work?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=1543
Printed Date: 07 November 2025 at 4:27am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: how SetTrackingMode work?
Posted By: blueseaing
Subject: how SetTrackingMode work?
Date 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 - https://forum.codejock.com/uploads/blueseaing/2004-11-04 _030207_CustomThemes.rar




Replies:
Posted By: Oleg
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net