matty
Scripting Guru
Posts: 8336 Reputation: 109
39 / /
Joined: Dec 2002
Status: Away
|
RE: [?] Shadows on PlusWnds
js code: var Attribute = Interop.Allocate(4);
Attribute.WriteDWORD(0, 2);
Interop.Call('dwmapi.dll', 'DwmSetWindowAttribute', pPlusWnd.Handle, 2, Attribute, 4);
var _MARGINS = Interop.Allocate(8);
_MARGINS.WriteWORD(0, -1);
_MARGINS.WriteWORD(2, -1);
_MARGINS.WriteWORD(4, -1);
_MARGINS.WriteWORD(6, -1);
Interop.Call('dwmapi.dll', 'DwmExtendFrameIntoClientArea', pPlusWnd.Handle, _MARGINS);
This post was edited on 08-06-2010 at 11:47 PM by matty.
|
|