Looking for .NET alternative to the LockWindoxUpdate function

  • Thread starter Thread starter Steph.
  • Start date Start date
S

Steph.

Hi,

Is there a .NET alternative to the LockWindowUpdate from Windows's user32 dLL ?

Or is the only way to get this kind of function to import it from the DLL and by this way making the .NET application only running on Windows System ?


Thanks for help,

Steph.
 
You can use DllImport to call that function directly. Take a look at http://www.pinvoke.net/ for details.


Hi,

Is there a .NET alternative to the LockWindowUpdate from Windows's user32 dLL ?

Or is the only way to get this kind of function to import it from the DLL and by this way making the .NET application only running on Windows System ?


Thanks for help,

Steph.
 
Not sure what exactly you need this for in a Winforms application?

Willy.

Hi,

Is there a .NET alternative to the LockWindowUpdate from Windows's user32 dLL ?

Or is the only way to get this kind of function to import it from the DLL and by this way making the .NET application only running on Windows System ?


Thanks for help,

Steph.
 
Back
Top