diff options
author | Jonathan Liu <net147@gmail.com> | 2012-06-12 11:50:03 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-15 07:55:25 (GMT) |
commit | f48918b7f32179ab034bdc5157876e230d70ba3e (patch) | |
tree | 296238e0340a6efcfda74543a35fa13c0705a346 /tools/runonphone | |
parent | 7be0b570edf8db12fd541bdaa530b2defde71fa2 (diff) | |
download | Qt-f48918b7f32179ab034bdc5157876e230d70ba3e.zip Qt-f48918b7f32179ab034bdc5157876e230d70ba3e.tar.gz Qt-f48918b7f32179ab034bdc5157876e230d70ba3e.tar.bz2 |
QWizard/Win: Handle hit testing correctly for Vista style
Clicking the area just below the close button when Aero is enabled
reveals duplicate caption buttons. DwmDefWindowProc returns hit results
for DWM caption buttons but DefWindowProc may also return hit results
for non-DWM caption buttons.
To resolve this issue, if DefWindowProc returns a window button hit
result then we just use HTCLIENT (the client area) as the hit result
instead.
Change-Id: Ia741ce4f9aa944109d8de54c2f84009f5ea1883f
(cherry picked from commit 9ab445d264fbcf57c48374526905a2f870de06a3)
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'tools/runonphone')
0 files changed, 0 insertions, 0 deletions