Closed Bug 15151 Opened 25 years ago Closed 25 years ago

Client Edge may be wrong for top-level windows

Categories

(SeaMonkey :: General, defect, P3)

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: michael.j.lowe, Assigned: kmcclusk)

Details

(Whiteboard: Have fix in my tree)

Attachments

(1 file)

Rod,

Don't know if you are right person for this, but top level windows currently
have a client edge style.    They should really be changed to non-client windows
by adding the following style:  WS_EX_WINDOWEDGE (I think - haven't tested it
so no guarantees)

This would allow the XUL chrome to merge into the edge of the native window
instead of seeming sunk beneath it.
Assignee: don → rods
Summary: Client Edge may be wrong for top-level windows
added summary
I am not sure I understand what exactly neto be fixed. When a window is created
that is a popup its styles are set to:

extendedStyle = WS_EX_TOPMOST;
style = WS_POPUP;

Which means WS_EX_WINDOWEDGE is not set, in fact I unset WS_EX_WINDOWEDGE and
nothing seemed to change.

Could you explain more? Thanks.
Attached image Screenshot
Ok, by top level windows I actually mean the main browser/mailnews/editor
windows.   After comparing the window styles of these windows with those from
4.x I see that the main difference is that WS_EX_WINDOWEDGE is not set, which
probably leads to the sunken look I mentioned previously (and should be visible
in the attached screenshot).   I don't have the time to mess around with the
code at present, but hopefully you or someone else could have a look at this and
see what they can come up with.   It is just a minor visual problem, but it has
been annoying me for some time.
Assignee: rods → kmcclusk
Kevin, could you take a look at this since you were recently working nsWindow
with some of these flags?
Whiteboard: Have fix in my tree
Changing to WS_EX_WINDOWEDGE.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Fixed in Oct 11, 1999 5:17PM build.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: