1
내 소프트웨어에서 Windows Mobile 5 장치의 테마를 변경하는 방법을 찾으려고합니다. 누구든지이 분야에서 경험이 있습니까?C#을 통해 Windows Mobile 5 테마 변경
딜런
내 소프트웨어에서 Windows Mobile 5 장치의 테마를 변경하는 방법을 찾으려고합니다. 누구든지이 분야에서 경험이 있습니까?C#을 통해 Windows Mobile 5 테마 변경
딜런
당신은 sendMessage 첨부가 오늘 화면을 새로 고침 할 후 관련 레지스트리 항목을 설정할 수 있습니다.
C# 코드 예제 :
using System.Runtime.InteropServices;
using Microsoft.Win32;
...
[DllImport("coredll.dll")]
private static extern int SendMessage(IntPtr hWnd, uint msg, int wParam, int lParam);
...
public const int HWND_BROADCAST = 0xffff;
public const int WM_WININICHANGE = 0x001A;
// Copy wallpaper file to windows directory
File.Copy(@"\My Documents\My Pictures\ImageFileName.jpg", @"\Windows\stwater_240_240.jpg", true);
// Update registry
Registry.SetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Today", "Wall", "ImageFileName");
// Send message to refresh today screen
SendMessage((IntPtr)HWND_BROADCAST, WM_WININICHANGE, 0xF2, 0);
가에서 자세한 내용을 참조하십시오
http://windowsmobiledn.com/qa-how-to-install-a-today-theme-file/
명예를이 나에게 정답처럼 보인다. –
Windows 모바일 장치에서 찾을 수있는 레지스트리 키가 없습니다. –
죄송합니다, 불량, 찾았습니다 :) 지금 작동하는지 확인하십시오. –