Click here to Skip to main content
15,887,302 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Current directory Pin
David Crow2-Jun-06 3:17
David Crow2-Jun-06 3:17 
QuestionPackage Pin
VinayCool2-Jun-06 1:22
VinayCool2-Jun-06 1:22 
AnswerRe: Package Pin
Hamid_RT2-Jun-06 1:40
Hamid_RT2-Jun-06 1:40 
AnswerRe: Package Pin
SteveKing2-Jun-06 3:49
SteveKing2-Jun-06 3:49 
QuestionTimers in VC++ Pin
Sharath862-Jun-06 1:08
Sharath862-Jun-06 1:08 
AnswerRe: Timers in VC++ Pin
Amar Sutar2-Jun-06 1:17
Amar Sutar2-Jun-06 1:17 
AnswerRe: Timers in VC++ [modified] Pin
_AnsHUMAN_ 2-Jun-06 1:21
_AnsHUMAN_ 2-Jun-06 1:21 
AnswerRe: Timers in VC++ [modified] Pin
James R. Twine2-Jun-06 4:50
James R. Twine2-Jun-06 4:50 
   There is one important thing to remember when dealing with Windows timers that people often forget.  The SetTimer function returns the ID of the created timer.  There is no guarantee that the actual returned ID of the created timer will be the same ID as requested.

   The return value of SetTimer(...) should be used to identify the timer in the timer-handling function and when destroying the timer.

   (Note that the link provided below to http://www.codersource.net/mfc_working_with_timers.html does this correctly, although it does something really stupid in the OnTimer(...) by using dynamically allocated memory for no good reason...)

   Peace!

-=- James
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
DeleteFXPFiles & CheckFavorites
(Please rate this post!)
AnswerRe: Timers in VC++ Pin
Hamid_RT2-Jun-06 1:22
Hamid_RT2-Jun-06 1:22 
QuestionInvoke Default Mail Client (with attachment) [modified] Pin
QuickDeveloper2-Jun-06 1:06
QuickDeveloper2-Jun-06 1:06 
AnswerRe: Invoke Default Mail Client (with attachment) [modified] Pin
Brad Bruce2-Jun-06 2:10
Brad Bruce2-Jun-06 2:10 
AnswerRe: Invoke Default Mail Client (with attachment) [modified] Pin
David Crow2-Jun-06 3:21
David Crow2-Jun-06 3:21 
AnswerRe: Invoke Default Mail Client (with attachment) Pin
Michael Dunn2-Jun-06 7:47
sitebuilderMichael Dunn2-Jun-06 7:47 
QuestionSOS urgent Help Required!!!Worker Thread Trouble Pin
Sharath862-Jun-06 1:05
Sharath862-Jun-06 1:05 
AnswerRe: SOS urgent Help Required!!!Worker Thread Trouble [modified] Pin
_anil_2-Jun-06 1:21
_anil_2-Jun-06 1:21 
GeneralRe: SOS urgent Help Required!!!Worker Thread Trouble [modified] Pin
Sharath862-Jun-06 1:35
Sharath862-Jun-06 1:35 
GeneralRe: SOS urgent Help Required!!!Worker Thread Trouble [modified] Pin
Kelly Herald2-Jun-06 4:50
Kelly Herald2-Jun-06 4:50 
GeneralRe: SOS urgent Help Required!!!Worker Thread Trouble [modified] Pin
Viorel.2-Jun-06 1:51
Viorel.2-Jun-06 1:51 
QuestionBitMap coloring [modified] Pin
RockyJames2-Jun-06 1:00
RockyJames2-Jun-06 1:00 
AnswerRe: BitMap coloring Pin
Hamid_RT2-Jun-06 1:14
Hamid_RT2-Jun-06 1:14 
GeneralRe: BitMap coloring Pin
RockyJames2-Jun-06 1:33
RockyJames2-Jun-06 1:33 
GeneralRe: BitMap coloring Pin
Hamid_RT2-Jun-06 1:50
Hamid_RT2-Jun-06 1:50 
GeneralRe: BitMap coloring Pin
QuickDeveloper2-Jun-06 1:58
QuickDeveloper2-Jun-06 1:58 
GeneralRe: BitMap coloring Pin
Hamid_RT2-Jun-06 2:23
Hamid_RT2-Jun-06 2:23 
GeneralRe: BitMap coloring Pin
RockyJames2-Jun-06 2:04
RockyJames2-Jun-06 2:04 

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.