How do I use CWindowWithReflectorImpl?
ATL / WTL / STL
1
Posts
1
Posters
0
Views
1
Watching
-
I wanna implement a toolbar for Windows using WTL classes like CToolBarCtrl. For the toolbar to work I saw in numerous examples that you have to create a reflection window, that is essentially a hidden parent for the toolbar so you can fetch the commands send by the toolbar. I wonder if you could implement a reflective toolbar using the CWindowWithReflectorImpl? I never got it to work though. The created window did not repaint itself and the toolbar was not visible. Anyone here knows how to use CWindowWithReflectorImpl? Thanks in advance!
Happy coding, Philipp Kursawe