Ignore:
Timestamp:
Jun 28, 2001, 7:19:16 PM (24 years ago)
Author:
umoeller
Message:

Many misc updates.

File:
1 edited

Legend:

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

    r81 r84  
    8686        #define WinSendMsg(a,b,c,d) winhSendMsg((a),(b),(c),(d))
    8787
     88        MRESULT XWPENTRY winhSendDlgItemMsg(HWND hwnd, ULONG id, ULONG msg, MPARAM mp1, MPARAM mp2);
     89        #define WinSendDlgItemMsg(a,b,c,d,e) winhSendDlgItemMsg((a),(b),(c),(d),(e))
     90
    8891        BOOL XWPENTRY winhPostMsg(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
    8992        #define WinPostMsg(a,b,c,d) winhPostMsg((a),(b),(c),(d))
     
    122125    WinMessageBox(HWND_DESKTOP, HWND_DESKTOP, ((PSZ)text), ((PSZ)title), 0, MB_YESNO | MB_ICONQUESTION | MB_MOVEABLE)
    123126
    124     // made these functions V0.9.12 (2001-05-18) [umoeller]
    125     /* #define winhSetDlgItemChecked(hwnd, id, bCheck) \
     127    #define winhSetDlgItemChecked(hwnd, id, bCheck) \
    126128            WinSendDlgItemMsg((hwnd), (id), BM_SETCHECK, MPFROMSHORT(bCheck), MPNULL)
    127129    #define winhIsDlgItemChecked(hwnd, id) \
    128130            (SHORT1FROMMR(WinSendDlgItemMsg((hwnd), (id), BM_QUERYCHECK, MPNULL, MPNULL)))
    129        */
    130131
    131132    #define winhSetMenuItemChecked(hwndMenu, usId, bCheck) \
     
    159160     *
    160161     ********************************************************************/
    161 
    162     BOOL XWPENTRY winhSetDlgItemChecked(HWND hwnd, SHORT id, SHORT bCheck);
    163 
    164     SHORT XWPENTRY winhIsDlgItemChecked(HWND hwnd, SHORT id);
    165162
    166163    BOOL XWPENTRY winhEnableDlgItem(HWND hwndDlg, SHORT id, BOOL fEnable);
     
    295292                                              ULONG ulTickCount);
    296293
    297     BOOL winhSetSliderTicks(HWND hwndSlider,
    298                             MPARAM mpEveryOther1,
    299                             ULONG ulPixels1,
    300                             MPARAM mpEveryOther2,
    301                             ULONG ulPixels2);
     294    BOOL XWPENTRY winhSetSliderTicks(HWND hwndSlider,
     295                                     MPARAM mpEveryOther1,
     296                                     ULONG ulPixels1,
     297                                     MPARAM mpEveryOther2,
     298                                     ULONG ulPixels2);
     299    typedef BOOL XWPENTRY WINHSETSLIDERTICKS(HWND hwndSlider,
     300                                             MPARAM mpEveryOther1,
     301                                             ULONG ulPixels1,
     302                                             MPARAM mpEveryOther2,
     303                                             ULONG ulPixels2);
     304    typedef WINHSETSLIDERTICKS *PWINHSETSLIDERTICKS;
    302305
    303306    /*
Note: See TracChangeset for help on using the changeset viewer.