- Timestamp:
- May 8, 2002, 5:08:19 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/comctl32/listview.c
r8382 r8394 6350 6350 int nColumnCount = Header_GetItemCount(infoPtr->hwndHeader); 6351 6351 Header_GetItemRect(infoPtr->hwndHeader, nColumnCount-1, &br); 6352 6352 #ifdef __WIN32OS2__ 6353 if(GetWindowLongA(hwnd, GWL_STYLE) & LVS_OWNERDRAWFIXED) 6354 lprc->right = max(lprc->left, br.right); 6355 else 6353 6356 lprc->right = max(lprc->left, br.right - REPORT_MARGINX); 6357 #else 6358 lprc->right = max(lprc->left, br.right - REPORT_MARGINX); 6359 #endif 6354 6360 } 6355 6361 else … … 8875 8881 nmKeyDown.flags = 0; 8876 8882 #ifdef __WIN32OS2__ 8877 if(SendMessageA(hwndParent, WM_NOTIFY, (WPARAM)nCtrlId, (LPARAM)&nmKeyDown) == TRUE) 8878 {//application processed this key press 8879 return 0; 8880 } 8883 if(notify(hwnd, LVN_KEYDOWN, &nmKeyDown.hdr) == TRUE) 8884 return 0; //application processed this key press 8881 8885 #else 8882 8886 notify(hwnd, LVN_KEYDOWN, &nmKeyDown.hdr);
Note:
See TracChangeset
for help on using the changeset viewer.