12 2009 档案

摘要:在WPF里边如果WM_NCCALCSIZE占满整个窗口,来扩展整个窗口为Client,去自定义标题栏,会有两个问题。1:Window下边的Root的容器(Panel,Grid)会依然使用原有Client的大小,(vcommon注:resize之后依然在现在Window大小里减去原有Frame的宽度),导致下边和右边无法绘制。2:DwmDefWindowProc在HwndSource.FromHwn... 阅读全文
posted @ 2009-12-15 12:46 vcommon 阅读(1090) 评论(0) 推荐(0)
摘要:http://msdn.microsoft.com/en-us/library/bb688195(VS.85).aspxCustom Window Frame Using DWM 使用DWM自定义窗口边框Custom Window Frame Using DWM Custom Window Frame Using DWM This topic demonstrates how to use the... 阅读全文
posted @ 2009-12-09 18:17 vcommon 阅读(5528) 评论(0) 推荐(0)