disable paint messages to a control
-
hey there, I would like to disable paint-updates to my tree control while i fill it with data using MFC, but cant find the api to use.. can anybody help?
-
hey there, I would like to disable paint-updates to my tree control while i fill it with data using MFC, but cant find the api to use.. can anybody help?
-
hey there, I would like to disable paint-updates to my tree control while i fill it with data using MFC, but cant find the api to use.. can anybody help?
flippydeflippydebop wrote:
I would like to disable paint-updates to my tree control while i fill it with data using MFC, but cant find the api to use.. can anybody help?
To switch off painting call
SetRedraw( FALSE )
. To turn painting on againSetRedraw( TRUE ).
Nibu thomas A Developer Programming tips[^] My site[^]
-
flippydeflippydebop wrote:
I would like to disable paint-updates to my tree control while i fill it with data using MFC, but cant find the api to use.. can anybody help?
To switch off painting call
SetRedraw( FALSE )
. To turn painting on againSetRedraw( TRUE ).
Nibu thomas A Developer Programming tips[^] My site[^]
cheers guys... I have just used lockWindowUpdate/UnlockWindowUpdate which works a treat.. thanks for your prompt replies...
-
cheers guys... I have just used lockWindowUpdate/UnlockWindowUpdate which works a treat.. thanks for your prompt replies...
flippydeflippydebop wrote:
I have just used lockWindowUpdate/UnlockWindowUpdate which works a treat..
A locked window cannot be moved. :~
Nibu thomas A Developer Programming tips[^] My site[^]