Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.3 KiB

  1. #ifndef H__scrnupdt
  2. #define H__scrnupdt
  3. #ifdef HASUI
  4. extern BOOL bShowStatistics;
  5. extern BOOL bIconic;
  6. #define UpdateScreenStatistics() \
  7. { \
  8. if( bShowStatistics && !bIconic ) { \
  9. if (ptdHead != NULL) \
  10. InvalidateRect( ptdHead->hwndDDE, NULL, FALSE ); \
  11. } \
  12. }
  13. #define UpdateScreenState() \
  14. { \
  15. if( !bIconic ) { \
  16. if (ptdHead != NULL) { \
  17. InvalidateRect( ptdHead->hwndDDE, NULL, TRUE ); \
  18. UpdateWindow(ptdHead->hwndDDE); \
  19. } \
  20. } \
  21. }
  22. #else
  23. #define UpdateScreenStatistics()
  24. #define UpdateScreenState()
  25. #endif // HASUI
  26. #endif // !H__scrnupdt