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. [Message Deleted]

[Message Deleted]

Scheduled Pinned Locked Moved C#
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.
  • P Offline
    P Offline
    Peter Nirschl
    wrote on last edited by
    #1

    [Message Deleted]

    H 1 Reply Last reply
    0
    • P Peter Nirschl

      [Message Deleted]

      H Offline
      H Offline
      Heath Stewart
      wrote on last edited by
      #2

      You don't need to draw the shadow yourself. Just add your menu item and the menu component in Office takes care of the rest.

      Microsoft MVP, Visual C# My Articles

      P 1 Reply Last reply
      0
      • H Heath Stewart

        You don't need to draw the shadow yourself. Just add your menu item and the menu component in Office takes care of the rest.

        Microsoft MVP, Visual C# My Articles

        P Offline
        P Offline
        Peter Nirschl
        wrote on last edited by
        #3

        Exactly that's my problem! I tried to draw the image's shadow like this, but it looks not very great. ControlPaint.DrawImageDisabled (e.Graphics,img,e.Bounds.X + 4,e.Bounds.Y + 4,Color.Transparent); Is there any way to draw a shadow looking LIKE in Ofice XP?

        H 1 Reply Last reply
        0
        • P Peter Nirschl

          Exactly that's my problem! I tried to draw the image's shadow like this, but it looks not very great. ControlPaint.DrawImageDisabled (e.Graphics,img,e.Bounds.X + 4,e.Bounds.Y + 4,Color.Transparent); Is there any way to draw a shadow looking LIKE in Ofice XP?

          H Offline
          H Offline
          Heath Stewart
          wrote on last edited by
          #4

          You said you were working with Office XP components. If you only want Office XP-looking components, there are several articles here on CodeProject that show many different ways to achieve that. See the Menus and Toolbars Windows Forms Controls[^] section.

          Microsoft MVP, Visual C# My Articles

          P 1 Reply Last reply
          0
          • H Heath Stewart

            You said you were working with Office XP components. If you only want Office XP-looking components, there are several articles here on CodeProject that show many different ways to achieve that. See the Menus and Toolbars Windows Forms Controls[^] section.

            Microsoft MVP, Visual C# My Articles

            P Offline
            P Offline
            Peter Nirschl
            wrote on last edited by
            #5

            Thanks for the nice tip! :)

            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