Closed Bug 115753 Opened 23 years ago Closed 23 years ago

NS_THEME_TOOLTIP implementation (Windows)

Categories

(Core Graveyard :: Skinability, enhancement)

x86
Windows XP
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla0.9.8

People

(Reporter: ian, Assigned: hyatt)

References

Details

Attachments

(2 files)

This covers the implementation of NS_THEME_TOOLTIP for XUL and HTML tooltips on
Windows.
Blocks: 117584
Okay, so by the time someone applied and tested this, they could have written 
it. Shut up, I'm just getting my feet wet :)
BP_NORMAL and the three other generic states (hover/active/disabled) should be
renamed to a generic constant, e.g., TS_NORMAL (theme state normal), and that
should just be used rather than TSS_NORMAL and BP_NORMAL.
Here it is cleaned up and tested.  It works, although you don't get the sexy
drop shadows on popups.  I need to figure out how we can just automatically put
drop shadows on popup windows.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.8
Comment on attachment 63600 [details] [diff] [review]
Tested patch (merged in with current tip).

r=bryner
Attachment #63600 - Flags: review+
Comment on attachment 63600 [details] [diff] [review]
Tested patch (merged in with current tip).

sr=sspitzer
Attachment #63600 - Flags: superreview+
Fixed.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winclass_3b1v.asp

Basically, you use RegisterClassEx() to register a class that has WNDCLASSEX
struct with its |style| member having the CS_DROPSHADOW flag set, then you use
CreateWindowEx() and pass it the atom returned by RegisterClassEx() representing
the window style you registered.
QA Contact: pmac
Yes, that worked like a charm.  I'm breaking out the dropshadow stuff into a
separate bug.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: