摘要: //-----------------------------------------//本程序展示了如何实现MessageBoxPrintf函数//本函数能像printf那样格式化输出//摘录自:《windows程序设计第五版》//---------------------------------... 阅读全文
posted @ 2015-09-19 15:04 Smalldy 阅读(319) 评论(0) 推荐(0) 编辑
摘要: 以下的代码段用于获取视屏显示器的高度宽度,以像素为单位。1 int sxScreen, cyScreen;2 cxScreen = GetSystemMetrics (SM_CXSCREEN);3 cyScreen = GetSystemMetrics (SM_CYSCREEN);关于本函数的其他信... 阅读全文
posted @ 2015-09-19 13:01 Smalldy 阅读(162) 评论(0) 推荐(0) 编辑