Print Page | Close Window

[CLOSED] Crash in SetIcon

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=18084
Printed Date: 19 April 2024 at 7:35pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [CLOSED] Crash in SetIcon
Posted By: Benit
Subject: [CLOSED] Crash in SetIcon
Date 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




Replies:
Posted By: ABuenger
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net