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

MSBuild Build same DLL with two different projects
ILMerge.Merge: ERROR
Draw text centered in a ellipse/circle in winforms application
c# android bluetooth get socket from connected device
How to make a field auto populate in C# Visual Studio?
C# destructors and GC not really solving problems compared to C++ destructors
How to count occurences of a char in a big (5+ GBs) file using C#?
Confused about backgroundworker not stopping when expected
Ignore paging limit for Azure Mobile Service in a Universal app (UWP)
How to add object to list item in c#
Handling .NET events in COM / VBA
Reading specific XML parameter
c# charting - access from other thread exception
Using Bus.Send() and using API services inside Saga Handler
How do you place Banner Ads or Interstitial Ads in Windows Forms
C# Create a Rectangle class that holds width and height.

Categories

HOME
repository
model-view-controller
itunesconnect
process
python-requests
latex
liquibase
x86-64
spotfire
azure-resource-manager
lithium
collision-detection
doctrine2
solidity
chef-recipe
camunda
taxonomy
reportlab
filehelpers
windows-phone
accordion
vala
smali
fastboot
onclicklistener
rvm
prepros
ps
waterfall
sha
visual-studio-community
adobe-captivate
typeclass
kundera
overflow
log4net-configuration
choco
fastadapter
hippocms
office-interop
socketcluster
susy
mtm
php-mongodb
wufoo
qtwebkit
spring-data-commons
infovis
spring-cloud-bus
openidm
node-java
ajv
codesniffer
disassembly
ios-keyboard-extension
pyautogui
breadcrumbs
blackberry-webworks
android-tabs
hdr
csc
android-xmlpullparser
vitamio
jde
razorengine
abstract
dynamics-nav-2013
computability
commercetools
exchange-server-2007
gmaps4jsf
nexusdb
mri
conkeror
iphone-6
system.io.packaging
growl
yosemite
dotcmis
serializer
amzi-prolog
ant-contrib
satisfiability
sqldatasource
elixir-framework
iwork
slimscroll
infor-eam
nsnumber
uikit-dynamics
coinbase-php
nsregularexpression
gssapi
junit-rule
inflate
doxia
certificate-revocation
filedialog
django-1.4
stl-algorithm
joomla1.7
clgeocoder
nbehave
lwp
activescaffold
table-valued-parameters
versions
large-data-volumes
data-formats
retrospectiva
djangoappengine
scala-designer
file-icons
asp.net-1.1

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