Groups | Blog | Home
all groups > dotnet windows forms controls > june 2008 >

dotnet windows forms controls : Win Handler on Vista


Vivek Waghmare
6/10/2008 6:58:15 PM
hi All
I have customized SaveAs Dialog box to handle the events of UI elements such
as selectedindex change of Filter combo box. For this purpose I have
inherited a class from NativeWindow class, and written call back method
catch the windows handler.
I used class name as #32770 to check if the window is of SystemDialog, as
below code
if (className.ToString().StartsWith("#32770"))
{
//do something
}
This code is working fine on XP and Vista(without SP1). But on the Vista
with SP1,this condition is not getting true.
Anybody knows what the class name is for SystemDialog on Vista SP1, or how
should I find out the Class name for the same... any utility or so...

Herfried K. Wagner [MVP]
6/11/2008 12:21:52 AM
"Vivek Waghmare" <vivek_r_waghmare@hotmail.com> schrieb:
[quoted text, click to view]

According to Windows Vista Ultimate SP1 the class name of file selection
dialogs (tested with the dialog appearing after pressing the "Browse..."
button in the system's "Run" dialog using Spy++) is still the same. Which
value is returned in your sample?

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
AddThis Social Bookmark Button