The code in windows-thread is becoming long but we do not care of that length. It should be long.
We prepare code blocks from 1 to 4.
1 | - | switch(uMsg) { case WM_KEUP: break; case WM_Pant: break; } |
|
2 | - | Curosol Work: switch(Cursol_Number) { case 0: btc.Process (); break; case 1: btc2.Process (); break; } |
|
3 | - | We could judge if the all params stand or not for processing. 1: p_evt->Type<- uMsg 2: btc.CursolNumber 3. btc2.CursolNumber So, we could set the param for cg_schema(), which is now p_evt->main_mode. 1. Set p_evt->main_mode like 25. And call cg_schema(),. |
|
4 | - | We could judge how we call the next process like invalidate as end of thread. |
|
5 | - | ||
6 | - | ||
7 | - |
*
willinglytranslate.blogspot.com
*