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