- Timestamp:
- Jan 14, 2001, 6:15:47 PM (25 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/listbox.cpp
r3584 r4945 1 /* $Id: listbox.cpp,v 1.2 5 2000-05-22 17:21:08 cbratschiExp $ */1 /* $Id: listbox.cpp,v 1.26 2001-01-14 17:15:46 sandervl Exp $ */ 2 2 /* 3 3 * Listbox controls … … 1724 1724 else /* not a directory */ 1725 1725 { 1726 #ifdef __WIN32OS2__ 1726 1727 #define ATTRIBS (FILE_ATTRIBUTE_READONLY | FILE_ATTRIBUTE_HIDDEN | \ 1727 FILE_ATTRIBUTE_SYSTEM | FILE_ATTRIBUTE_ARCHIVE) 1728 FILE_ATTRIBUTE_SYSTEM | FILE_ATTRIBUTE_ARCHIVE | FILE_ATTRIBUTE_NORMAL) 1729 #else 1730 #define ATTRIBS (FILE_ATTRIBUTE_READONLY | FILE_ATTRIBUTE_HIDDEN | \ 1731 FILE_ATTRIBUTE_SYSTEM | FILE_ATTRIBUTE_ARCHIVE ) 1732 #endif 1728 1733 1729 1734 if ((attrib & DDL_EXCLUSIVE) && … … 2956 2961 if( descr ) 2957 2962 { 2958 LRESULT lRet = LISTBOX_Directory( lphc->hwndself, descr, attrib, dir, bLong ); 2963 #ifdef __WIN32OS2__ 2964 //bugfix 2965 LRESULT lRet = LISTBOX_Directory( lphc->hWndLBox, descr, attrib, dir, bLong ); 2966 #else 2967 LRESULT lRet = LISTBOX_Directory( lphc->hwndself, descr, attrib, dir, bLong ); 2968 #endif 2959 2969 2960 2970 RedrawWindow( lphc->hwndself, NULL, 0, -
trunk/src/user32/pmwindow.cpp
r4848 r4945 1 /* $Id: pmwindow.cpp,v 1.11 1 2000-12-29 18:39:58sandervl Exp $ */1 /* $Id: pmwindow.cpp,v 1.112 2001-01-14 17:15:46 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 166 166 goto RunDefWndProc; 167 167 } 168 //// if(teb->o.odin.fIgnoreMsgs) { 169 //// goto RunDefWndProc; 170 //// } 168 171 169 172 if((teb->o.odin.msgstate & 1) == 0) … … 988 991 goto RunDefFrameWndProc; 989 992 } 993 //// if(teb->o.odin.fIgnoreMsgs) { 994 //// goto RunDefWndProc; 995 //// } 990 996 991 997 if((teb->o.odin.msgstate & 1) == 0) -
trunk/src/user32/win32wbase.cpp
r4848 r4945 1 /* $Id: win32wbase.cpp,v 1.22 8 2000-12-29 18:39:59sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.229 2001-01-14 17:15:47 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 2221 2221 RECT oldClientRect = rectClient; 2222 2222 2223 if(getWindowHandle() == 0x68000010) { 2224 hParent = 0; 2225 } 2223 2226 if (fuFlags & 2224 2227 ~(SWP_NOSIZE | SWP_NOMOVE | SWP_NOZORDER | … … 2385 2388 2386 2389 MsgFormatFrame(NULL); 2390 2387 2391 if(RECT_WIDTH(rectClient) != RECT_WIDTH(*oldClientRect) || 2388 2392 RECT_HEIGHT(rectClient) != RECT_HEIGHT(*oldClientRect)) 2389 2393 { 2390 wpos->flags &= ~SWP_NOSIZE; 2394 wpos->flags &= ~(SWP_NOSIZE|SWP_NOCLIENTSIZE); 2395 wpos->cx = RECT_WIDTH(rectWindow); 2396 wpos->cy = RECT_HEIGHT(rectWindow); 2397 } 2398 2399 if(rectClient.left != oldClientRect->left || 2400 rectClient.top != oldClientRect->top) 2401 { 2402 wpos->flags &= ~(SWP_NOMOVE|SWP_NOCLIENTMOVE); 2403 wpos->x = rectWindow.left; 2404 wpos->y = rectWindow.top; 2391 2405 } 2392 2406 -
trunk/src/user32/win32wbasepos.cpp
r4452 r4945 1 /* $Id: win32wbasepos.cpp,v 1.1 7 2000-10-08 14:03:49sandervl Exp $ */1 /* $Id: win32wbasepos.cpp,v 1.18 2001-01-14 17:15:47 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 (nonclient/position methods) … … 133 133 NCCALCSIZE_PARAMS params; 134 134 WINDOWPOS winposCopy; 135 LONG result ;135 LONG result = 0; 136 136 137 137 /* Send WM_NCCALCSIZE message to get new client area */ 138 //if((winpos->flags & (SWP_FRAMECHANGED | SWP_NOSIZE)) != SWP_NOSIZE )139 //{138 if((winpos->flags & (SWP_FRAMECHANGED | SWP_NOSIZE)) != SWP_NOSIZE ) 139 { 140 140 params.rgrc[0] = *newWindowRect; 141 141 if(calcValidRect) … … 167 167 winpos->flags &= ~SWP_NOCLIENTSIZE; 168 168 169 //}170 //else171 //if(!(winpos->flags & SWP_NOMOVE) &&172 //(newClientRect->left != rectClient.left || newClientRect->top != rectClient.top)) {173 //winpos->flags &= ~SWP_NOCLIENTMOVE;174 //}169 } 170 else 171 if(!(winpos->flags & SWP_NOMOVE) && 172 (newClientRect->left != rectClient.left || newClientRect->top != rectClient.top)) { 173 winpos->flags &= ~SWP_NOCLIENTMOVE; 174 } 175 175 return result; 176 176 } -
trunk/src/user32/windowword.cpp
r2803 r4945 1 /* $Id: windowword.cpp,v 1. 8 2000-02-16 14:28:27 sandervl Exp $ */1 /* $Id: windowword.cpp,v 1.9 2001-01-14 17:15:47 sandervl Exp $ */ 2 2 3 3 /* … … 30 30 } 31 31 else { 32 dprintf(("SetWindowLongA ; window %x not found!", hwnd));32 dprintf(("SetWindowLongA %d %x; window %x not found!", nIndex, lNewLong, hwnd)); 33 33 } 34 34 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.