使用 Visual Studio 6 (VC++ 6.0) 我正在使用 ActiveX datepicker 控件,默认情况下我无法显示扩展 ( 3006216 )。或者,我正在尝试向我的窗口发送键盘消息(F4)以打开控件,但是当我这样做时没有任何反应......
// try 1: use the standard window handle
LRESULT result = ::SendMessage(m_hWnd,VK_F4, 0, 0);
// try 2: use just use the SendMessage
result = SendMessage(VK_F4);
结果始终为 0 - 我可以做些什么来测试/验证消息发送?
非常感谢...
奥利