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

  • SEARCH
  • Home
  • 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 8094627
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T20:51:11+00:00 2026-06-05T20:51:11+00:00

I am working on a C# WinForm application in Visual Studio 2008 and are

  • 0

I am working on a C# WinForm application in Visual Studio 2008 and are using DevExpress.

I have added shortcuts to Some of the buttons (DevExpress SimpleButton) which triggers a button click (CTRL + R, CTRL B and so on…). I would like to show the shortcut texts in a tooltip next to each button when the user press and hold the CTRL key.

I have tried to use the DevExpress control ‘ToolTipController’ and that works OK if I only have one tooltip. But I would like to show more than one tooltip at a time. It seems like only the last tooltip that is added is shown.

Is it possible to show more than one tooltip at a time? Or does anyone have any other suggestion on how to solve this problem?

  • 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-05T20:51:13+00:00Added an answer on June 5, 2026 at 8:51 pm

    I solved this by creating a WPF control that looks similar to a standard tooltip (small box with a label). I then did an override on ProcessCmdKey and OnKeyUp on my form to listen to CTRL key down and key up.

    When the user presses and holds down the CTRL key I loop through all my controls that has a shortcut and creates a WPF control on top of that control. For each WPF control I set the corresponding shortcut text. When the CTRL key is released I remove all WPF controls in OnKeyUp.

    protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
        { if ((msg.Msg == WM_KEYDOWN) && ModifierKeys == Keys.Control && !_isKeyDown)
            {
                _isKeyDown = true;
                ShowShortCutToolTips();
                this.Focus();
                return true;
            }
            return base.ProcessCmdKey(ref msg, keyData);
        }
    
       protected override void OnKeyUp(KeyEventArgs e)
        {
            base.OnKeyUp(e);
            if(e.KeyValue == 17 || e.Control) // 17 = Control Key
            {
                _isKeyDown = false;
                HideShortCutToolTips();
            }
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on a C# WinForm application in Visual Studio 2008. I have
I have been working with Visual Studio (WinForm and ASP.NET applications using mostly C#)
I'm using Visual Studio 2008, and working on a winform. Usually, on the event
I am using DevExpress in my winform application, I have a gridview, data entry
I'm working on a WPF application with Visual Studio 2010 Express. I have a
I am working on a C# WinForms application that uses some DevExpress controls. I
I am working with CrystalDecisions.CrystalReports.Engine.ReportDocument in WinForms in Visual Studio 2008. Right now when
I'm having some serious issues with a WinForm application that I'm working on. Currently,
I am working on a C# WinForm application. I want to trigger some processing
I have checked some other examples. I am working on a WinForm. & now

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.