Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Disable "windows sound" for Task dialog?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Disable "windows sound" for Task dialog?

 Post Reply Post Reply
Author
Message
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Topic: Disable "windows sound" for Task dialog?
    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.)
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 28 October 2008 at 5:21pm
Thanks a lot!
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.152 seconds.