windows-nt/Source/XPSP1/NT/windows/netdde/incs/scrnupdt.h

35 lines
1.3 KiB
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
#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