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 / C++ / MFC
  4. Transparent Shadows

Transparent Shadows

Scheduled Pinned Locked Moved C / C++ / MFC
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.
  • J Offline
    J Offline
    jk chan
    wrote on last edited by
    #1

    Hi all I am working on a Windows based application. The application windows is a custiom shape window . (for that i used Layered windows & region ) its working fine. In this program i would like to give shadow to application window. (like the shadows in Popup menus , such that it should blend neatly with the background pixels on other windows ). looking for Valuable suggestions .. Thanks & regards Krishnan :) If u can Dream... U can do it -- modified at 9:52 Wednesday 3rd May, 2006

    H M 2 Replies Last reply
    0
    • J jk chan

      Hi all I am working on a Windows based application. The application windows is a custiom shape window . (for that i used Layered windows & region ) its working fine. In this program i would like to give shadow to application window. (like the shadows in Popup menus , such that it should blend neatly with the background pixels on other windows ). looking for Valuable suggestions .. Thanks & regards Krishnan :) If u can Dream... U can do it -- modified at 9:52 Wednesday 3rd May, 2006

      H Offline
      H Offline
      Hamid Taebi
      wrote on last edited by
      #2

      krishnadevank I think I see your answer in the codeproject but i'm sorry i dont know address in this program you can see shadow for controls and I think for window

      1 Reply Last reply
      0
      • J jk chan

        Hi all I am working on a Windows based application. The application windows is a custiom shape window . (for that i used Layered windows & region ) its working fine. In this program i would like to give shadow to application window. (like the shadows in Popup menus , such that it should blend neatly with the background pixels on other windows ). looking for Valuable suggestions .. Thanks & regards Krishnan :) If u can Dream... U can do it -- modified at 9:52 Wednesday 3rd May, 2006

        M Offline
        M Offline
        Michael Dunn
        wrote on last edited by
        #3

        Add the CS_DROPSHADOW style to your window class.

        --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ

        J 1 Reply Last reply
        0
        • M Michael Dunn

          Add the CS_DROPSHADOW style to your window class.

          --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ

          J Offline
          J Offline
          jk chan
          wrote on last edited by
          #4

          hi Mike Adding CS_DROPSHADOW is good idea .. But i want to chage the color of shadow i want to give color shadows . Thats my problem. Like this The First color will be Color::Red The Second wll be Color::Transparent and i would like to paint it with a LinerGradientBrush. What you think , Mike ? If u can Dream... U can do it -- modified at 1:54 Thursday 4th May, 2006

          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