summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d893a6c)
Desktop window was treated as possible to resize.
Fix for
7e396787
CORE-15624
PWND topWnd = UserGetWindowObject(hwndTop);
if (topWnd)
{
PWND topWnd = UserGetWindowObject(hwndTop);
if (topWnd)
{
+ if ((topWnd->style & WS_THICKFRAME) == 0)
+ {
+ return 0;
+ }
+
if (wParam == VK_DOWN)
{
if (topWnd->style & WS_MAXIMIZE)
if (wParam == VK_DOWN)
{
if (topWnd->style & WS_MAXIMIZE)
if (msg.message == WM_LBUTTONUP)
{
// check for snapping if was moved by caption
if (msg.message == WM_LBUTTONUP)
{
// check for snapping if was moved by caption
- if (hittest == HTCAPTION)
+ if (hittest == HTCAPTION && thickframe && (ExStyle & WS_EX_MDICHILD) == 0)
{
RECT snapRect;
BOOL doSideSnap = FALSE;
{
RECT snapRect;
BOOL doSideSnap = FALSE;
case HTBOTTOM:
{
RECT sizingRect = pWnd->rcWindow, mouseRect;
case HTBOTTOM:
{
RECT sizingRect = pWnd->rcWindow, mouseRect;
+
+ if (pWnd->ExStyle & WS_EX_MDICHILD)
+ break;
+
UserSystemParametersInfo(SPI_GETWORKAREA, 0, &mouseRect, 0);
co_WinPosSetWindowPos(pWnd,
UserSystemParametersInfo(SPI_GETWORKAREA, 0, &mouseRect, 0);
co_WinPosSetWindowPos(pWnd,