CMap: Mapping CString to CStringArray
Just a simple MFC trick. To map from CString to CStringArray use: CMap<CString, LPCTSTR, CStringArrayX, CStringArrayX&> where CStringArrayX is defined as: class CStringArrayX : public...
View ArticleMFC: Redirecting OnMouseWheel messages to the window under cursor
By default MFC applies the MouseWheel message to the window that has the focus. Even though most users expect it to apply to the window under the cursor. (And even Microsoft’s style guide recommends...
View Article
More Pages to Explore .....