Hello

I'm trying to display the second Phone Dialog (the one that asks for
the user to enter the PIN) in WindowsMobile 5.0.I need a solution in
Win32 API or C# .NET.

I use the Microsoft Visual Studio 2005 - Remote SPY to detect the name
of that window , but it appears with the same name for both Phone and
Enter PIN windows : "Phone" (for english ROMs) and "Telefon" (for
german ROMs). I'm using this to bring the window to surface:

telefon = FindWindow(NULL ,
L"Phone");
ShowWindow(telefon, SW_SHOW);
UpdateWindow(telefon);
SetForegroundWindow(telefon);

It seems that if the window exists there is no need to make a function
that tests for the SIM status (locked/unlocked) and so the only problem
is in bringing directly the Phone -> Enter PIN window (when the SIM is
locked).Can anyone help?

Thanks,
Regards