Click here to Skip to main content
15,922,533 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionTimer in MFC Pin
jossion23-Oct-07 20:32
jossion23-Oct-07 20:32 
AnswerRe: Timer in MFC Pin
__yash__23-Oct-07 21:01
professional__yash__23-Oct-07 21:01 
AnswerRe: Timer in MFC Pin
Nishad S23-Oct-07 21:17
Nishad S23-Oct-07 21:17 
AnswerRe: Timer in MFC Pin
KarstenK23-Oct-07 21:22
mveKarstenK23-Oct-07 21:22 
GeneralRe: Timer in MFC Pin
jossion24-Oct-07 1:09
jossion24-Oct-07 1:09 
GeneralRe: Timer in MFC Pin
KarstenK24-Oct-07 1:26
mveKarstenK24-Oct-07 1:26 
GeneralRe: Timer in MFC Pin
David Crow24-Oct-07 3:22
David Crow24-Oct-07 3:22 
AnswerRe: Timer in MFC Pin
David Crow24-Oct-07 3:20
David Crow24-Oct-07 3:20 
jossion wrote:
Out of these one sub thread should be used for displaying video at intervals of 40ms. How do i create a periodic timer to accomplish this job.


You probably shouldn't, since the primary thread owns the UI. Instead, have the secondary thread post a message to the primary thread indicating what needs to be displayed.


"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne


QuestionEfficiency of Software(MFC) Pin
__yash__23-Oct-07 20:28
professional__yash__23-Oct-07 20:28 
AnswerRe: Efficiency of Software(MFC) Pin
Peter Weyzen24-Oct-07 13:41
Peter Weyzen24-Oct-07 13:41 
Questionsafe to delete immediately following CWnd::DestroyWindow? Pin
Peter Weyzen23-Oct-07 19:22
Peter Weyzen23-Oct-07 19:22 
AnswerRe: safe to delete immediately following CWnd::DestroyWindow? Pin
Nishad S23-Oct-07 20:17
Nishad S23-Oct-07 20:17 
AnswerRe: safe to delete immediately following CWnd::DestroyWindow? Pin
Naveen23-Oct-07 23:20
Naveen23-Oct-07 23:20 
GeneralRe: safe to delete immediately following CWnd::DestroyWindow? Pin
Nishad S24-Oct-07 0:00
Nishad S24-Oct-07 0:00 
GeneralRe: safe to delete immediately following CWnd::DestroyWindow? Pin
Naveen24-Oct-07 0:17
Naveen24-Oct-07 0:17 
GeneralRe: safe to delete immediately following CWnd::DestroyWindow? Pin
Nishad S24-Oct-07 0:20
Nishad S24-Oct-07 0:20 
GeneralRe: safe to delete immediately following CWnd::DestroyWindow? Pin
Naveen24-Oct-07 0:27
Naveen24-Oct-07 0:27 
GeneralRe: safe to delete immediately following CWnd::DestroyWindow? Pin
Nishad S24-Oct-07 0:35
Nishad S24-Oct-07 0:35 
GeneralRe: safe to delete immediately following CWnd::DestroyWindow? Pin
Peter Weyzen24-Oct-07 13:42
Peter Weyzen24-Oct-07 13:42 
Questionquestion on operator * and & Pin
King Tran23-Oct-07 19:01
King Tran23-Oct-07 19:01 
AnswerRe: question on operator * and & Pin
Neo Andreson23-Oct-07 19:06
Neo Andreson23-Oct-07 19:06 
AnswerRe: question on operator * and & Pin
Nishad S23-Oct-07 20:30
Nishad S23-Oct-07 20:30 
GeneralRe: question on operator * and & Pin
toxcct24-Oct-07 1:33
toxcct24-Oct-07 1:33 
GeneralRe: question on operator * and & Pin
Nishad S24-Oct-07 1:49
Nishad S24-Oct-07 1:49 
AnswerRe: question on operator * and & Pin
toxcct24-Oct-07 0:29
toxcct24-Oct-07 0:29 

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.