Notices

Themes and Skins This forum is for talking about and exchanging themes and skins for PDAs and Axims.

Reply
 
LinkBack Thread Tools
Old 03-30-07, 01:20 PM   #1 (permalink)
Aximsite Prospect
 
Join Date: Mar 2007
Posts: 6
Thanked 0 Times in 0 Posts
Question Using a DLL to change my Theme on Windows Mobile 5

Hey guys,
So I am trying to use a DLL to install a custom Today Theme into a Windows Mobile 5 Device.

I used the code from this old post:
http://www.pocketpcdn.com/articles/c...odaytheme.html

But this won't work for Windows Mobile 5 anymore. I have a hunch that I need to alter some additional registry, but I have no idea what. Or maybe I need to send out a different kind of broadcast message to inform the OS that the Theme has changed and a new one should be used instead.

When I use the code from the old post, the actual registry value is correctly changed. But the theme doesn't change, even after I reset my unit.

I have also read that very helpful post by Menneisyys

http://www.aximsite.com/boards/showthread.php?p=799332

Kudos for taking the time to make such a high quality post!

Can anyone help me out? I have been working on this bloody bug for a week now
orconquest is offline   Reply With Quote
Sponsor Ads
Old 03-30-07, 07:24 PM   #2 (permalink)
Aximsite Prospect
 
Join Date: Mar 2007
Posts: 6
Thanked 0 Times in 0 Posts
So the basic problem is that I need to send out a new message to tell the OS read the new values from the registry. Does anyone know what call I need to make to update registry values?
orconquest is offline   Reply With Quote
Old 03-31-07, 01:41 AM   #3 (permalink)
BenThon
Guest
 
Posts: n/a
It seems that the SendMessage(HWND_BROADCAST, WM_WININICHANGE, 0xF2, 0) is not taken in account.

Try to set some dummy BaseHue in registry at the end of your function :

HKEY LOCAL MACHINE\ Software\Microsoft\Color\BaseHue

I have experimented this with my program ThemeGenCE when PDA is connected with ActiveSync. Modifiing Basehue forces Windows Mobile to refresh screen.
You can have a try with ThemeGenCE for direct interaction with PDA screen, only by modifiing BaseHue (fourth tab of main page -WM5-, WM5 button, interact with PDA checked and moving BaseHue on color scale)
  Reply With Quote
Old 04-01-07, 12:33 AM   #4 (permalink)
Aximsite Prospect
 
Join Date: Mar 2007
Posts: 6
Thanked 0 Times in 0 Posts
I will give that a try when I get back to work monday. But I will add that I did try to edit that BaseHue registry using a registry editor, and it did change the tool bar color but not the today theme.

I will try it in code and see if it works differently.

I still believe there is some special command I need to give to update the theme. I have a theme generator program and it somehow forced the theme to change after it it run. If I could only figure out what that program calls, i will be set!
orconquest is offline   Reply With Quote
Reply

Tags
change, dll, mobile, theme, windows

Sponsor Ads

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Will Windows Mobile 5 (WM5) themes work in Windows Mobile 6(WM6) wmpower Windows Mobile 6 and 6.1 3 07-30-08 10:09 PM
Windows Mobile 5 Theme? Awesoft Themes and Skins 8 12-07-05 05:54 PM
Windows Mobile 2003 SE and Windows Mobile 5.0 on X50v althlon Windows Mobile 5 11 07-17-05 10:06 AM
How often do you change your theme? Dag Themes and Skins 7 02-25-05 02:54 AM
How to change theme? BrennenBogle X50 / X51 Forums 5 12-28-04 04:58 PM


All times are GMT -5. The time now is 05:09 AM.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2003-09 LeckMedia, LLC