2014-09-01 17:47 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com)
  * contrib/hbwin/wapi_commctrl.c
    * WAPI_TABCTRL_GETITEMRECT() changed to return the rect array
      in 3rd parameter passed by ref, and return a logical value
      indicating success. This way it matches the original Windows API
      function which is a design requirement for WAPI_*() calls.
      [INCOMPATIBLE]

  * contrib/hbwin/hbwin.hbx
  * contrib/hbwin/wapi_winuser_dlg.c
  * contrib/hbwin/wapi_winuser.c
    ! WAPI_SETDLGITEMTEXT() fixed to return logical (was: integer)
      to match Windows API [INCOMPATIBLE]
    + added new WAPI functions:
      wapi_BringWindowToTop()
      wapi_CheckDlgButton()
      wapi_CheckRadioButton()
      wapi_EnableWindow()
      wapi_GetClientRect()
      wapi_IsDlgButtonChecked()
      wapi_MoveWindow()
      wapi_SetParent()
      wapi_SetWindowLongPtr()
      wapi_SetWindowText()

  * contrib/gtwvg/wvgwin.c
  * contrib/gtwvw/combobox.c
  * contrib/gtwvw/editbox.c
  * contrib/gtwvw/hbgtwvw.h
  * contrib/gtwvw/menubar.c
  * contrib/gtwvw/wvwharb.prg
  * contrib/gtwvw/wvwutils.c
    % removed some redundancy by mapping some functions
      to existing copies inside the same project or in hbwin
      GTWVG: WVG_LOWORD(), WVG_HIWORD(), WVG_SETFOREGROUNDWINDOW(), WVG_SLEEP()
      GTWVW: WIN_SETTEXTCOLOR(), WIN_SETBKCOLOR()
    ! WVG_GETDLGITEMTEXT() fixed number of characters returned
    ! WVG_GETDLGITEMTEXT() fixed size of allocated buffer
    ! WVG_SETDCBRUSHCOLOR(), WVG_SETDCPENCOLOR() fixed to always
      return an integer (was: handle)
    ! WVG_SENDCBMESSAGE()/CB_GETLBTEXT fixed memory corruption
      due to wrong buffer size, also fixed number of characters returned
    ! WVW_CBGETCURTEXT(), WVW_EBGETTEXT(), WIN_GETDLGITEMTEXT() fixed number
      of characters returned
    % mapped various GTWVW, GTWVG functions to HBWIN equivalents
      (when built with safe pointers - the default ATM)
      This is an effort to reduce the nearly identical copy/paste
      implementations residing in GTWVG/GTWVW and HBWIN contribs,
      and to have one well-maintained and well-working one only
      in the generic Windows API wrapper namespace.
      Once the unsafe-pointer mode is deleted, the picture (and sources)
      will become much cleaner.
      WARNING: there may be minor differences, f.e. regarding default
               values in some places (MessageBox 1st param), handling
               of invalid parameters, where hbwin may throw and RTE
               in error cases and that the hbwin function _do_ set
               the wapi_GetLastError() value.
      GTWVG:
      WVG_SLEEP()               -> WAPI_SLEEP()
      WVG_SETFOCUS()            -> WAPI_SETFOCUS()
      WVG_SETTEXTCOLOR()        -> WAPI_SETTEXTCOLOR()
      WVG_SETBKCOLOR()          -> WAPI_SETBKCOLOR()
      WVG_SETBKMODE()           -> WAPI_SETBKMODE()
      WVG_GETDIALOGBASEUNITS()  -> WAPI_GETDIALOGBASEUNITS()
      WVG_SETDLGITEMTEXT()      -> WAPI_SETDLGITEMTEXT()
      WVG_GETDLGITEMTEXT()      -> WAPI_GETDLGITEMTEXT()
      WVG_CHECKDLGBUTTON()      -> WAPI_CHECKDLGBUTTON()
      WVG_ISDLGBUTTONCHECKED()  -> WAPI_ISDLGBUTTONCHECKED()
      WVG_CHECKRADIOBUTTON()    -> WAPI_CHECKRADIOBUTTON()
      WVG_GETDLGITEM()          -> WAPI_GETDLGITEM()
      WVG_MESSAGEBOX()          -> WAPI_MESSAGEBOX()
      WVG_MOVEWINDOW()          -> WAPI_MOVEWINDOW()
      WVG_GETDESKTOPWINDOW()    -> WAPI_GETDESKTOPWINDOW()
      WVG_SETPARENT()           -> WAPI_SETPARENT()
      WVG_BRINGWINDOWTOTOP()    -> WAPI_BRINGWINDOWTOTOP()
      WVG_SETFOREGROUNDWINDOW() -> WAPI_BRINGWINDOWTOTOP()
      WVG_SETWINDOWTEXT()       -> WAPI_SETWINDOWTEXT()
      WVG_SETWINDOWLONG()       -> WAPI_SETWINDOWLONGPTR()
      WVG_ISWINDOW()            -> WAPI_ISWINDOW()
      WVG_ENABLEWINDOW()        -> WAPI_ENABLEWINDOW()
      WVG_DESTROYWINDOW()       -> WAPI_DESTROYWINDOW()
      GTWVW:
      WIN_SETMENU()             -> WAPI_SETMENU()
      WIN_SETFOCUS()            -> WAPI_SETFOCUS()
      WVW_SETTEXTCOLOR()        -> WAPI_SETTEXTCOLOR()
      WIN_SETTEXTCOLOR()        -> WAPI_SETTEXTCOLOR()
      WVW_SETBKCOLOR()          -> WAPI_SETBKCOLOR()
      WIN_SETBKCOLOR()          -> WAPI_SETBKCOLOR()
      WVW_SETBKMODE()           -> WAPI_SETBKMODE()
      WIN_SETDLGITEMTEXT()      -> WAPI_SETDLGITEMTEXT()
      WIN_GETDLGITEMTEXT()      -> WAPI_GETDLGITEMTEXT()
      WIN_CHECKDLGBUTTON()      -> WAPI_CHECKDLGBUTTON()
      WIN_ISDLGBUTTONCHECKED()  -> WAPI_ISDLGBUTTONCHECKED()
      WIN_CHECKRADIOBUTTON()    -> WAPI_CHECKRADIOBUTTON()
      WIN_GETDLGITEM()          -> WAPI_GETDLGITEM()
      WIN_MESSAGEBOX()          -> WAPI_MESSAGEBOX()
      WVW_ISWINDOW()            -> WAPI_ISWINDOW()
      WVW_RECTANGLE()           -> WAPI_RECTANGLE()

  * contrib/hbwin/hbwapi.h
    * casts added that will be needed in the future

  * contrib/hbwin/wapi_wingdi.c
    * use hbwapi macro

  * contrib/hbwin/win_misc.c
    * minor cleanup to prev

  * contrib/gtwvg/wnd.prg
    * deleted commented code

  * contrib/gtwvw/tests/inpfocus.prg
    * cleanups