DisableTaskWindows

  • Thread starter Thread starter Atmapuri
  • Start date Start date
A

Atmapuri

Hi!

What is the euqivalent of WINAPI DisableTaskWindows(0) in CLR?

Thanks!
Atmapuri
 
Hello Atmapuri,

Where did u find this method?

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


A> What is the euqivalent of WINAPI DisableTaskWindows(0) in CLR?
A>
 
Hi!
Where did u find this method?

Its in Windows API.
I would like to disable all windows while the progress dialog is running
showing information from the background thread progress.

Obviously the window can not be Modal, because I can not update it
otherwise, with progress information.

Thanks!
Atmapuri
---
WBR, Michael Nemtsev [.NET/C# MVP] :: blog:
http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

A> What is the euqivalent of WINAPI DisableTaskWindows(0) in CLR?
A>
 
Atmapuri,
What is the euqivalent of WINAPI DisableTaskWindows(0) in CLR?

I don't think it's WINAPI call; DisableTaskWindows is defined in Forms.pas
of the VCL and seems to be a wrapper of EnumThreadWindows, which is on
pinvoke.net:
http://pinvoke.net/default.aspx/user32/EnumThreadWindows.html

looks like you'll have to interop it and wrap in a similar way. There
doesn't seem to be any equivalent native function of EnumThreadWindows.

--
Thank you,

Christopher Ireland
http://shunyata-kharg.doesntexist.com

"You can't have everything. Where would you put it?"
Steven Wright
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Disable User Input 4
Sending messages... 3
Unmanaged code interop! 1
Threading question! 7
Records passed to unmanaged code! 2
Code example of C# - use WinAPIs 2
Thread local storage... 6
C# Benchmarks! 2

Back
Top