1
#if defined(WIN32_PLATFORM_PSPC)
// If Pocket PC, allow only one instance of the application.
HWND hWnd = FindWindow (szAppName, NULL);
if (hWnd) {
SetForegroundWindow ((HWND)(((DWORD)hWnd) | 0x01));
return 0;
}
#endif
2
如果,你想在程序里直接调用系统提供的“软键盘”,。可以这样做。
*************************************
#include "Sipapi.h"
//打开键盘
SipShowIM(SIPF_ON);
就可以了。