摘要: WTL 中使用GDI+ 备忘#include <gdiplus.h>using namespace Gdiplus;#pragma comment(lib, "gdiplus.lib")_tWinMain{HRESULT hRes = ::CoInitialize(NULL);GdiplusStartupInput gdiplusStartupInput;ULONG_PTR gdiplusToken; GdiplusStartup(&gdiplusToken, &gdiplusStartupInput, NULL);。。。。。。// uninit 阅读全文
posted @ 2009-07-29 17:54 好好学习,天天进步 阅读(692) 评论(0) 推荐(0) 编辑
摘要: 自从VS2005以后,MS推荐用MenuStrip来代替原来的MainMenu,但是MenuStrip在设置菜单项Visible=false后,表面上看是好用的,实际上键盘上下移动菜单却会出现空白的现象。。。。。。 /// <summary> /// MenuStrip当设置Visible的时候,键盘上下移动菜单会出现空白的bug /// MS说: Please also note that this issue is purely visual, there's no functionality loss. /// 观众说:Fix these problems ins.. 阅读全文
posted @ 2009-07-29 13:02 好好学习,天天进步 阅读(642) 评论(0) 推荐(0) 编辑