Click here to Skip to main content
16,018,006 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCGdiObject::CreateStockObject Pin
Stlan1-Jun-05 19:26
Stlan1-Jun-05 19:26 
GeneralRe: CGdiObject::CreateStockObject Pin
super1-Jun-05 20:50
professionalsuper1-Jun-05 20:50 
GeneralRe: CGdiObject::CreateStockObject Pin
HumanOsc1-Jun-05 21:38
HumanOsc1-Jun-05 21:38 
GeneralRe: CGdiObject::CreateStockObject Pin
super1-Jun-05 21:46
professionalsuper1-Jun-05 21:46 
GeneralRe: CGdiObject::CreateStockObject Pin
Stlan1-Jun-05 22:09
Stlan1-Jun-05 22:09 
QuestionHow Can I add Random Mode? Pin
Keitaro211-Jun-05 19:06
Keitaro211-Jun-05 19:06 
AnswerRe: How Can I add Random Mode? Pin
Cedric Moonen1-Jun-05 21:17
Cedric Moonen1-Jun-05 21:17 
GeneralRe: How Can I add Random Mode? Pin
recoup_this2-Jun-05 2:24
recoup_this2-Jun-05 2:24 
The info about the modulo operator is wrong. Modulo will give you the remainder, correct, but the remainder of 123456/1 is, have we guessed it yet, 0!!!

Any integer divided by 1, will leave no remainder. Similarily any integer divided by 2 will leave a remainder of 0 or 1, any integer divided by 3 will leave a remainder or 0, 1, or 2. And so on...

So the ouput of that expression will be inside your bounds if you have 1 element in your array. Also it will be in your array's bounds aslong as the size of the array is equal to (or greater than) the number of items in your playlist.

Be careful to check that if theApp...PlayList.GetCount() returns 0, (i.e. your playlist has no entries), that you don't calculate rand()%theApp..GetCount(), as rand()%0 will cause a 'Divide By Zero exception'.
Questionis it possible to know which disc inserted to dvd-r drive? Pin
baboguru1-Jun-05 18:59
baboguru1-Jun-05 18:59 
AnswerRe: is it possible to know which disc inserted to dvd-r drive? Pin
kakan2-Jun-05 3:24
professionalkakan2-Jun-05 3:24 
GeneralCOM Exe Link error Pin
VCSharp0071-Jun-05 18:07
VCSharp0071-Jun-05 18:07 
GeneralRe: COM Exe Link error Pin
Christian Graus1-Jun-05 18:16
protectorChristian Graus1-Jun-05 18:16 
GeneralRe: COM Exe Link error Pin
VCSharp0071-Jun-05 21:00
VCSharp0071-Jun-05 21:00 
GeneralRe: COM Exe Link error Pin
NormDroid1-Jun-05 23:23
professionalNormDroid1-Jun-05 23:23 
GeneralRe: COM Exe Link error Pin
VCSharp0072-Jun-05 3:13
VCSharp0072-Jun-05 3:13 
GeneralHi All Pin
Sreekanth Muralidharan1-Jun-05 18:01
Sreekanth Muralidharan1-Jun-05 18:01 
GeneralRe: Hi All Pin
ThatsAlok1-Jun-05 19:18
ThatsAlok1-Jun-05 19:18 
GeneralAbout <b>FindFirstChangeNotification</b> and <b>ReadDirectoryChangeW</b> Pin
a_du1-Jun-05 16:31
a_du1-Jun-05 16:31 
GeneralRe: About <b>FindFirstChangeNotification</b> and <b>ReadDirectoryChangeW</b> Pin
ThatsAlok1-Jun-05 18:51
ThatsAlok1-Jun-05 18:51 
GeneralRe: About <b>FindFirstChangeNotification</b> and <b>ReadDirectoryChangeW</b> Pin
a_du1-Jun-05 23:41
a_du1-Jun-05 23:41 
GeneralRe: About <b>FindFirstChangeNotification</b> and <b>ReadDirectoryChangeW</b> Pin
ThatsAlok1-Jun-05 23:55
ThatsAlok1-Jun-05 23:55 
GeneralRe: About <b>FindFirstChangeNotification</b> and <b>ReadDirectoryChangeW</b> Pin
S. Senthil Kumar1-Jun-05 23:45
S. Senthil Kumar1-Jun-05 23:45 
GeneralRe: About <b>FindFirstChangeNotification</b> and <b>ReadDirectoryChangeW</b> Pin
ThatsAlok1-Jun-05 23:57
ThatsAlok1-Jun-05 23:57 
GeneralPostMessage causing hang... Pin
Ian Bowler1-Jun-05 16:25
Ian Bowler1-Jun-05 16:25 
GeneralRe: PostMessage causing hang... Pin
Christian Graus1-Jun-05 16:43
protectorChristian Graus1-Jun-05 16: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.