Salut,
Tu peux "détecter" l'appel de ToggleDesktop de cette manière :
private static readonly Point TOGGLEDESKTOP_POINT = new Point(-32000, -32000);
protected override void OnMove(EventArgs e)
{
if ( this.Location == TOGGLEDESKTOP_POINT)
{
MessageBox.Show("ToggleDesktop");
}
base.OnMove (e);
}
/*
coq
MVP Visual C#
*/