Changeset 656
- Timestamp:
- Aug 24, 1999, 1:45:27 PM (26 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/changelog ¶
r654 r656 1 /* $Id: changelog,v 1.128 1999-08-24 09:19:39 sandervl Exp $ */ 1 /* $Id: changelog,v 1.129 1999-08-24 11:45:27 phaller Exp $ */ 2 3 99-08-24: Patrick Haller <phaller@gmx.net> 4 - USER32: added extended Open32 WinX control styles (OS2CTLWX) 2 5 3 6 99-08-24: Sander van Leeuwen <sandervl@xs4all.nl> -
TabularUnified trunk/src/user32/dlgconvert.cpp ¶
r549 r656 1 /* $Id: dlgconvert.cpp,v 1. 8 1999-08-18 17:17:04 sandervlExp $ */1 /* $Id: dlgconvert.cpp,v 1.9 1999-08-24 11:42:19 phaller Exp $ */ 2 2 3 3 /* … … 17 17 #define INCL_DOSMISC /* DOS Miscellanous values */ 18 18 #define INCL_WIN 19 20 #define INCL_WINLISTBOXES /* List box controls */ 21 #define INCL_WINSTDFIND /* standard find/replace dialogs */ 22 #define INCL_WINSTDCOLOR /* standard color dialog */ 23 #define INCL_WINSTDPRINT /* standard print dialog */ 24 #define INCL_WINSTDMLE /* Multiple Line Edit */ 25 26 #include <os2ctlwx.h> /* support for Open32 WinX styles */ 27 19 28 #include <os2wrap.h> //Odin32 OS/2 api wrappers 20 29 #include <stdio.h> … … 725 734 // if(style & WINES_LOWERCASE) os2style |= ; 726 735 // if(style & WINES_PASSWORD) os2style |= ; 727 // if(style & WINES_AUTOVSCROLL) os2style |=;736 if(style & WINES_AUTOVSCROLL) os2style |= MLS_VSCROLL; 728 737 // if(style & WINES_AUTOHSCROLL) os2style |= ; // @@@PH: experiment 729 738 // if(style & WINES_NOHIDESEL) os2style |= ; 730 739 // if(style & WINES_OEMCONVERT) os2style |= ; 731 740 if(style & WINES_READONLY) os2style |= MLS_READONLY; 732 // if(style & WINES_WANTRETURN) os2style |=;741 if(style & WINES_WANTRETURN) os2style |= MLS_WANTRETURN; 733 742 // if(style & WINES_NUMBER) os2style |= ; 734 743 if(style & WINWS_BORDER) os2style |= MLS_BORDER; // @@@PH: experiment … … 791 800 case WIN_LISTBOX: 792 801 *os2class = (int)WC_LISTBOX & 0xFFFF; 793 // if(style & WINLBS_NOTIFY) os2style |=;802 if(style & WINLBS_NOTIFY) os2style |= LS_NOTIFY; 794 803 // if(style & WINLBS_SORT) os2style |= ; 795 804 // if(style & WINLBS_NOREDRAW) os2style |= ; 796 805 if(style & WINLBS_MULTIPLESEL) os2style |= LS_MULTIPLESEL; 797 806 if(style & WINLBS_OWNERDRAWFIXED) os2style |= LS_OWNERDRAW; //TODO: Correct? 798 if(style & WINLBS_OWNERDRAWVARIABLE) os2style |= LS_OWNERDRAW; //TODO: Correct? 799 // if(style & WINLBS_HASSTRINGS) os2style |= ; 800 // if(style & WINLBS_USETABSTOPS) os2style |= ; 807 if(style & WINLBS_OWNERDRAWVARIABLE) os2style |= LS_OWNERDRAWVARIABLE; //TODO: Correct? 808 if(style & WINLBS_HASSTRINGS) os2style &= ~LS_NOSTRINGS; 809 else os2style |= LS_NOSTRINGS; 810 if(style & WINLBS_USETABSTOPS) os2style |= LS_TABSTOPS; 801 811 // if(style & WINLBS_NOINTEGRALHEIGHT) os2style |= ; 802 812 // if(style & WINLBS_MULTICOLUMN) os2style |= ; 803 813 // if(style & WINLBS_WANTKEYBOARDINPUT) os2style |= ; 804 //if(style & WINLBS_EXTENDEDSEL) os2style |= LS_EXTENDEDSEL;814 if(style & WINLBS_EXTENDEDSEL) os2style |= LS_EXTENDEDSEL; 805 815 // if(style & WINLBS_DISABLENOSCROLL) os2style |= ; 806 816 // if(style & WINLBS_NODATA) os2style |= ; … … 829 839 else 830 840 if(style & WINCBS_DROPDOWNLIST) os2style |= CBS_DROPDOWNLIST; 831 // if(style & WINCBS_OWNERDRAWFIXED) os2style |= ; 832 // if(style & WINCBS_OWNERDRAWVARIABLE) os2style |= ; 841 842 if(style & WINCBS_OWNERDRAWFIXED) os2style |= CBS_OWNERDRAW; 843 if(style & WINCBS_OWNERDRAWVARIABLE) os2style |= CBS_OWNERDRAWVARIABLE; 833 844 // if(style & WINCBS_AUTOHSCROLL) os2style |= ; 834 845 // if(style & WINCBS_OEMCONVERT) os2style |= ; 835 846 // if(style & WINCBS_SORT) os2style |= ; 836 // if(style & WINCBS_HASSTRINGS) os2style |= ; 847 if(style & WINCBS_HASSTRINGS) os2style &= ~CBS_NOSTRINGS; 848 else os2style |= CBS_NOSTRINGS; 837 849 // if(style & WINCBS_NOINTEGRALHEIGHT) os2style |= ; 838 850 // if(style & WINCBS_DISABLENOSCROLL) os2style |= ;
Note:
See TracChangeset
for help on using the changeset viewer.