diff options
| author | Manolo Gouy <Manolo> | 2015-11-23 21:30:19 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2015-11-23 21:30:19 +0000 |
| commit | de37feb6b14b475451a3aa02f5314ec647fcedfb (patch) | |
| tree | bb0a5485857dea44dba4df1918f5669835717ad5 /examples/README.examples | |
| parent | 511ec0bb3dcddcb013873fa69d51d2059aed9b0c (diff) | |
WIN32: fixed printing of window borders and title bar on Windows 10
by Fl_Paged_Device::print_window(). The GetWindowRect()
function gives inadequate results on Windows 10. DwmGetWindowAttributes()
from dwmapi.dll gives adequate results. This new function is dynamically
loaded at run-time, when dwmapi.dll is available.
On Windows XP, dwmapi.dll is not available.
On Windows 7, DwmGetWindowAttributes() returns with error, so GetWindowRect()
is used.
On Windows 10, DwmGetWindowAttributes() computes the correct window full rectangle.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10921 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'examples/README.examples')
0 files changed, 0 insertions, 0 deletions
