Hahaha, would you believe it? I got this problem again, and searched for a solution. Ended up finding my own post! Now that's what I call contributing!

BTW, the header file name is <afxcontrolbars.h> ... What do you know, I just improved my own answer after 3 years or so!