Re: MFC: OnMoving() not being called
By: Nightfox to All on Wed Oct 26 2011 16:54:57
My main GUI class is derived from CDialogEx, and I've implemented OnMove() a OnMoving() in my class with the same signature as described in the documentation. However, those two functions are not being called when the G is moved.
Of course, right after I posted that message, I found the solution. :) My dialog class didn't have WM_MOVE() and WM_MOVING() in its message map.
MFC is frustrating sometimes.. One reason is that it's inconsistent - Some message handlers require a message map entry, but others don't because they're implemented by overridden class methods.
Nightfox
---
þ Synchronet þ Digital Distortion: digitaldistortionbbs.com