Viktor Szakats 4b7dad32fe 2010-01-23 14:05 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/hbwapi.h
  * contrib/hbwin/wapi_alloc.c
  * contrib/hbwin/wapi_wingdi.c
  * contrib/hbwin/tests/testgdi.prg
    + Reworked the way DEVMODE structure is handled. As many winapi
      interfacing methods, this is also a strange beast, it contains
      some hidden information, so it must be created using some
      winapi calls. I finally settled with these three functions
      to handle DEVMODE structure from .prg level:
         __WAPI_DEVMODE_NEW( <cPrinterName> ) => <pDEVMODE>
         __WAPI_DEVMODE_SET( <pDEVMODE>, <hashToWriteFrom> )
         __WAPI_DEVMODE_GET( <pDEVMODE>, <hashToReadInto> )
      Then <pDEVMODE> can be passed to WAPI_CREATEDC() and WAPI_RESETDC().
      Remember to recreate <pDEVMODE> after using __WAPI_DEVMODE_SET()
      and before using __WAPI_DEVMODE_GET() to refresh the structure
      content with actual device settings.
2010-01-23 13:05:50 +00:00
Description
Harbour Core — Reference source for Five development
172 MiB
Languages
C 80.3%
xBase 17.8%
Makefile 0.6%
C++ 0.4%
Harbour 0.4%
Other 0.3%