mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-03 23:04:08 +01:00
a6ecdd0f9e
2509 2513 2514 2515 2516 2517 2518 2519 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 and 2544 from trunk with the goal of adding localization support to this branch so that it can be released before all the networking stuff on trunk is debugged.
24 lines
1 KiB
C
24 lines
1 KiB
C
// -*- mode: c; compile-command: "make TARGET_OS=wince DEBUG=TRUE"; -*-
|
|
|
|
#ifdef _WIN32_WCE
|
|
# define UDS_EXPANDABLE 0x0200
|
|
# define UDS_NOSCROLL 0x0400
|
|
# define LISTBOX_CONTROL_FLAGS \
|
|
NOT LBS_NOTIFY | LBS_NOINTEGRALHEIGHT | NOT WS_BORDER | WS_TABSTOP
|
|
# define SPINNER_CONTROL_FLAGS \
|
|
UDS_AUTOBUDDY | UDS_HORZ | UDS_ALIGNRIGHT | UDS_ARROWKEYS |\
|
|
UDS_SETBUDDYINT | UDS_EXPANDABLE
|
|
#endif
|
|
|
|
#ifdef _WIN32_WCE
|
|
# define XWCOMBO(id,xx,yy,ww,ht1,exf1,ht2,exf2) \
|
|
LISTBOX id, xx,yy,ww,ht1, LISTBOX_CONTROL_FLAGS | exf1 \
|
|
CONTROL "", id+1, UPDOWN_CLASS, SPINNER_CONTROL_FLAGS,0,0,0,0 \
|
|
COMBOBOX id+2,xx,yy,ww,ht2, \
|
|
CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
|
#else
|
|
# define XWCOMBO(id,xx,yy,ww,ht1,exf1,ht2,exf2) \
|
|
COMBOBOX id+2,xx,yy,ww,ht1, \
|
|
CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP | exf2
|
|
#endif
|
|
|