All,
Is there any easy way to get the window handle of a GTK window for
use with win32 functions? My Current Implementation is:
try
{
Process ThisProcess = Process.GetCurrentProcess();
MainWinHandle = ThisProcess.MainWindowHandle;
//Works under XP, Throws Exception in Vista
}
catch
{
MainWinHandle = MainWindow.Handle;
//Fails
}
This implementation works fine under XP, but throws a security
exception when run under Vista.
Thanks,
Phil Dyer
_______________________________________________
Gtk-sharp-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list