tilex
tilex

Reputation: 1774

CMFCEditBrowseCtrl without button image

I've created a simple MFC application with a dialog box and added CMFCEditBrowseCtrl control to it with a dialog editor. When I run a "Test dialog" command the control looks like this:

enter image description here

But when I run my app the control has no button image, like this:

enter image description here

What am I doing wrong? The main app class is derived from CWinAppEx, according to the documentation.

Upvotes: 0

Views: 624

Answers (1)

tilex
tilex

Reputation: 1774

I've found out that I must include afxribbon.rc to my app to display icons correctly.

Upvotes: 1

Related Questions