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

C / C++ / MFC

 
QuestionCDialog DoModal function [Moved] Pin
prithaa30-Sep-10 1:48
prithaa30-Sep-10 1:48 
AnswerRe: CDialog DoModal function Pin
Richard MacCutchan30-Sep-10 2:27
mveRichard MacCutchan30-Sep-10 2:27 
GeneralRe: CDialog DoModal function Pin
prithaa1-Oct-10 1:42
prithaa1-Oct-10 1:42 
GeneralRe: CDialog DoModal function Pin
Richard MacCutchan1-Oct-10 2:35
mveRichard MacCutchan1-Oct-10 2:35 
GeneralRe: CDialog DoModal function Pin
prithaa1-Oct-10 17:20
prithaa1-Oct-10 17:20 
GeneralRe: CDialog DoModal function Pin
Richard MacCutchan1-Oct-10 23:05
mveRichard MacCutchan1-Oct-10 23:05 
GeneralRe: CDialog DoModal function Pin
prithaa2-Oct-10 0:17
prithaa2-Oct-10 0:17 
GeneralRe: CDialog DoModal function Pin
Richard MacCutchan2-Oct-10 1:11
mveRichard MacCutchan2-Oct-10 1:11 
GeneralRe: CDialog DoModal function Pin
prithaa2-Oct-10 2:06
prithaa2-Oct-10 2:06 
GeneralRe: CDialog DoModal function Pin
Richard MacCutchan2-Oct-10 4:12
mveRichard MacCutchan2-Oct-10 4:12 
GeneralRe: CDialog DoModal function Pin
prithaa3-Oct-10 2:09
prithaa3-Oct-10 2:09 
GeneralRe: CDialog DoModal function Pin
Richard MacCutchan3-Oct-10 3:15
mveRichard MacCutchan3-Oct-10 3:15 
GeneralRe: CDialog DoModal function Pin
prithaa3-Oct-10 23:24
prithaa3-Oct-10 23:24 
GeneralRe: CDialog DoModal function Pin
Richard MacCutchan4-Oct-10 0:44
mveRichard MacCutchan4-Oct-10 0:44 
GeneralRe: CDialog DoModal function Pin
prithaa4-Oct-10 1:18
prithaa4-Oct-10 1:18 
GeneralRe: CDialog DoModal function Pin
Richard MacCutchan4-Oct-10 3:21
mveRichard MacCutchan4-Oct-10 3:21 
GeneralRe: CDialog DoModal function Pin
prithaa4-Oct-10 5:19
prithaa4-Oct-10 5:19 
GeneralRe: CDialog DoModal function Pin
Richard MacCutchan4-Oct-10 5:41
mveRichard MacCutchan4-Oct-10 5:41 
GeneralRe: CDialog DoModal function Pin
prithaa4-Oct-10 6:20
prithaa4-Oct-10 6:20 
GeneralRe: CDialog DoModal function Pin
prithaa4-Oct-10 6:21
prithaa4-Oct-10 6:21 
QuestionAssign value to a variable after a delay Pin
manoharbalu29-Sep-10 19:32
manoharbalu29-Sep-10 19:32 
I am programming a model for Process state simulation

In my model the program logic is similar to logic gates. The state of different boolean variables changes from 1 to 0 or vice versa.
Eg: The value of A, B, C and other variables changes from 0 to 1 and viceversa depending on some calculation and behaviour of the model.

There are some dependant variables X, Y, Z and other variables whose state changes accordingly the same depending on A, B and C. The dependant variables should not change immediately but with a delay that is set by the user.

My requirement is I need a function where if I call the function by passing the variable name, dependant variable name and the time delay so that the dependant variable changes according to the variable only after the set time delay. The function call should not disturb or create time delay in the model. It should only create a delay after which the dependant variable is assigned with the value.

Kindly help.

Thanks,

Mohan
AnswerRe: Assign value to a variable after a delay Pin
Cedric Moonen29-Sep-10 20:13
Cedric Moonen29-Sep-10 20:13 
AnswerRe: Assign value to a variable after a delay [modified] Pin
Eugen Podsypalnikov29-Sep-10 20:48
Eugen Podsypalnikov29-Sep-10 20:48 
AnswerRe: Assign value to a variable after a delay Pin
Aescleal29-Sep-10 20:52
Aescleal29-Sep-10 20:52 
GeneralRe: Assign value to a variable after a delay Pin
Luc Pattyn30-Sep-10 0:43
sitebuilderLuc Pattyn30-Sep-10 0: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.