开发者

Reusing windows clock control from timedate.cpl?

开发者 https://www.devze.com 2023-01-07 04:57 出处:网络
I\'m trying to reuse windows clock that exist in timedate.cpl which is a dll, I know how to communicate with it using SendMessage to get and set time. My problem is this control is a private window cl

I'm trying to reuse windows clock that exist in timedate.cpl which is a dll, I know how to communicate with it using SendMessage to get and set time. My problem is this control is a private window class so i tried开发者_开发技巧 to load the dll first then create a window with name ClockWndMain but it fails and the reason is window class name is not valid..

My question is how could i create a window of this control?

0

精彩评论

暂无评论...
验证码 换一张
取 消