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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. GDI+ question

GDI+ question

Scheduled Pinned Locked Moved C#
questionwinformsgraphics
4 Posts 3 Posters 0 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.
  • A Offline
    A Offline
    ali_reza_zareian
    wrote on last edited by
    #1

    hi With gdi+ we can draw every thing we want, but I want to write a string in a form over all of the control. When I use drawString() method the string is written on form but under the other control. what should I do?

    T D 2 Replies Last reply
    0
    • A ali_reza_zareian

      hi With gdi+ we can draw every thing we want, but I want to write a string in a form over all of the control. When I use drawString() method the string is written on form but under the other control. what should I do?

      T Offline
      T Offline
      Thomas Krojer
      wrote on last edited by
      #2

      Mabye the TextRenderer.DrawText can do it better? Please tell me if this works.

      A 1 Reply Last reply
      0
      • T Thomas Krojer

        Mabye the TextRenderer.DrawText can do it better? Please tell me if this works.

        A Offline
        A Offline
        ali_reza_zareian
        wrote on last edited by
        #3

        No this method didn't solve my problem.

        1 Reply Last reply
        0
        • A ali_reza_zareian

          hi With gdi+ we can draw every thing we want, but I want to write a string in a form over all of the control. When I use drawString() method the string is written on form but under the other control. what should I do?

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          The string is written on the drawing surface of the form, which sits behind all the other controls on the form. AFAIK, no matter what, any drawing you do on the form will always show up behind the controls on it.

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
               2006, 2007

          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