
Untitled
By: a guest on
Jul 14th, 2012 | syntax:
None | size: 0.42 KB | hits: 12 | expires: Never
Subclass command bar in Internet Explorer
internal delegate int Win32WndProc(IntPtr hWnd, int Msg, int wParam, int lParam);
private Win32WndProc newBodyProc = new Win32WndProc(BodyProc);
public IntPtr oldBodyProc = SetWindowLong(handle for "Internet Explorer_Server", GWLP_WNDPROC, newBodyProc);
private int BodyProc(IntPtr hWnd, int Msg, int wParam, int lParam)
{
switch (Msg)
{
msgs to be filtered....
}
}