封装一个Win32弹出提示框的函数(用于STATIC等控件显示Tooltip)
函数逻辑简单,直接贴出函数代码:HWND WINAPI CreateToolTip(HWND hwndOwner, LPTSTR szTip){ // struct specifying control classes to register INITCOMMONCONTROLSEX iccex; HWND hwndTT; // handle to the ToolTip control // struct specifying
原创
2010-10-09 15:59:00 ·
954 阅读 ·
0 评论