Changeset 166 for trunk/include/helpers


Ignore:
Timestamp:
May 29, 2002, 10:51:13 AM (23 years ago)
Author:
umoeller
Message:

Bunch of fixes.

Location:
trunk/include/helpers
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/helpers/dialog.h

    r165 r166  
    404404            id, CTL_COMMON_FONT, 0, {cx, cy}, COMMON_SPACING, pctldata }
    405405
     406    #define CONTROLDEF_VSLIDER(id, cx, cy, pctldata) { WC_SLIDER, NULL, \
     407            WS_VISIBLE | WS_TABSTOP | WS_GROUP | SLS_VERTICAL | SLS_PRIMARYSCALE1 \
     408            | SLS_BUTTONSRIGHT | SLS_SNAPTOINCREMENT, \
     409            id, CTL_COMMON_FONT, 0, {cx, cy}, COMMON_SPACING, pctldata }
     410
    406411    /* ******************************************************************
    407412     *
  • trunk/include/helpers/except.h

    r164 r166  
    154154        #define TRY_LOUD(excptstruct)
    155155    #else
     156        #ifdef __NO_LOUD_EXCEPTION_HANDLERS__
     157            #define TRY_LOUD(e) TRY_QUIET(e)
     158        #else // __NO_LOUD_EXCEPTION_HANDLERS__
    156159        #define TRY_LOUD(excptstruct)                                           \
    157160                {                                                               \
     
    169172                    {
    170173
     174        #endif // __NO_LOUD_EXCEPTION_HANDLERS__
    171175    #endif
    172176
  • trunk/include/helpers/winh.h

    r159 r166  
    107107        #define WinSetDlgItemText(a,b,c) winhSetDlgItemText((a),(b),(c))
    108108
     109        // pmwin.h defines the WinEnableControl macro; turn this into our function call
     110        #ifdef WinEnableControl
     111            #undef WinEnableControl
     112        #endif
     113        #define WinEnableControl(hwndDlg, id, fEnable) winhEnableDlgItem((hwndDlg), (id), (fEnable))
     114
    109115        #ifdef INCL_WINMESSAGEMGR
    110116            APIRET XWPENTRY winhRequestMutexSem(HMTX hmtx, ULONG ulTimeout);
     
    798804                                      BOOL fEnable);
    799805
     806    ULONG winhEnableControls2(HWND hwndDlg,
     807                              const ULONG *paulIDs,
     808                              ULONG cIDs,
     809                              BOOL fEnable);
     810
    800811    HWND XWPENTRY winhCreateStdWindow(HWND hwndFrameParent,
    801812                                      PSWP pswpFrame,
Note: See TracChangeset for help on using the changeset viewer.