BCGControlBar Pro 出現(xiàn)如圖故障,是什么原因
發(fā)表于2019-05-10
回復(fù):0
查看:3783 |
在調(diào)試程序的時候,不顯示Create status bar,代碼能夠運(yùn)行到
<pre class='brush: csharp'> if (!CreateShortcutsBar ())
{
TRACE0("Failed to create shortcuts bar\n");
return -1; // fail to create
}</pre>
CreateShortcutsBar函數(shù)里面也能運(yùn)行下面的內(nèi)容
<pre class='brush: csharp'>m_wndShortcutsPane1.AddButton (images.ExtractIcon (0), viewTypes[0], ID_SHORTCUT_1, -1, bAlphaBlend);
m_wndShortcutsPane1.AddButton (images.ExtractIcon (2), viewTypes[2], ID_SHORTCUT_3, -1, bAlphaBlend);
m_wndShortcutsPane1.AddButton (images.ExtractIcon (3), viewTypes[3], ID_SHORTCUT_4, -1, bAlphaBlend);
m_wndShortcutsPane1.AddButton (images.ExtractIcon (4), viewTypes[4], ID_SHORTCUT_5, -1, bAlphaBlend);
m_wndShortcutsPane1.AddButton (images.ExtractIcon (5), viewTypes[5], ID_SHORTCUT_6, -1, bAlphaBlend); </pre>
編譯成功,但是不顯示創(chuàng)建的status bar。
登錄 慧都網(wǎng)發(fā)表評論