LockWindowUpdate: similar function

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I use LockWindowUpdate function to disable or reenable drawing in the
specified window when I am programming with win32 api.

Is there any way to do this in CE framework?

Emile Petrus
 
Thanks a lot

The WM_SETREDRAW message have a similar function in C# CF ?

Like 'AnyComponet.StopDraw' and 'AnyComponent.ReDraw'

Sergey Bogdanov said:
There is no support for the LockWidnowUpdate function. You may try to
send the WM_SETREDRAW message [1] instead :- but it only works for list
boxes, tree views, combo boxes.


[1]
http://msdn.microsoft.com/library/d...n-us/wceshellui5/html/wce50lrfwmsetredraw.asp


--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com


Emile said:
I use LockWindowUpdate function to disable or reenable drawing in the
specified window when I am programming with win32 api.

Is there any way to do this in CE framework?

Emile Petrus
 
See this:
http://blog.opennetcf.org/afeinman/PermaLink,guid,9305a1d9-e24e-4310-89e2-f80808076a37.aspx

--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com


Emile said:
Thanks a lot

The WM_SETREDRAW message have a similar function in C# CF ?

Like 'AnyComponet.StopDraw' and 'AnyComponent.ReDraw'

:

There is no support for the LockWidnowUpdate function. You may try to
send the WM_SETREDRAW message [1] instead :- but it only works for list
boxes, tree views, combo boxes.


[1]
http://msdn.microsoft.com/library/d...n-us/wceshellui5/html/wce50lrfwmsetredraw.asp


--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com


Emile said:
I use LockWindowUpdate function to disable or reenable drawing in the
specified window when I am programming with win32 api.

Is there any way to do this in CE framework?

Emile Petrus
 
Back
Top