Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8321995
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T23:13:12+00:00 2026-06-08T23:13:12+00:00

I have a tab control created by CreateWindowEx(NULL, WC_TABCONTROL,…) . I would like to

  • 0

I have a tab control created by CreateWindowEx(NULL, WC_TABCONTROL,...). I would like to have a notification when a mouse is over a tab item. The tab control has the style TCS_TOOLTIPS and when the mouse is over a tab item for an amount TTDT_INITIAL ms (whose default value is double click time), it will display a tooltip.

But I also need a notification immediately when a mouse is over a tab item. But I don’t want to modify the TTDT_INITIAL value. In fact, when a mouse is over a non-selected tab item, it will change the color to blue by default. But I can not find the notification (and its receiver) for this thing.

So I would like to know if there is a way to be notified immediately when a mouse is over a tab item (winapi only).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T23:13:14+00:00Added an answer on June 8, 2026 at 11:13 pm

    There is no notification for that particular purpose. The tabs are not their own controls, the entire TabControl as a whole is one control. What you can do is have your window procedure for the TabControl catch WM_MOUSEMOVE messages, and then call TabCtrl_HitTest() to determine which tab is currently underneath the mouse. Keep track of the current tab so you can detect when the mouse moves across a tab boundary onto a new tab.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been going crazy over a problem with my tab control. It has
I have created a Windows form using a Tab Control, but it has a
I have created a tab control and few forms. Each form opens in a
I have a tab control with two different potential item templates: <TabControl ItemTemplateSelector={StaticResource tabTemplateSelector}/>
I have a form which has only tab control in it. I want to
I have this Win32 user-drawn tab control that is created as: CONTROL Tab1,IDC_TAB_CONT,SysTabControl32,TCS_BOTTOM |
I have created a tab control and want each tab within it to have
I have a view (user control) that has tab control and tab items in
We have a tab bar + navigation control project. We have created a tab
I created a simple tab control that has 2 tabs (each tab is a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.