
Win32
cocoasprite
记录是为了不忘却
展开
-
使用HANDLE_MSG宏简化Win32应用的开发
http://blog.csdn.net/daiyutage/article/details/17241161 Win32应用中的回调函数WndProc用于接收Windows向应用程序直接发送的消息,以及响应消息。大多情况下,我们这样编写代码: [cpp] view plaincopy LRESULT CALLBACK WndP转载 2015-01-28 00:14:19 · 569 阅读 · 0 评论 -
SendMessage函数与系统预定义消息[Windows API]
SendMessage function https://msdn.microsoft.com/en-us/library/windows/desktop/ms644950%28v=vs.85%29.aspx 系统预定义消息 https://msdn.microsoft.com/en-us/library/windows/desktop/ms644927%28v=vs.85%29.aspx#原创 2015-10-02 19:19:52 · 859 阅读 · 0 评论 -
Win32 API使用
FindWindow用法 http://blog.csdn.net/coolszy/article/details/5523486 SendMessage用法 http://blog.csdn.net/coolszy/article/details/5523700 WinAPI: FindWindow、FindWindowEx - 查找窗口 http://www.cnblogs.com/d转载 2015-11-04 21:47:44 · 461 阅读 · 0 评论 -
UnicodeToAnsi and AnsiToUnicode
//将宽字节wchar_t*转化为单字节char* inline char* UnicodeToAnsi( const wchar_t* szStr ) { int nLen = WideCharToMultiByte( CP_ACP, 0, szStr, -1, NULL, 0, NULL, NULL ); if (nLen == 0)转载 2016-12-03 16:12:27 · 2531 阅读 · 1 评论