2012年8月18日

摘要: syntax error in option "subsystem:windows/incremental:yes"由于出现error LNK2001: unresolved external symbol _main错误 按百度知道哩的方法:在Project Options中将/subsystem:console改成/subsystem:windows又出现了题目上的错误。解决方法:在把windows/incremental:yes改为windows /incremental:yes。即使在windows后加一个空格。 阅读全文
posted @ 2012-08-18 23:00 至虚极,守静笃 阅读(420) 评论(0) 推荐(0) 编辑
摘要: DrawText该函数在指定的矩形里写入格式化的正文,根据指定的方法对正文格式化(扩展的制表符,字符对齐、折行等)。int DrawText(HDC hDC, // 设备描述表句柄 LPCTSTR lpString, // 将要绘制的字符串 int nCount, // 字符串的长度 LPRECT lpRect, // 指向矩形结构RECT的指针 UINT uFormat // 正文的绘制选项 ); hdc:输入]设备环境句柄。 lpString:[输入]指向将被写入的字符串的指针,如果参数nCount是-1,则字符串必须是以\0结束的。 如果uFormat包含DT_... 阅读全文
posted @ 2012-08-18 22:42 至虚极,守静笃 阅读(13524) 评论(0) 推荐(0) 编辑
摘要: ShowWindowThis function sets the specified window’s show state.BOOL ShowWindow( HWND hWnd, int nCmdShow ); ParametershWndHandle to the window.nCmdShowSpecifies how the window is to be shown. The first time ShowWindow is called, the value should be the value obtained by the WinMain function in its nC 阅读全文
posted @ 2012-08-18 09:18 至虚极,守静笃 阅读(4348) 评论(0) 推荐(0) 编辑

导航