Author Archives: Iceyer
Windows平台MoinMoin配置心得
windows平台下配置MoinMoin的一些问题
Win7下本地Apache与PHP环境的搭建
win7中配置apache和php所遇到的问题
走近WTL--GDI篇
WTL中的GDI类的封装与MFC不同,对于这些类的详细描述,可以参见WTL for MFC Programmers, Part IX – GDI Classes, Common Dialogs, and Utility Classes. 在由MFC的GDI向WTL的GDI转换过程中,有以下几个问题需要注意的: 一、OnPaint函数的处理。 在OnPaint函数的声明中,有以下的两种方法: 1 2 3 4 5 6 BEGIN_MSG_MAP_EX(MyWnd) .... MESSAGE_HANDLER(WM_PAINT, OnPaint) ... END_MSG_MAP() LRESULT OnPaint(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled); 或者是: 1 2 3 4 5 6 BEGIN_MSG_MAP_EX(MyWnd) .... MSG_WM_PAINT(OnPaint) ... END_MSG_MAP() LRESULT OnPaint(HDC hdc) 实际上,这两种写法在使用中区别不大,第一种传入的四个参数都不会用到,第二种传入的hdc的值是NULL,所以这些参数都是不可以被OnPaint函数使用。那么在OnPaint中如何开始绘图呢?我们可以使用CPaintDC,如下: 1 [...]
Komm,Susser Tod
Komm,Susser Tod 来吧甜蜜的死亡 歌词:庵野秀明 作曲/曲:Shiro SAGISU 主唱:ARIANNE 录音:铃木恭一 BuildPlayer('mp3','http://blog.iceyer.net/wp-content/uploads/15-Komm-susser-Tod.mp3','450','350'); 歌词下载 I know, I know I’ve let you down I’ve been a fool to myself I thought that I could live for no one else But now through all the hurt and pain It’s time for me to respect the ones you love mean more than [...]
Matlab中的Dot运算符