It's a useful operation to close tab by double
clicking on a tab, since there is a operation to add
new page by double clicking on nontab area on tabline.
___________________________________________________________
雅虎1G免费邮箱百分百防垃圾信
http://cn.mail.yahoo.com/
3967a3968,3981
> WNDPROC TabProc;
>
> static LRESULT CALLBACK
> MyTabProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
> {
> if (uMsg == WM_LBUTTONDBLCLK)
> {
> send_tabline_menu_event(0, TABLINE_MENU_CLOSE);
> return 0;
> }
>
> return CallWindowProc(TabProc, hWnd, uMsg, wParam, lParam);
> }
>
3981a3996,3997
> TabProc = (WNDPROC)SetWindowLong(s_tabhwnd, GWL_WNDPROC, (LONG)MyTabProc);
>