c#


i want to when user change theme on outlook so instantly change color of task pane and window element like text box, label


I want to when the user changes the theme in outlook so how to instantly change color of the task pane and window elements textbox, label etc.
The Outlook object model doesn't provide anything for that.
You can read the current Office theme in the following windows registry key:
HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Common\Theme
where 15.0 stands for Office 2013 and means the Office version.
The values are:
Blue: 1
Silver: 2
Black: 3
Also Office applications send the WM_MSO_BROADCASTCHANGE message to their top level windows when the current theme is changed. You can register a window for receiving such message using the RegisterWindowMessage function provided by Windows API. See WM_MSO_BROADCASTCHANGE value for more information.

Related Links

Converting Java Generics to C# Generics
C# - HttpWebResponse Header Not Being Set
How can I instantiate this class?
How do I set the Manager Attribute on the UserPrincipal object in Active Directory in C#
using PreSendRequestHeaders Event in global.asax
Assign to class property from XML randomly
Second Level Property Binding exception on Win XP(x86) OS but not Win 7(x64)
Support for multilanguage in ASP.NET
LINQ Select a List of List with DISTINCT
WPF 'Map' control; using canvas to display lots of bitmap images
Event accessing Bitmap while its locked
Is it possible to select the sum of a column, grouping by another column?
Get a File information that is open or not in physically path in asp.net C#
Exposing WPF control as ActiveX control
how to fill webGrid through dropdown selection in mvc 3?
Custom task framework

Categories

HOME
max
postgresql
teradata
sip
oracle-sqldeveloper
formatting
ubuntu-14.04
app-store
comments
open-search-server
sahi
oms
mamp
http-status-codes
minimum
google-closure-compiler
taxonomy
ofbiz
jquery-easyui
alert
udeploy
bootstrap-datetimepicker
url-parameters
webgl-earth
bug-reporting
wai-aria
prepros
ithit-webdav-server
core-animation
pixels
utc
hierarchical-data
spock
paper-trail-gem
schedule
exacttarget
jcr
snapkit
epub
intersection
cocoa-scripting
ape-phylo
amazon-rds-aurora
head
taiga
gridgain
npoco
react.rb
google-cloud-shell
jcs
px4
jenkins-docker
dmalloc
dynatable
robotc
lightspeed
lattice
directinput
turbolinks
firebase-job-dispatcher
papyrus
consolidation
indoor-positioning-system
alfred
git-push
deck.js
init
db2-zos
django-taggit
database-administration
calc
wizard
clear
producer-consumer
taverna
uinavigationitem
euro
optimistic-locking
iphone-6
launcher
kss
drawable
dayofweek
fastcgi-mono-server
panelgrid
windows-scheduler
gpl
algol
cron4j
moonscript
android-memory
django-admin-tools
helicontech
cgaffinetransform
zipstream
designated-initializer
nstoolbar
mysql-logic
glassfish-embedded
uccapi
focus-stealing
content-delivery-network
expander
disk-based
tracd

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App