Bug 37457 - There is no way to catch WM_SETTINGCHANGE event for SWT client
Summary: There is no way to catch WM_SETTINGCHANGE event for SWT client
Status: RESOLVED DUPLICATE of bug 13813
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows All
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Steve Northover CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 61445
  Show dependency tree
 
Reported: 2003-05-09 21:31 EDT by Masaki Saitoh CLA
Modified: 2004-05-11 17:09 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Saitoh CLA 2003-05-09 21:31:52 EDT
When you chnage system settings on Control Panel, WM_SETTINGCHANGE event is
passed to Control.  However the event is never route to our SWT client.
Without the event, our application can not apply new settings dynamically 
because resources such as color, font are usually cached in an applicaton.
If the event occured, it should be passed to some listener.
Comment 1 Steve Northover CLA 2003-05-14 16:29:54 EDT
For now, always query the system colors and fonts and your application will 
always draw correctly.  StyledText does this.
Comment 2 Masaki Saitoh CLA 2003-05-16 08:33:25 EDT
I understand your suggestion.
However I am interested in regional setting change event as well.
It would be nice if SWT notifies SETTINGCHANGE_EVENT to the client though
I know you need to care about all the platform not only Windows.
Do you have any plan to enhance on this?
Comment 3 Steve Northover CLA 2003-05-16 10:16:00 EDT
It's not on any plan right now.
Comment 4 Steve Northover CLA 2004-05-11 17:09:50 EDT

*** This bug has been marked as a duplicate of 13813 ***