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. picturebox dilemma

picturebox dilemma

Scheduled Pinned Locked Moved C#
graphicshelpquestion
2 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.
  • D Offline
    D Offline
    damianrda
    wrote on last edited by
    #1

    hey guys, got a problem over here which i cant seem to solve. i have 1 picturebox displaying an image, and the second thats drawn on top of it, does not allow the bottom one to show through. what can be done to resolve this. will i have to resort to drawing my complex shapes with gdi?

    L 1 Reply Last reply
    0
    • D damianrda

      hey guys, got a problem over here which i cant seem to solve. i have 1 picturebox displaying an image, and the second thats drawn on top of it, does not allow the bottom one to show through. what can be done to resolve this. will i have to resort to drawing my complex shapes with gdi?

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      There is no dilemma, whenever you are not sure a PictureBox can do what you want, well it can't. what magic is it you expect a PictureBox to offer? it is a rather stupid Control, often not worth the trouble. If you need more than just show a single Image, forget about a PictureBox, and paint/draw whatever it is you need on your Form or on a Panel directly. Yes, that takes GDI+ to do it, but then you get what you want, without disappointments. :)

      Luc Pattyn [Forum Guidelines] [My Articles]


      This month's tips: - before you ask a question here, search CodeProject, then Google; - the quality and detail of your question reflects on the effectiveness of the help you are likely to get; - use PRE tags to preserve formatting when showing multi-line code snippets.


      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