I have a CMFCMenuButton on a CDialogBar that has a very strange behaviour: it shows its dropdown list in the Debug build but does not show it in the Release build.
Debug build:
Release build:
It seems that there is happening something wrong in the call of __super::OnShowMenu() of the OnShowMenu() method of my derived class.
To make thing worse, there is some configuration on my machine that is not stepping into the MFC feature pack methods ... I made everything to put this working and I could not get there.
Please help.
Sorry, it was my mistake:
On my derived class OnShowMenu function, I had to replace:
with this:
Yes, the bug was caused by the ASSERT.