Waitrud Weber’s blog

things and reminders for memories

WindowsAPI: user message is changed after call the WM_PAINT.

We can not consider that lootin if we write the code block of case in WM_PAINT.

We have the Controler wButtonControler and wCanvas and after we call them we relased all painted work resources and uMsg is changed and Consider code blocks.

We use any other parameter for switch-case like Type.

1   Set uMsg as Type for all processes as copying.    
2   Begin painted work.    
3   All prcoesses work.    
4   Release all painted work.     
5        
6        
7        
8        

 

*

We think, windows thread work is still very covinient.