Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disable Clipboard function
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
01011882
Message ID:
01015621
Vues:
18
This is a fragment of C# code. I wouldn't mind to have an equivalent of WndProc for Visual FoxPro forms :) Actually the BINDEVENT() is not bad either.
protected override void WndProc(ref Message m) 
{
	switch (m.Msg)
	{
		case WM_CHANGECBCHAIN:
			if (nextviewer==m.WParam) nextviewer=m.LParam;
			else SendMessage(nextviewer, 
					 m.Msg, m.WParam, m.LParam);
			break;

		case WM_DRAWCLIPBOARD:
			ClearClipboard();

			SendMessage(nextviewer, m.Msg, 
				m.WParam, m.LParam);
			break;
		default:
			base.WndProc(ref m);
			break;
	}
}
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform