I'm still wondering how you guys got DwmExtendFrameIntoClientArea into foobar. Would you mind sharing?
Sure. They're doing it with a WSH Panel Mod version modified by me. I can post a link to the dll if you want (although I doubt T.P Wang would be happy about it...) and how to use it.
EDIT:
Here's the link:
http://sites.google.com/site/jk7800/foobar...h_panel_mod.dll
Functions that I have added:
INT utils.GetHWND( BSTR classname );
INT utils.GetChildHWND( INT ParentHWND, BSTR classname );
utils.CreateGlass( INT HWND , INT Left , INT Right , INT Top , INT Bottom );
utils.SendAMessage( INT HWND, INT MsgNum , INT wParam , INT lParam );
utils.ReleaseCapture_();
1) To create glass effect call:
function on_paint(gr){
Foobar_hWnd = utils.GetHWND("{E7076D1C-A7BF-4f39-B771-BCBE88F2A2A8}");
utils.CreateGlass(Foobar_hWnd, l, r, t, b);
}
2) To expand the title bar area call:
function on_mouse_lbtn_down(x, y) {
Foobar_hWnd = utils.GetHWND("{E7076D1C-A7BF-4f39-B771-BCBE88F2A2A8}");
utils.ReleaseCapture_();
utils.SendAMessage(Foobar_hWnd, 0xA1, 2, 0);
}
3) To simulate a mouse click simply send a message to a control or a window. For example: if we disable Shpeck's titlebar sometimes it's impossible to change the visualization (unless you make it crash). So to simulate a right click on it we can call:
Foobar_hWnd = utils.GetHWND("{E7076D1C-A7BF-4f39-B771-BCBE88F2A2A8}");
Shpeck_hWnd = utils.GetChildHWND(Foobar_hWnd, "ShpeckEmbedWndClass");
utils.SendAMessage(Shpeck_hWnd,0x205,0,0);
Have fun!
EDIT2:
P. S. Could we stop solving our problems here? This is a screenshots thread!
Yes you're right... Sorry. No more off-topics from me.