NT4/private/windows/netdde/incs/scrnupdt.h
2020-09-30 17:12:29 +02:00

35 lines
1.3 KiB
C

#ifndef H__scrnupdt
#define H__scrnupdt
#ifdef HASUI
extern BOOL bShowStatistics;
extern BOOL bIconic;
#define UpdateScreenStatistics() \
{ \
if( bShowStatistics && !bIconic ) { \
if (ptdHead != NULL) \
InvalidateRect( ptdHead->hwndDDE, NULL, FALSE ); \
} \
}
#define UpdateScreenState() \
{ \
if( !bIconic ) { \
if (ptdHead != NULL) { \
InvalidateRect( ptdHead->hwndDDE, NULL, TRUE ); \
UpdateWindow(ptdHead->hwndDDE); \
} \
} \
}
#else
#define UpdateScreenStatistics()
#define UpdateScreenState()
#endif // HASUI
#endif // !H__scrnupdt