Ask Your Question
0

If the form has been initialized, will InvokeRequired return a value of false?

asked 2023-05-16 20:38:08 +0000

huitzilopochtli gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-05-16 21:04:02 +0000

devzero gravatar image

No, regardless of whether the form has been initialized or not, InvokeRequired will check if the current thread is different from the thread that created the form, and return a value of true if they are different. It will return false if the call is being made from the same thread that created the form.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-05-16 20:38:08 +0000

Seen: 18 times

Last updated: May 16 '23