Re: question about thunk

Hauptmann Peter <hauptmannp-/[email protected]> Wed, 13 Apr 2011 07:56:39 -0700 (PDT)
Newsgroups gmane.comp.windows.wtl
Message-ID <[email protected]>
The thunk maps the window handle (HWND) to the ATL CWindow-derived object. 
For each subclassed window, a thunk is generated on the fly, with the object address (pThis) hardcoded to replace the HWND parameter. 


The object gains access to the HWND through pThis->m_hWnd.


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/wtl/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/wtl/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/