Click here to Skip to main content
15,890,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to popup a dialog in a combobox like control? Pin
G.Richard10-Jan-02 3:55
G.Richard10-Jan-02 3:55 
AnswerRe: how to popup a dialog in a combobox like control? Pin
Michael P Butler10-Jan-02 4:15
Michael P Butler10-Jan-02 4:15 
GeneralRe: how to popup a dialog in a combobox like control? Pin
G.Richard10-Jan-02 16:58
G.Richard10-Jan-02 16:58 
QuestionPhysical menu size ??? Pin
Christian Graus9-Jan-02 16:11
protectorChristian Graus9-Jan-02 16:11 
AnswerRe: Physical menu size ??? Pin
Derek Waters9-Jan-02 19:51
Derek Waters9-Jan-02 19:51 
GeneralLoading ActiveX from another ActiveX Pin
mad05039-Jan-02 16:00
mad05039-Jan-02 16:00 
QuestionDisable CButton while function executes? Pin
9-Jan-02 10:40
suss9-Jan-02 10:40 
AnswerRe: Disable CButton while function executes? Pin
Alvaro Mendez9-Jan-02 12:24
Alvaro Mendez9-Jan-02 12:24 
The OnPlay code will work if the "code to play wave file" is synchronous. My suspicion is that it starts playing the wave file and then continues to the code that re-enables the Play button again.

Have you run this through the debugger?

You don't show the code to play the wave file, but take a look at the sndPlaySound function to which you can pass the SND_SYNC flag.

Regards,
Alvaro
AnswerRe: Disable CButton while function executes? Pin
Eugene Pustovoyt9-Jan-02 19:59
Eugene Pustovoyt9-Jan-02 19:59 
AnswerRe: Disable CButton while function executes? Pin
Nish Nishant9-Jan-02 22:08
sitebuilderNish Nishant9-Jan-02 22:08 
GeneralRe: Disable CButton while function executes? Pin
10-Jan-02 4:40
suss10-Jan-02 4:40 
GeneralRe: Disable CButton while function executes? Pin
James R. Twine10-Jan-02 7:26
James R. Twine10-Jan-02 7:26 
GeneralRe: Handle MM_MCINOTIFY notify message Pin
11-Jan-02 7:30
suss11-Jan-02 7:30 
GeneralRe: Handle MM_MCINOTIFY notify message Pin
James R. Twine11-Jan-02 19:00
James R. Twine11-Jan-02 19:00 
GeneralFinding and the keep go'n! Pin
Rickard Andersson209-Jan-02 10:38
Rickard Andersson209-Jan-02 10:38 
GeneralRe: Finding and the keep go'n! Pin
Christian Graus9-Jan-02 10:50
protectorChristian Graus9-Jan-02 10:50 
GeneralRe: Finding and the keep go'n! Pin
Alvaro Mendez9-Jan-02 12:42
Alvaro Mendez9-Jan-02 12:42 
GeneralRe: Finding and the keep go'n! Pin
Christian Graus9-Jan-02 13:21
protectorChristian Graus9-Jan-02 13:21 
GeneralRe: Finding and the keep go'n! Pin
Alvaro Mendez9-Jan-02 16:11
Alvaro Mendez9-Jan-02 16:11 
GeneralRe: Finding and the keep go'n! Pin
Christian Graus9-Jan-02 16:52
protectorChristian Graus9-Jan-02 16:52 
GeneralRe: Finding and the keep go'n! Pin
Alvaro Mendez9-Jan-02 17:22
Alvaro Mendez9-Jan-02 17:22 
GeneralC++ Win32 API: Pictures on buttons... Pin
ParaSwarm9-Jan-02 10:33
ParaSwarm9-Jan-02 10:33 
GeneralRe: C++ Win32 API: Pictures on buttons... Pin
Christian Graus9-Jan-02 10:36
protectorChristian Graus9-Jan-02 10:36 
QuestionPrintInsideRect for CScrollView? Pin
Joe Dean9-Jan-02 9:16
Joe Dean9-Jan-02 9:16 
AnswerRe: PrintInsideRect for CScrollView? Pin
Ernest Laurentin9-Jan-02 10:19
Ernest Laurentin9-Jan-02 10:19 

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.