![]() |
Disable "windows sound" for Task dialog? |
Post Reply ![]() |
Author | |
znakeeye ![]() Senior Member ![]() ![]() Joined: 26 July 2006 Status: Offline Points: 1672 |
![]() ![]() ![]() ![]() ![]() 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.)
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
znakeeye ![]() Senior Member ![]() ![]() Joined: 26 July 2006 Status: Offline Points: 1672 |
![]() ![]() ![]() ![]() ![]() |
Thanks a lot!
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |