Changeset 166 for trunk/src/helpers/winh.c
- Timestamp:
- May 29, 2002, 10:51:13 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/winh.c
r165 r166 3628 3628 USHORT usIDFirst, // in: first affected control ID 3629 3629 USHORT usIDLast, // in: last affected control ID (inclusive) 3630 BOOL fEnable) 3630 BOOL fEnable) // in: enable or disable? 3631 3631 { 3632 3632 HENUM henum1 = NULLHANDLE; … … 3658 3658 WinEndEnumWindows(henum1); 3659 3659 return (ulCount); 3660 } 3661 3662 /* 3663 *@@ winhEnableControls2: 3664 * like winhEnableControls, but instead this 3665 * takes an array of ULONGs as input, which 3666 * is assumed to contain the dialog IDs of 3667 * the controls to be enabled/disabled. 3668 * 3669 *@@added V0.9.19 (2002-05-28) [umoeller] 3670 */ 3671 3672 ULONG winhEnableControls2(HWND hwndDlg, // in: dialog window 3673 const ULONG *paulIDs, // in: array of dialog IDs 3674 ULONG cIDs, // in: array item count (NOT array size) 3675 BOOL fEnable) // in: enable or disable? 3676 { 3677 ULONG ul, 3678 ulrc = 0; 3679 for (ul = 0; 3680 ul < cIDs; 3681 ++ul) 3682 { 3683 if (WinEnableControl(hwndDlg, paulIDs[ul], fEnable)) 3684 ++ulrc; 3685 } 3686 3687 return ulrc; 3660 3688 } 3661 3689
Note:
See TracChangeset
for help on using the changeset viewer.