Ignore:
Timestamp:
Jan 11, 2000, 6:34:44 PM (26 years ago)
Author:
cbratschi
Message:

fixed dialog rect

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/new/win32wbasepos.cpp

    r2396 r2410  
    1 /* $Id: win32wbasepos.cpp,v 1.4 2000-01-10 17:18:11 cbratschi Exp $ */
     1/* $Id: win32wbasepos.cpp,v 1.5 2000-01-11 17:34:44 cbratschi Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2 (nonclient/position methods)
     
    3838#include "pmframe.h"
    3939#include "win32wdesktop.h"
    40 
    41   /* Some useful macros */
    42 #define HAS_DLGFRAME(style,exStyle) \
    43     (((exStyle) & WS_EX_DLGMODALFRAME) || \
    44      (((style) & WS_DLGFRAME) && !((style) & WS_THICKFRAME)))
    45 
    46 #define HAS_THICKFRAME(style,exStyle) \
    47     (((style) & WS_THICKFRAME) && \
    48      !((exStyle) & WS_EX_DLGMODALFRAME))
    49 
    50 #define HAS_THINFRAME(style) \
    51     (((style) & WS_BORDER) || !((style) & (WS_CHILD | WS_POPUP)))
    52 
    53 #define HAS_BIGFRAME(style,exStyle) \
    54     (((style) & (WS_THICKFRAME | WS_DLGFRAME)) || \
    55      ((exStyle) & WS_EX_DLGMODALFRAME))
    56 
    57 #define HAS_ANYFRAME(style,exStyle) \
    58     (((style) & (WS_THICKFRAME | WS_DLGFRAME | WS_BORDER)) || \
    59      ((exStyle) & WS_EX_DLGMODALFRAME) || \
    60      !((style) & (WS_CHILD | WS_POPUP)))
    61 
    62 #define HAS_3DFRAME(exStyle) \
    63     ((exStyle & WS_EX_CLIENTEDGE) || (exStyle & WS_EX_STATICEDGE) || (exStyle & WS_EX_WINDOWEDGE))
    64 
    65 #define HAS_BORDER(style, exStyle) \
    66     ((style & WS_BORDER) || HAS_THICKFRAME(style) || HAS_DLGFRAME(style,exStyle))
    67 
    68 #define IS_OVERLAPPED(style) \
    69     !(style & (WS_CHILD | WS_POPUP))
    70 
    71 #define HAS_MENU()  (!(getStyle() & WS_CHILD) && (GetMenu() != 0))
    7240
    7341/*******************************************************************
Note: See TracChangeset for help on using the changeset viewer.