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. C#
  4. Set a picture transparently in the foreground

Set a picture transparently in the foreground

Scheduled Pinned Locked Moved C#
question
5 Posts 2 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.
  • M Offline
    M Offline
    Mschauder
    wrote on last edited by
    #1

    Hey guys, is it possible to load a .jpg on a form and make it transparently to sketch it in paint or somewhere else? The picture should always stay in the foreground, but I want interact to the window under it. any suggestions? :doh:

    M 1 Reply Last reply
    0
    • M Mschauder

      Hey guys, is it possible to load a .jpg on a form and make it transparently to sketch it in paint or somewhere else? The picture should always stay in the foreground, but I want interact to the window under it. any suggestions? :doh:

      M Offline
      M Offline
      musefan
      wrote on last edited by
      #2

      How about... - Set jpg as form BackgroundImage - Set form Opacity to 50% (or whatever) - Set FormBorderStyle to None (but you will have to handle Move another way) - Set form TopMost to true

      Illogical thoughts make me ill

      M 1 Reply Last reply
      0
      • M musefan

        How about... - Set jpg as form BackgroundImage - Set form Opacity to 50% (or whatever) - Set FormBorderStyle to None (but you will have to handle Move another way) - Set form TopMost to true

        Illogical thoughts make me ill

        M Offline
        M Offline
        Mschauder
        wrote on last edited by
        #3

        yeah, thank you :D! But 1 Problem remain... How could I draw under it without set the focus to the Form? :confused:

        M 1 Reply Last reply
        0
        • M Mschauder

          yeah, thank you :D! But 1 Problem remain... How could I draw under it without set the focus to the Form? :confused:

          M Offline
          M Offline
          musefan
          wrote on last edited by
          #4

          Ahhh.. I knew it seemed too easy :doh: Maybe this[^] will help

          Illogical thoughts make me ill

          M 1 Reply Last reply
          0
          • M musefan

            Ahhh.. I knew it seemed too easy :doh: Maybe this[^] will help

            Illogical thoughts make me ill

            M Offline
            M Offline
            Mschauder
            wrote on last edited by
            #5

            Yeah its vb.net but I have no problem with it ! Thank you very much :rose:

            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