Using Hottrack on CTabCtrl.

Posted on 1999-11-23
Medium Priority
Last Modified: 2013-11-20
Is it possible in any way to use "hottrack" on a CTabCtrl? If anybody knows how it's done please help me out with this.....

With "hottrack" do I mean when the mouse hovers over the title of the PropertyPage then the text color should change.

Question by:Slask
LVL 31

Accepted Solution

Zoppo earned 400 total points
ID: 2227951
Hi Slask,

With VC++6 you can either use the resource editor (edit tab control's properties, choose the 'More Styles' tab and check the 'Hottrack' check box) or the TCS_HOTTRACK tab control style (with CTabCtrl::Create() or CWnd::ModifyStyle()).

To find out if hottracking is supported you can use SystemParametersInfo() with SPI_GETHOTTRACKING.

hope that helps,


Author Comment

ID: 2227981
Thanks, excellent answer, used the TCS_HOTTRACK.....

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Get the source code for a fully functional Access application shell with several popular security features that Access VBA application developers desire, but find difficult or impossible to figure out how to code. You get the source code for managi…

589 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question