error RC2108: expected numerical dialog constant


轉自http://blog.csdn.net/renyhui/article/details/23120469#comments


剛開始學MFC,加載圖片的時候遇到了這個BUG。


在我們用圖形控件Picture Control在對話框上添加圖片是,經常會出現error RC2108: expected numerical dialog constant


解決方法:

雙擊error rc2018...打開文件


在如圖所示的位置增加“Static”, SS_BITMAP

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章