• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // DialogSize.h
2 
3 #ifndef __DIALOG_SIZE_H
4 #define __DIALOG_SIZE_H
5 
6 #include "../../../Windows/Control/Dialog.h"
7 
8 #ifdef UNDER_CE
9 #define BIG_DIALOG_SIZE(x, y) bool isBig = NWindows::NControl::IsDialogSizeOK(x, y);
10 #define SIZED_DIALOG(big) (isBig ? big : big ## _2)
11 #else
12 #define BIG_DIALOG_SIZE(x, y)
13 #define SIZED_DIALOG(big) big
14 #endif
15 
16 #endif
17