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. Extending frame into client area on Vista using the Aero Basic theme

Extending frame into client area on Vista using the Aero Basic theme

Scheduled Pinned Locked Moved C#
comquestioncsharpwinformsjson
4 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.
  • S Offline
    S Offline
    Scott Dorman
    wrote on last edited by
    #1

    I posted this a week ago in the Windows Forms forum, but got no responses so I'm trying it again here. I'm trying to extend the window frame into the client area on Vista using interop to the DWMAPI. I have it working just fine when the client is running the Vista Aero theme (that's the one with glass enabled). The problem comes in when I switch the client to running the Vista Aero Basic theme (which doesn't have glass enabled). Instead of the frame being extended into the client area without the glass effect, I don't get any change. I know it can be done because the Vista Explorer and IE 7 do this when running under Aero Basic. My question is how is this happening? I know it's not a function of the DWM, since the call to DwmIsCompositionEnabled[^] returns false. Does anybody know what API's are being called?

    ----------------------------- In just two days, tomorrow will be yesterday. http://geekswithblogs.net/sdorman

    S 1 Reply Last reply
    0
    • S Scott Dorman

      I posted this a week ago in the Windows Forms forum, but got no responses so I'm trying it again here. I'm trying to extend the window frame into the client area on Vista using interop to the DWMAPI. I have it working just fine when the client is running the Vista Aero theme (that's the one with glass enabled). The problem comes in when I switch the client to running the Vista Aero Basic theme (which doesn't have glass enabled). Instead of the frame being extended into the client area without the glass effect, I don't get any change. I know it can be done because the Vista Explorer and IE 7 do this when running under Aero Basic. My question is how is this happening? I know it's not a function of the DWM, since the call to DwmIsCompositionEnabled[^] returns false. Does anybody know what API's are being called?

      ----------------------------- In just two days, tomorrow will be yesterday. http://geekswithblogs.net/sdorman

      S Offline
      S Offline
      seeitsharper
      wrote on last edited by
      #2

      Not sure if this is exactly what you want but I did find this video interesting on MSDN Nuggets


      Keep your eyes open, you might spot alternatives.

      S 1 Reply Last reply
      0
      • S seeitsharper

        Not sure if this is exactly what you want but I did find this video interesting on MSDN Nuggets


        Keep your eyes open, you might spot alternatives.

        S Offline
        S Offline
        Scott Dorman
        wrote on last edited by
        #3

        Thanks for the link. It helped confirm that I was doing everything correctly, but still didn't help figure out why the frame isn't extending on the Aero Basic theme. I emailed Daniel to see if he can provide any more insight into what is going on.

        ----------------------------- In just two days, tomorrow will be yesterday. http://geekswithblogs.net/sdorman

        S 1 Reply Last reply
        0
        • S Scott Dorman

          Thanks for the link. It helped confirm that I was doing everything correctly, but still didn't help figure out why the frame isn't extending on the Aero Basic theme. I emailed Daniel to see if he can provide any more insight into what is going on.

          ----------------------------- In just two days, tomorrow will be yesterday. http://geekswithblogs.net/sdorman

          S Offline
          S Offline
          seeitsharper
          wrote on last edited by
          #4

          Yeah, I would have thought there was some way of knowing, since Vista makes that judgement on who is privileged enough to use the glass effect. :laugh:


          Keep your eyes open, you might spot alternatives.

          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