Newsgroups: microsoft.public.dotnet.framework.compactframework
From: Sunil Garg <su...@sunilgarg.com>
Date: 6 May 2007 23:58:23 -0700
Local: Mon, May 7 2007 2:58 am
Subject: Changing Device Wallpaper in Background
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
Newsgroups: microsoft.public.dotnet.framework.compactframework
From: "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com>
Date: Mon, 7 May 2007 09:06:16 -0700
Local: Mon, May 7 2007 12:06 pm
Subject: Re: Changing Device Wallpaper in Background
The wallpaper *is* what is drawn behind the Today screen. It has no meaning
that would cause it to be redrawn when some other window is in front of the today screen. As far as limiting the effect of the change itself, you could just send the Paul T. You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
Newsgroups: microsoft.public.dotnet.framework.compactframework
From: jonfroehlich <jonfroehl...@gmail.com>
Date: 7 May 2007 13:38:22 -0700
Local: Mon, May 7 2007 4:38 pm
Subject: Re: Changing Device Wallpaper in Background
Paul,
I have run into this issue as well. I believe what Sunil meant is You can check the "changing wallpaper" overhead for yourself. Open Jon On May 7, 9:06 am, "Paul G. Tobey [eMVP]" <p space tobey no spam AT no You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
Newsgroups: microsoft.public.dotnet.framework.compactframework
From: "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com>
Date: Tue, 8 May 2007 10:04:25 -0700
Local: Tues, May 8 2007 1:04 pm
Subject: Re: Changing Device Wallpaper in Background
I suppose that you could get the top-level window of the today screen
application, mark its entire content area as invalid (InvalidateRect()), and then force it to update, UpdateWindow(). You'd have to P/Invoke those, of course. Paul T. You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
Newsgroups: microsoft.public.dotnet.framework.compactframework
From: jonfroehlich <jonfroehl...@gmail.com>
Date: 8 May 2007 15:16:28 -0700
Local: Tues, May 8 2007 6:16 pm
Subject: Re: Changing Device Wallpaper in Background
Yep. My current approach is to:
1. Wait until device goes idle for N minutes An awful lot of work just to change the desktop wallpaper. Does anyone j On May 8, 10:04 am, "Paul G. Tobey [eMVP]" <p space tobey no spam AT You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
Newsgroups: microsoft.public.dotnet.framework.compactframework
From: Deasun <Dea...@discussions.microsoft.com>
Date: Fri, 13 Jul 2007 07:02:05 -0700
Local: Fri, Jul 13 2007 10:02 am
Subject: Re: Changing Device Wallpaper in Background
Hello there,
Would you mind showing the code to do the wallpaper changing? I have been try to do this for some time now but I am not finding much docs on it. Its driving me nuts. {VB/C# .NET code would be best, but I will take anything at this point :)} Thanks You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
Newsgroups: microsoft.public.dotnet.framework.compactframework
From: jonfroehlich <jonfroehl...@gmail.com>
Date: Sun, 15 Jul 2007 23:04:08 -0000
Local: Sun, Jul 15 2007 7:04 pm
Subject: Re: Changing Device Wallpaper in Background
Hi Deasun,
A majority of the generalizable C# code I write for Windows Mobile has Jon --- On Jul 13, 7:02 am, Deasun <Dea...@discussions.microsoft.com> wrote: You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
Newsgroups: microsoft.public.dotnet.framework.compactframework
From: Deasun <Dea...@discussions.microsoft.com>
Date: Mon, 16 Jul 2007 07:22:03 -0700
Local: Mon, Jul 16 2007 10:22 am
Subject: Re: Changing Device Wallpaper in Background
Thanks very much for the code view.
I was very close to what you have there. Using your registry code line I can now update that value. The Sendmessage line is still not co-opperating with me. Here is a clean version of the current code I am now using. Running in debug mode in VS.net 2005. At time of error on the "Sendmessage" line, varible values are; HWND_BROADCAST = 65535 Registry Key values: Error Msg on executing the Sendmessage line: NotSupportedException #Region " Area: Imports" Public Class WPMaster_PPC #Region " Area: Application wide variables " #End Region '<DllImport("coredll.dll")> Private Sub WPMaster_PPC_Load(ByVal sender As Object, ByVal e As End Try #Region " Area: Sub Procedures " Private Sub initThemeListBox(ByVal strWhoCalledMe As String) While (intIndex < intFilesInFolder) Dim objTheme As New ListViewItem Catch ex As Exception End Try Private Sub SetTheWallpaper(ByVal strWhoCalledMe As String) Dim strKeyName As String = "HKEY_CURRENT_USER\ControlPanel\Home" Try objRegistryKey.SetValue(strKeyName, strValueName, Catch ex As Exception End Try #End Region End Class -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
Newsgroups: microsoft.public.dotnet.framework.compactframework
From: "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com>
Date: Mon, 16 Jul 2007 09:19:02 -0700
Local: Mon, Jul 16 2007 12:19 pm
Subject: Re: Changing Device Wallpaper in Background
I think that you've got a problem with your P/Invoke declaration. I'm not
much on VB, but you might try removing the DllImport attribute, as you've already indicated the DLL. The actual problem, though, is that SendMessage(), in Windows CE, ends up being SendMessageW, not SendMessage, because CE is Unicode-based and the naming appends a W to Unicode calls. So, instead of Aliasing to "SendMessage", Alias to "SendMessageW", and I think it will work. Paul T. ... You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
Newsgroups: microsoft.public.dotnet.framework.compactframework
From: Deasun <Dea...@discussions.microsoft.com>
Date: Mon, 16 Jul 2007 10:38:02 -0700
Local: Mon, Jul 16 2007 1:38 pm
Subject: Re: Changing Device Wallpaper in Background
Thanks for all the help ye have both given me.
No luck yet. I tried changing the alias to SendMessageW but I got the same "Paul G. Tobey [eMVP]" wrote: You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
| Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy |
| ©2009 Google |