Click here to Skip to main content
15,898,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: AboutBox Assertion Pin
Grahamfff24-Jul-04 10:51
Grahamfff24-Jul-04 10:51 
GeneralNot receiving NM_CUSTOMDRAW messasges Pin
Mike Landis23-Jul-04 21:02
Mike Landis23-Jul-04 21:02 
GeneralRe: Not receiving NM_CUSTOMDRAW messasges Pin
includeh1024-Jul-04 2:27
includeh1024-Jul-04 2:27 
GeneralRe: Not receiving NM_CUSTOMDRAW messasges Pin
Mike Landis24-Jul-04 10:00
Mike Landis24-Jul-04 10:00 
GeneralRe: Not receiving NM_CUSTOMDRAW messasges Pin
Karthik TL29-Mar-12 19:47
professionalKarthik TL29-Mar-12 19:47 
QuestionHow to call MFC DLL in installShield 6.x Pin
Sumit Kapoor23-Jul-04 20:04
Sumit Kapoor23-Jul-04 20:04 
AnswerRe: How to call MFC DLL in installShield 6.x Pin
Johan Rosengren23-Jul-04 23:10
Johan Rosengren23-Jul-04 23:10 
GeneralChanging the volume of my App only. Pin
Hesham Amin23-Jul-04 20:02
Hesham Amin23-Jul-04 20:02 
Hi I use waveOutSetVolume API to set the volume of the wave out audio I play in my application.
MSDN says : If a device identifier is used, then the result of the waveOutSetVolume call applies to all instances of the device. If a device handle is used, then the result applies only to the instance of the device referenced by the device handle.

So I use the handle I get from waveOutOpen API to change the volume of my Applcation not the system wide sound..
Simply this does not work as intended and the system wave volume changes and my code affects other programs..

code :
//in declarations :
HWAVEOUT m_WaveHandle;

//openning : 
waveOutOpen(&m_WaveHandle,WAVE_MAPPER,&m_wfx,hThread->m_nThreadID,NULL,CALLBACK_THREAD);

//Setting volume :
MMRESULT res;
res=waveOutSetVolume(m_WaveHandle,MAKELONG(leftVol*0xFFFF/100,rightVol*0xFFFF/100));


any ideas to solve this ?
I use Win2000/VC++6.0
GeneralWaveOut Problems in Windows application Pin
Fantmx23-Jul-04 18:48
Fantmx23-Jul-04 18:48 
GeneralGame Scripting... Pin
mztrjimmy23-Jul-04 16:10
mztrjimmy23-Jul-04 16:10 
GeneralRe: Game Scripting... Pin
Michael Dunn24-Jul-04 11:45
sitebuilderMichael Dunn24-Jul-04 11:45 
GeneralRe: Game Scripting... Pin
mztrjimmy25-Jul-04 10:36
mztrjimmy25-Jul-04 10:36 
GeneralRe: Game Scripting... Pin
Michael Dunn25-Jul-04 18:35
sitebuilderMichael Dunn25-Jul-04 18:35 
GeneralRe: Game Scripting... Pin
mztrjimmy25-Jul-04 18:49
mztrjimmy25-Jul-04 18:49 
Generalabout creating a dll in the project of win32 Pin
yingkou23-Jul-04 15:59
yingkou23-Jul-04 15:59 
GeneralRe: about creating a dll in the project of win32 Pin
Chris Losinger25-Jul-04 4:23
professionalChris Losinger25-Jul-04 4:23 
GeneralRe: about creating a dll in the project of win32 Pin
yingkou25-Jul-04 13:54
yingkou25-Jul-04 13:54 
GeneralRe: about creating a dll in the project of win32 Pin
Chris Losinger25-Jul-04 16:04
professionalChris Losinger25-Jul-04 16:04 
GeneralChange default output folder (PDF Printing) Pin
henky_arektc9723-Jul-04 15:32
henky_arektc9723-Jul-04 15:32 
GeneralRe: Change default output folder (PDF Printing) Pin
henky_arektc9723-Jul-04 17:05
henky_arektc9723-Jul-04 17:05 
QuestionHow to rename the CButton object? Pin
Dody_DK23-Jul-04 14:47
Dody_DK23-Jul-04 14:47 
AnswerRe: How to rename the CButton object? Pin
henky_arektc9723-Jul-04 15:38
henky_arektc9723-Jul-04 15:38 
GeneralRe: How to rename the CButton object? Pin
Dody_DK23-Jul-04 16:26
Dody_DK23-Jul-04 16:26 
GeneralRe: How to rename the CButton object? Pin
henky_arektc9723-Jul-04 16:59
henky_arektc9723-Jul-04 16:59 
GeneralRe: How to rename the CButton object? Pin
Dody_DK24-Jul-04 1:59
Dody_DK24-Jul-04 1:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.