show today screen

  • Thread starter Thread starter SHaul
  • Start date Start date
S

SHaul

Hi

I need to show the today screen on ppc 2003se by c#.
is it possible?

Many Tahnks

Shauly
 
You'll have to use P/Invokes:

SendMessage(GetDesktopWindow(), WM_ACTIVATE, 0x1, 0);
SetForegroundWindow(GetDesktopWindow());
 
show desktop exsample:
---------------------------------

SetForegroundWindow (GetDesktopWindow ());


[DllImport("coredll.dll")]

public static extern Int32 SetForegroundWindow(int hWnd);

[DllImport("coredll.dll", EntryPoint="GetDesktopWindow")]

public static extern int GetDesktopWindow();



Thanks again!!
 
Back
Top