0

I need to determine if my custom control lies on glass surface.

So I'd like to know if it is possible to find out if DwmExtendFrameIntoClientArea was called for its parent window and with what parameters, or perhaps there are some other ways to determine how much the frame was extended or 'sheet of glass' effect is enabled for a particular window handle?

user2024154
  • 199
  • 3

1 Answers1

0

There is no way to do this. The application is the one who knows how far the client frame was extended.

It gets even worse if the client control is only half on glass:

enter image description here

Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219