VC++开发常用功能一系列文章 (欢迎订阅,持续更新...)
软键盘界面如下:
置于桌面窗口最顶层:
置顶介绍:
if (hwnd = FindWindow(NULL, szTitle))
{
// Bring it to the top of Z order and active it.
BringWindowToTop (hwnd);
// Bring key input into this window.
SetForegroundWindow (hwnd);
// Display as normal window
ShowWindow (hwnd, nCmdShow);
}
采用mouse hook
// Mo