Closed
Bug 322869
Opened 20 years ago
Closed 4 years ago
OS chrome isn't correctly hidden
Categories
(Core :: Widget: Win32, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: neil, Unassigned)
Details
Steps to reproduce problem:
1. Create a window of a given width and height
2. Enable transparency
Now, this hides the OS chrome, but improperly, so events still use old client coordinates. The problem is not normally apparent as normally the window's final size is determined after it has been made transparent, and this resize causes a WM_NCCALCSIZE message to be sent, which recalculates the client area.
I believe there is a windows API that forces a WM_NCCALCSIZE message, although I forget whether it is RedrawWindow or SetWindowPos or something else.
Comment 1•20 years ago
|
||
After playing with SetWindowLong you should use:
SetWindowPos(hwnd, 0, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER |
SWP_FRAMECHANGED);
Comment 2•17 years ago
|
||
Neil, would you still consider this to be a valid bug? If not, we'd like to close it out.
| Reporter | ||
Comment 3•17 years ago
|
||
It's still technically valid as per comment #1, although I don't remember whether we're "lucky" in that we call SetWindowPos anyway at some point.
Updated•17 years ago
|
Assignee: win32 → jmathies
Updated•16 years ago
|
QA Contact: ian → win32
Updated•15 years ago
|
Assignee: jmathies → nobody
Comment 4•4 years ago
|
||
This is presumed fixed, or no longer applicable.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•