Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Managed C++/CLI
  4. c++ toolTip windowsforms graphics

c++ toolTip windowsforms graphics

Scheduled Pinned Locked Moved Managed C++/CLI
questionc++graphics
4 Posts 2 Posters 12 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SuchitraAB
    wrote on last edited by
    #1

    How do I increase size of my tooltip control as I need to show image to my tooltip I probably need to increase size of my tooltip control?

    I tried using Text Renderer Measure Text but it just for increasing size according to text we provide.I want to increase size means height and width of my tool Tip so that my whole image gets displayed. Right now only part of image getting displayed using graphics Draw Image function according default size of tool Tip which is small.I am also providing default size of my image by using Graphics Draw Image function.But since size of my toolTip is small only part of image getting displayed.

    L 1 Reply Last reply
    0
    • S SuchitraAB

      How do I increase size of my tooltip control as I need to show image to my tooltip I probably need to increase size of my tooltip control?

      I tried using Text Renderer Measure Text but it just for increasing size according to text we provide.I want to increase size means height and width of my tool Tip so that my whole image gets displayed. Right now only part of image getting displayed using graphics Draw Image function according default size of tool Tip which is small.I am also providing default size of my image by using Graphics Draw Image function.But since size of my toolTip is small only part of image getting displayed.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      See How to Create a Tooltip for a Control (Windows)[^].

      S 1 Reply Last reply
      0
      • L Lost User

        See How to Create a Tooltip for a Control (Windows)[^].

        S Offline
        S Offline
        SuchitraAB
        wrote on last edited by
        #3

        Thanks.But actually i wanted to modify my toolTip means increase height or width without using HANDLE.Also i tried to create Rectangle using DrawImage function but didnt worked.

        L 1 Reply Last reply
        0
        • S SuchitraAB

          Thanks.But actually i wanted to modify my toolTip means increase height or width without using HANDLE.Also i tried to create Rectangle using DrawImage function but didnt worked.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Why not just use a method that works?

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups