Home
Profile
Private Messages
Usergroups
Memberlist
Search
FAQ
Log in
Register ![]() |
![]() |
Fragments A Collection of Statements, kinda |
ATL Hidden Windows |
Author | Message | |
---|---|---|
martin Site Admin ![]() Joined: 19 Jan 2004 Posts: 455 Location: In the middle of Sweden |
![]() Getting timer messages into an ATL object isn't all that evident. If you create a full control and it remains invisible in runtime, it has no windows handle, so you can't use the classical ::SetTimer(hWnd,...) to get the timer messages. The trick is to create another ATL window object that does absolutely nothing but create a window and get these messages. Then have the timer message handler call whatever method you want in your "real" ATL object. [full article] |
|
|
||
![]() |
||
All times are GMT + 1 Hour |
||
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum |