Click here to Skip to main content
16,010,650 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to call Onpaint only when dialog is receiving user inputs? Pin
coda_x3-Dec-03 13:56
coda_x3-Dec-03 13:56 
AnswerRe: how to call Onpaint only when dialog is receiving user inputs? Pin
Stan the man3-Dec-03 19:47
Stan the man3-Dec-03 19:47 
GeneralRe: how to call Onpaint only when dialog is receiving user inputs? Pin
coda_x3-Dec-03 20:13
coda_x3-Dec-03 20:13 
GeneralPlaying multiple sounds... Pin
Kagehi3-Dec-03 12:22
Kagehi3-Dec-03 12:22 
GeneralRe: Playing multiple sounds... Pin
KaЯl3-Dec-03 23:45
KaЯl3-Dec-03 23:45 
GeneralRe: Playing multiple sounds... Pin
Kagehi4-Dec-03 11:28
Kagehi4-Dec-03 11:28 
GeneralRe: Playing multiple sounds... Pin
KaЯl4-Dec-03 11:47
KaЯl4-Dec-03 11:47 
GeneralRe: Playing multiple sounds... Pin
Kagehi5-Dec-03 9:08
Kagehi5-Dec-03 9:08 
Because in certain cases it doesn't. The Dink Smallwood engine for instance, at least on my computer, will if I turn on sound occasionally 'lock' one of the sound channels in an endless loop. I am not sure if this is a stability issue, do to memory issues caused by my badly in need of replacing AGP card, or some issue with the engine, but short of shutting down the game (which releases all the channels), it doesn't go away. The articles I have seen appear to indicate that you can be 'sort of' sure that a sound has at least been sent to the card, but not if it is playing or anything else useful. This means that if something locks up a sound channel, which gets stuck looping the sound and for some reason the card never gets told it is supposed to release it, then nothing short of a reboot of the machine will stop it.

This is like a lot of things with that seems to have MS' fingerprints on it. I could care less how well it works when everything goes right, I want to be able to control and correct problems when something inevitably goes wrong. In this case two things can go wrong, right of the top of my head. 1) a channel can get locked and looped, and since you can't reset the card, you have to reboot instead. 2) You can't even verify how many sounds are possible, so you are forced to either keep a list of every model of every card, so the game knows what the card can do, or design conservatively based on the bare minimum you can reasonably expect to have available. The first option is bloat that provides nothing to the game engine and the second option just flat out sucks.

It's like if they designed a new hard drive that you could continue to add more and more stuff too, but didn't let you check how much space your files had already taken up. Suddenly 'wham!' you are out of space and wondering what moron thought it was a good idea. lol

Anyway... Enough ranting. lol
GeneralRe: Playing multiple sounds... Pin
KaЯl7-Dec-03 21:11
KaЯl7-Dec-03 21:11 
GeneralFile Systems Pin
Adam Gritt3-Dec-03 10:37
Adam Gritt3-Dec-03 10:37 
GeneralRe: File Systems Pin
Ravi Bhavnani3-Dec-03 11:15
professionalRavi Bhavnani3-Dec-03 11:15 
GeneralRe: File Systems Pin
RChin3-Dec-03 12:36
RChin3-Dec-03 12:36 
GeneralRe: File Systems Pin
Peter Molnar3-Dec-03 12:46
Peter Molnar3-Dec-03 12:46 
GeneralRe: File Systems Pin
Tom Archer3-Dec-03 13:17
Tom Archer3-Dec-03 13:17 
GeneralRe: File Systems Pin
Prakash Nadar3-Dec-03 14:42
Prakash Nadar3-Dec-03 14:42 
GeneralRe: File Systems Pin
jhwurmbach3-Dec-03 21:43
jhwurmbach3-Dec-03 21:43 
GeneralRe: File Systems Pin
Adam Gritt4-Dec-03 3:21
Adam Gritt4-Dec-03 3:21 
GeneralRe: File Systems Pin
Patrick Bricout27-Jan-04 10:28
Patrick Bricout27-Jan-04 10:28 
QuestionFile conversion - base code or design pattern available? Pin
Tom Archer3-Dec-03 10:25
Tom Archer3-Dec-03 10:25 
AnswerRe: File conversion - base code or design pattern available? Pin
Christian Graus3-Dec-03 11:06
protectorChristian Graus3-Dec-03 11:06 
GeneralRe: File conversion - base code or design pattern available? Pin
Tom Archer3-Dec-03 13:13
Tom Archer3-Dec-03 13:13 
GeneralRe: File conversion - base code or design pattern available? Pin
Christian Graus3-Dec-03 13:18
protectorChristian Graus3-Dec-03 13:18 
GeneralRe: File conversion - base code or design pattern available? Pin
Tom Archer3-Dec-03 13:21
Tom Archer3-Dec-03 13:21 
GeneralRe: File conversion - base code or design pattern available? Pin
Nick Parker3-Dec-03 15:36
protectorNick Parker3-Dec-03 15:36 
GeneralRe: File conversion - base code or design pattern available? Pin
Christian Graus3-Dec-03 15:43
protectorChristian Graus3-Dec-03 15:43 

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.