Click here to Skip to main content
15,924,317 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Loading JPEG from resource Pin
satadru22-Nov-03 0:48
satadru22-Nov-03 0:48 
GeneralRe: Loading JPEG from resource Pin
[ Jûroehn ]22-Nov-03 1:00
[ Jûroehn ]22-Nov-03 1:00 
GeneralRe: Loading JPEG from resource Pin
satadru23-Nov-03 22:16
satadru23-Nov-03 22:16 
GeneralInserting/Deleting Data Within Large File :: Win32 Pin
valikac21-Nov-03 19:54
valikac21-Nov-03 19:54 
GeneralRe: Inserting/Deleting Data Within Large File :: Win32 Pin
Peter Molnar22-Nov-03 15:22
Peter Molnar22-Nov-03 15:22 
GeneralRe: Inserting/Deleting Data Within Large File :: Win32 Pin
valikac22-Nov-03 16:21
valikac22-Nov-03 16:21 
GeneralPlaying Wave files on startup Pin
ineedhelp21-Nov-03 19:49
ineedhelp21-Nov-03 19:49 
GeneralRe: Playing Wave files on startup Pin
Peter Molnar22-Nov-03 15:23
Peter Molnar22-Nov-03 15:23 
Whether you beleive or not it is really as easy to play a wave file from your app as writing the following:

sndPlaySound("c:\\yourwavetoplay.wav",SND_ASYNC);

Put it into your OnInitDialog override to play it on application startup.
However, in order to use it, you have to add the windows multimedia library to your project

So, BEFORE you call the above line, add to your code:

#include "mmsystem.h" 
#pragma comment(lib,"Winmm.lib")


Peter Molnar
Generalcalculators Pin
JKohm21-Nov-03 19:37
JKohm21-Nov-03 19:37 
GeneralRe: calculators Pin
Peter Molnar22-Nov-03 15:50
Peter Molnar22-Nov-03 15:50 
Generalthe Mouse Wheel Event and the MSHFlexGird problem Pin
Jim Chan21-Nov-03 18:13
Jim Chan21-Nov-03 18:13 
GeneralA question for Gdi+ Bitmap class,thanks! Pin
Anonymous21-Nov-03 18:11
Anonymous21-Nov-03 18:11 
GeneralRe: A question for Gdi+ Bitmap class,thanks! Pin
l a u r e n21-Nov-03 18:42
l a u r e n21-Nov-03 18:42 
GeneralRe: A question for Gdi+ Bitmap class,thanks! Pin
Anonymous21-Nov-03 21:49
Anonymous21-Nov-03 21:49 
QuestionRAM, Processor, and Drive info? Pin
Dov Sherman21-Nov-03 16:26
Dov Sherman21-Nov-03 16:26 
AnswerRe: RAM, Processor, and Drive info? Pin
Michael Dunn21-Nov-03 16:43
sitebuilderMichael Dunn21-Nov-03 16:43 
GeneralRe: RAM, Processor, and Drive info? Pin
Dov Sherman21-Nov-03 18:15
Dov Sherman21-Nov-03 18:15 
GeneralRe: RAM, Processor, and Drive info? Pin
Michael Dunn22-Nov-03 7:25
sitebuilderMichael Dunn22-Nov-03 7:25 
AnswerRe: RAM, Processor, and Drive info? Pin
Abbas_Riazi21-Nov-03 18:22
professionalAbbas_Riazi21-Nov-03 18:22 
QuestionHow can I get the titles of the history list of a running web browser control like IE? Pin
xieweihua21-Nov-03 15:38
xieweihua21-Nov-03 15:38 
AnswerRe: How can I get the titles of the history list of a running web browser control like IE? Pin
Peter Molnar22-Nov-03 16:14
Peter Molnar22-Nov-03 16:14 
Questionwhen one will often use cwindowdc class?how do they work? Pin
liuvc++21-Nov-03 15:17
liuvc++21-Nov-03 15:17 
QuestionHow to get Undo/Redo effect as in Notepad like applications Pin
Hashim Saleem21-Nov-03 15:10
Hashim Saleem21-Nov-03 15:10 
AnswerRe: How to get Undo/Redo effect as in Notepad like applications Pin
l a u r e n21-Nov-03 18:45
l a u r e n21-Nov-03 18:45 
Generalremoving a char array from another Pin
thunderflash2121-Nov-03 12:20
thunderflash2121-Nov-03 12:20 

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.