Best method for storing this pointer for use in WndProc

前端 未结 10 827
南旧
南旧 2020-11-29 20:06

I\'m interested to know the best / common way of storing a this pointer for use in the WndProc. I know of several approaches, but each as I underst

10条回答
  •  甜味超标
    2020-11-29 20:30

    I've used SetProp/GetProp to store a pointer to data with the window itself. I'm not sure how it stacks up to the other items you mentioned.

提交回复
热议问题