Welcome to mirror list, hosted at ThFree Co, Russian Federation.

DialogSize.h « FileManager « UI « 7zip « CPP - github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f4dd1c328e214ceca0d3ae900c6aff4061ac7362 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// DialogSize.h

#ifndef __DIALOG_SIZE_H
#define __DIALOG_SIZE_H

#include "Windows/Control/Dialog.h"

#ifdef UNDER_CE
#define BIG_DIALOG_SIZE(x, y) bool isBig = NWindows::NControl::IsDialogSizeOK(x, y);
#define SIZED_DIALOG(big) (isBig ? big : big ## _2)
#else
#define BIG_DIALOG_SIZE(x, y)
#define SIZED_DIALOG(big) big
#endif

#endif