protected override void WndProc(ref Message m )
{
if (m.WParam.ToInt32()== 16#83#; )
{
m.Result = new IntPtr(0); OnNcCalcSize()
}
else
base.WndProc(ref m); // ...let Form take care of this message (normally)
}
http://www.cs.uofs.edu/~beidler/Ada/win32/win32-winuser.html
{
if (m.WParam.ToInt32()== 16#83#; )
{
m.Result = new IntPtr(0); OnNcCalcSize()
}
else
base.WndProc(ref m); // ...let Form take care of this message (normally)
}
http://www.cs.uofs.edu/~beidler/Ada/win32/win32-winuser.html
typedef struct tagNCCALCSIZE_PARAMS {
RECT rgrc[3];
PWINDOWPOS lppos;
} NCCALCSIZE_PARAMS;
我现在是要用VB.Net或者C#来写程序,最重要的问题是不知道参数里面的RECT rgrc[3]该如何传递(提示无法序列化)
请帮忙!
可是我现在还是搞不清楚,RECT数组如何传递到API中去?我实验了,但是总是失败……
请帮忙搞定好吗?非常感谢!
参考封送格式ms-help://MS.VSCC/MS.MSDNVS.2052/cpref/html/frlrfsystemruntimeinteropservicesmarshalasattributememberstopic.htm