I was trying to set icon when while updating my browser frame.
BOOL bHighlight = IsKeyWordHighlighte();
if(bHighlight)
{XTPImageManager()->SetIcon ( IDI_ICON_HIGHLIGHTCLICK, ID_TBTBN_HIGHLIGHT ); }
else
{XTPmageManager()->SetIcon ( IDI_ICON_HIGHLIGHTNORMAL, ID_TBTBN_HIGHLIGHT ); }
this is crashing sometimes when i am trying to switch between windows.
Can u explain me the scenarios where seticon will fail |
|
I was trying to set icon when while updating my browser frame.
BOOL bHighlight = IsKeyWordHighlighte();
if(bHighlight)
{XTPImageManager()->SetIcon ( IDI_ICON_HIGHLIGHTCLICK, ID_TBTBN_HIGHLIGHT ); }
else
{XTPmageManager()->SetIcon ( IDI_ICON_HIGHLIGHTNORMAL, ID_TBTBN_HIGHLIGHT ); }
this is crashing sometimes when i am trying to switch between windows.
Can u explain me the scenarios where seticon will fail