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 180857
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T14:39:35+00:00 2026-05-11T14:39:35+00:00

I have .NET WPF application and one of requirement is that user may select

  • 0

I have .NET WPF application and one of requirement is that user may select and copy text outside of my application. My application has to respond to clipboard event. Look up word from dictionary and next to selected text show tooltip with word’s translation.

As I understand this has to be accomplished using calls to Windows API.

I have found example code, that accomplishes this task.

http://www.codeproject.com/KB/miscctrl/tooltipzen.aspx?fid=4069&df=90&mpp=25&noise=3&sort=Position&view=Quick&fr=26

One of my first ideas, was to convert this example into library that I can call from .NET application (basically my library would contain 2 methods: show and hide tooltip). Unfortunately my VC++ knowledge is next to nothing.

Is there any other way to solve this problem?

Thank You very much.

  • 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. 2026-05-11T14:39:36+00:00Added an answer on May 11, 2026 at 2:39 pm

    There is nothing magical about tooltips – they are just windows with a thin border, no title, yellowish background and always on top style.

    You can easily duplicate those in WPF:

    <Window xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation'         xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml'         ResizeMode='NoResize'          SizeToContent='WidthAndHeight'         Background='Yellow'          WindowStyle='None'          Topmost='True'>     <Border BorderBrush='Black' BorderThickness='1'>         <TextBlock Text='Tooltip text'/>     </Border> </Window> 

    And now you can use all of Window’s methods and properties to move, resize, show and hide your ‘tooltip’, as a bonus you can also insert more advanced context into the tooltip (images, buttons, hyperlinks, your logo) or make it look more intresting.

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

Sidebar

Related Questions

We have a .NET 4, WPF, WCF, EF 4, SQL 2008 application. One of
I have a .Net 4.0 WPF application that requires an embedded database. MS Access
I have a WPF application (.NET 3.0, VS2008) that displays data in a tab
I have a WPF .NET 3.5 SP1 application that is in use on at
We have a WPF Application that has a two flavors with a consistent UI
I have a project that has, amongst other things, one web application (mvc) and
I have a desktop .NET WPF application witch uses an embedded database (SQLite). Where
We have created a beautifully designed .NET WPF desktop application. We are installing the
I'm writing a WPF application that uses one document at a time. Is there
We have a .net WPF application running as both XBAP and Desktop etc.I haven't

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.