Better context menus.
[wine.git] / include / nonclient.h
blob8e82b531c1273aed9a993b1f55825e719b098222
1 /*
2 * Window non-client functions definitions
4 * Copyright 1995 Alexandre Julliard
5 */
7 #ifndef __WINE_NONCLIENT_H
8 #define __WINE_NONCLIENT_H
10 #include "win.h"
12 extern LONG NC_HandleNCPaint( HWND hwnd , HRGN clip);
13 extern LONG NC_HandleNCActivate( WND *pwnd, WPARAM16 wParam );
14 extern LONG NC_HandleNCCalcSize( WND *pWnd, RECT *winRect );
15 extern LONG NC_HandleNCHitTest( HWND hwnd, POINT16 pt );
16 extern LONG NC_HandleNCLButtonDown( WND* pWnd, WPARAM16 wParam, LPARAM lParam );
17 extern LONG NC_HandleNCLButtonDblClk( WND *pWnd, WPARAM16 wParam, LPARAM lParam);
18 extern LONG NC_HandleSysCommand( HWND hwnd, WPARAM16 wParam, POINT16 pt );
19 extern LONG NC_HandleSetCursor( HWND hwnd, WPARAM16 wParam, LPARAM lParam );
20 extern void NC_DrawSysButton( HWND hwnd, HDC hdc, BOOL down );
21 extern BOOL NC_DrawSysButton95( HWND hwnd, HDC hdc, BOOL down );
22 extern BOOL NC_GetSysPopupPos( WND* wndPtr, RECT* rect );
24 #endif /* __WINE_NONCLIENT_H */