I'm experimenting with WTL, and I'd like to separate a large message map to two or more files. For example, I'd like to move the tray icon logic into a separate file. I'm aware of CHAIN_MSG_MAP
and CHAIN_MSG_MAP_MEMBER
, but what should I use in this case?
Also, how will I be able to access the window handle from the second class?