Dear BillWoodRuff,
Really fell sorry great degree of misunderstanding.
Given below the same routine in C#...
protected override void WndProc(ref Message m)
{
const int WM_NCLBUTTONDBLCLK = 163;
const int WM_NCLBUTTONDOWN = 161;
const int WM_SYSCOMMAND = 274;
const int HTCAPTION = 2;
const int SC_MOVE = 61456;
if (((m.Msg == WM_SYSCOMMAND)
&& (m.WParam.ToInt32() == SC_MOVE))) {
return;
}
if (((m.Msg == WM_NCLBUTTONDOWN)
&& (m.WParam.ToInt32() == HTCAPTION))) {
return;
}
if ((m.Msg == WM_NCLBUTTONDBLCLK)) {
return;
}
base.WndProc(m);
}
Hope this will be appreciated (at least to boost myself).
Thanks and Regards,
G. Ravikumar