Draw themed size gripper
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7023 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
2502961051
commit
8de43bfab1
4 changed files with 44 additions and 3 deletions
|
@ -84,10 +84,12 @@ bool OpenUrlInDefaultBrowser(HWND hwnd, LPCSTR Url);
|
|||
HMENU FindSubMenu(HMENU hMenu, UINT uId);
|
||||
HFONT CreateFont(int Height, int Weight, DWORD PitchAndFamily, LPCTSTR Face);
|
||||
|
||||
inline void GetGripperPos(HWND hwnd, RECT&r)
|
||||
void DrawGripper(HWND hWnd, HDC hDC, const RECT&r);
|
||||
static inline void GetGripperPos(HWND hwnd, RECT&r)
|
||||
{
|
||||
GetClientRect(hwnd, &r);
|
||||
r.left = r.right - GetSystemMetrics(SM_CXVSCROLL);
|
||||
r.top = r.bottom - GetSystemMetrics(SM_CYVSCROLL);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue