Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disable Clipboard function
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
01011882
Message ID:
01015621
Views:
17
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;
	}
}
Previous
Reply
Map
View

Click here to load this message in the networking platform