Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


Reload registry after change?


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-12-2007, 06:52 PM
Junior Member
 
Join Date: May 2007
Posts: 12
Default Reload registry after change?

Hello,
is there a chance to reload the registry after a change with out soft.- or hardreset?
I want to change some today screen settings and there I don't have to make a softreset.
With Google I found this but I don't know how I can do it with Basic4ppc.
Quote:
::SendMessage(::GetDesktopWindow(), WM_WININICHANGE, 0xF2, 0);
Greet
Stefan
Reply With Quote
  #2 (permalink)  
Old 06-12-2007, 07:03 PM
MM2forever's Avatar
Junior Member
 
Join Date: Jun 2007
Location: Germany
Posts: 48
Send a message via ICQ to MM2forever Send a message via MSN to MM2forever Send a message via Skype™ to MM2forever
Default

syntax like this - 100% not

edit:// uh... i do think so, but who knows - we've got B4P 5!!!!
Reply With Quote
  #3 (permalink)  
Old 06-12-2007, 07:14 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,314
Default

There's no chance at all unless you learn how to cook a ROM.

The key's stored in the ROM will always be loaded after a Hardreset, but not on a "normal" soft reset...
You can always write your own key changer soft and store it in a sd card and re-load it as needed.....
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD

DLL Version Listing
Reply With Quote
  #4 (permalink)  
Old 06-13-2007, 04:57 AM
Junior Member
 
Join Date: May 2007
Posts: 12
Default

I think there must be a chance to reload or refresh the registry but how is the question.
Most of the today plugins do this with out softreset.
Reply With Quote
  #5 (permalink)  
Old 06-13-2007, 05:33 PM
Junior Member
 
Join Date: May 2007
Posts: 12
Default Or can I refresh the today screen?

Is there a chance to refresh the today screen after changing?
I want to change the settings for the today plugins enable or disable them and set position on screen.
But when I do this by hand the changes will only be taken over when I go into the today settings, there are they displayed so I do it in the registry.
Hope you can follow me and find some help!
Reply With Quote
  #6 (permalink)  
Old 06-13-2007, 07:22 PM
RandomCoder's Avatar
Basic4ppc Veteran
 
Join Date: May 2007
Location: UK
Posts: 485
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Isn't it possible that if you know roughly which parts of the registry you are going to be tweaking then you could use the registry library to extract the current settings and store them to a file.
Then you could make your changes knowing that you have a backup of the original settings. The only problem I can see that could arise is if you add new keys as this will change the array that B4PPC creates when getting the list of sub keys.

I haven't tried anything like this myself, it's just an idea.

Regards,
RandomCoder
__________________
Desktop: Pentium D 920 (2.8GHz, 4MB L2 Cache, 800MHz FSB), 1024MB, 256MB Radeon X600, 250GB HD.
Device : Axim X51v XScale 624MHz, 3.7" VGA, 64MB SDRAM, 256MB Flash ROM + 1Gb SD.

"Defeat never comes to any man until he admits it."Josephus Daniels
Reply With Quote
  #7 (permalink)  
Old 06-13-2007, 07:35 PM
Junior Member
 
Join Date: May 2007
Posts: 12
Default

I believe I wrongly expressed myself or was wrongly understood.
I don't have a problem with changing something in the registry.
I have a problem when I change something in registry (today items only) that I have to reset the ppc when otherone can do it with out reset.
Hope thats hopefull for you!
Reply With Quote
  #8 (permalink)  
Old 06-13-2007, 07:52 PM
dzt's Avatar
dzt dzt is offline
Basic4ppc Veteran
 
Join Date: May 2007
Location: Greece
Posts: 353
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

I'll post soon a more reach dzHW.dll at "code samples & tips". Using it, it could be possible to Post Messages (like in your first post mcflaytasche).
I don't know if WM_WININICHANGE message will refresh today screen.
__________________
Dimitris Zacharakis
http://www.terracom.gr
Reply With Quote
  #9 (permalink)  
Old 06-13-2007, 08:50 PM
RandomCoder's Avatar
Basic4ppc Veteran
 
Join Date: May 2007
Location: UK
Posts: 485
Awards Showcase
Beta Tester 
Total Awards: 1
Default

This was as I understood you meant. I was thinking that you could read and save the registry values so that if need be you could load them back in again. Saving them to a file I think would be easy enough but reloading them might be more difficult.

Regards,
RandomCoder
__________________
Desktop: Pentium D 920 (2.8GHz, 4MB L2 Cache, 800MHz FSB), 1024MB, 256MB Radeon X600, 250GB HD.
Device : Axim X51v XScale 624MHz, 3.7" VGA, 64MB SDRAM, 256MB Flash ROM + 1Gb SD.

"Defeat never comes to any man until he admits it."Josephus Daniels
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
WM6.1 Backlight Timeout (Registry) digitaldon37 Open Source Projects 2 11-18-2008 03:59 AM
Lettura del registry Raytracer Italian Forum 9 04-19-2008 02:03 PM
NullReference error with Registry alfcen Questions & Help Needed 10 04-09-2008 01:50 AM
Reload system fonts on run Mistrel Basic4ppc Wishlist 2 10-16-2007 09:54 PM
registry bdiscount Questions & Help Needed 4 05-11-2007 03:29 PM


All times are GMT. The time now is 01:51 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0