Print Page | Close Window

Disable "windows sound" for Task dialog?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=12553
Printed Date: 23 June 2025 at 5:00pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Disable "windows sound" for Task dialog?
Posted By: znakeeye
Subject: Disable "windows sound" for Task dialog?
Date Posted: 28 October 2008 at 12:34pm
I do call this in my CXTPTaskDialog:
SetMainIcon(TD_INFORMATION_ICON);
EnableMessageBoxStyle();
 
However, I do not want to play the "information icon"-sound set in Windows in this specific dialog. Is it possible to disable it? (I want the message box style.)



Replies:
Posted By: Oleg
Date Posted: 28 October 2008 at 4:53pm
Hi,
Don't call SetMainIcon(TD_INFORMATION_ICON); then but manully load icon and set it with SetMainIcon(hIcon);


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: znakeeye
Date Posted: 28 October 2008 at 5:21pm
Thanks a lot!



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