Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Updating a toolbar button...?

Status
Not open for further replies.

nexius

Programmer
Jul 8, 2000
109
CA
Hi

I have a toolbar, with some buttons on it. I added a message handler for COMMAND (ie. when it's clicked) and UPDATE_COMMAND_UI (which I thought would run every frame or so...)

I need it to execute the corresponding method:
OnUpdateButton(CCmdUI* pCmdUI)

every few cycles, which I thought it did automatically. But it never enters this method! Could somebody clear up this misunderstanding please?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top