Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - [CLOSED] Crash in SetIcon
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic Closed[CLOSED] Crash in SetIcon

 Post Reply Post Reply
Author
Message
Benit View Drop Down
Newbie
Newbie
Avatar

Joined: 14 March 2011
Location: India
Status: Offline
Points: 8
Direct Link To This Post Topic: [CLOSED] Crash in SetIcon
    Posted: 21 March 2011 at 7:06am
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

Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Direct Link To This Post Posted: 22 March 2011 at 7:56am
Hi,

please create a support ticket and attach your project or a sample to reproduce the crash.

Thanks

Codejock support
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.