Changeset 1849 for trunk/src/user32/user32.cpp
- Timestamp:
- Nov 26, 1999, 6:06:09 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/user32.cpp
r1818 r1849 1 /* $Id: user32.cpp,v 1.5 5 1999-11-23 19:34:19 sandervlExp $ */1 /* $Id: user32.cpp,v 1.56 1999-11-26 17:06:08 cbratschi Exp $ */ 2 2 3 3 /* … … 398 398 { 399 399 return LoadCursorA(NULL,lpFileName); 400 } 400 } 401 401 else 402 402 { … … 682 682 683 683 switch(nIndex) { 684 case SM_CXSCREEN: 685 rc = ScreenWidth; 686 break; 687 688 case SM_CYSCREEN: 689 rc = ScreenHeight; 690 break; 691 692 case SM_CXVSCROLL: 693 rc = OSLibWinQuerySysValue(OSLIB_HWND_DESKTOP,SVOS_CXVSCROLL); 694 break; 695 696 case SM_CYHSCROLL: 697 rc = OSLibWinQuerySysValue(OSLIB_HWND_DESKTOP,SVOS_CYHSCROLL); 698 break; 699 700 case SM_CYCAPTION: 701 rc = OSLibWinQuerySysValue(OSLIB_HWND_DESKTOP,SVOS_CYTITLEBAR); 702 break; 703 704 case SM_CXBORDER: 705 rc = 1; 706 break; 707 708 case SM_CYBORDER: 709 rc = 1; 710 break; 711 712 //CB: todo: add missing metrics 713 684 714 case SM_CXICONSPACING: //TODO: size of grid cell for large icons 685 715 rc = OSLibWinQuerySysValue(OSLIB_HWND_DESKTOP,SVOS_CXICON); … … 698 728 rc = FALSE; 699 729 break; 700 case SM_CXEDGE: //size of 3D window edge (not supported)730 case SM_CXEDGE: //size of 3D window edge 701 731 rc = 1; 702 732 break; … … 789 819 rc = 0; 790 820 break; 791 case SM_CXSCREEN:792 793 return ScreenWidth;794 case SM_CYSCREEN:795 return ScreenHeight;796 821 797 822 case SM_CXVIRTUALSCREEN:
Note:
See TracChangeset
for help on using the changeset viewer.