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$h$j!"(B
$BA4LL%b!<%I$HDL>o%b!<%I$N8r8_$N@Z$j49$($,9T$J$o$l$k!#(B
$B>C5n(B
$B0J2<$NA`:n$G!"%&%#%s%I%&$O>C5n$5$l$k!#(B
$B2>?H$+$i3+$+$l$?%&%#%s%I%&$N>l9g$O!"(B
$B%&%#%s%I%&$,>C5n$5$l$?8e!"(B
$B$=$N2>?H$r4^$`%&%#%s%I%&$,F~NOuBV$H$J$k!#(B
$B""(B $B%&%#%s%I%&B0@-(B
#define WA_FRONT 0x0001 /* $BA0LL%&%#%s%I%&(B */
#define WA_SUBW 0x0002 /* $B=>B0%&%#%s%I%&(B */
#define WA_SIZE 0x0004 /* $BJQ7A2D(B */
#define WA_HHDL 0x0008 /* $B:81&JQ7A2D(B */
#define WA_VHDL 0x0010 /* $B>e2uBV$N;~$bI=<($r99?7(B */
#define WA_FULL 0x0400 /* $BA4LL%b!<%I(B */
#define WA_SFULL 0x0800 /* $B%U%k%9%/%j!<%s(B */
#define WA_STD 0 /* $B@55,:BI8$G%&%#%s%I%&OH$r;XDj(B */
#define WA_WORK 0x1000 /* $B:n6HNN0h:BI8$G%&%#%s%I%&OH$r;XDj(B */
#define WA_FRAME 0x2000 /* $B30OH:BI8$G%&%#%s%I%&OH$r;XDj(B */
#define WA_FMOVE 0x4000 /* $B%*!<%W%s;~!"2hLLFb$K6/@)0\F0(B */
#define WA_NORMAL 0x007c /* $BDL>o(B ($BJQ7A2D!"1&(B/$B2<%9%/%m!<%k%P!<(B) */
WA_SIZE
$B$r;XDj$7$F$$$J$$>l9g$O!"(B
WA_HHDL
$B$G:81&$N%&%#%s%I%&OH$,9-$/$J$j!"(B
WA_VHDL
$B$G>e2<$N%&%#%s%I%&OH$,9-$/$J$k!#(B
WA_FULL
$B$N;XDj$K$h$j!"(B
$B$O$8$a$+$iA4LL%b!<%I$G%&%#%s%I%&$r3+$/$3$H$,$G$-$k!#(B
WA_STD$B!"(BWA_WORK$B!"(BWA_FRAME
$B$N;XDj$K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%H$H$7$F?7$?$KDI2C$5$l$?%$%Y%s%H$G$"$k!#(B
$B$3$l$i$N%$%Y%s%H$O%$%Y%s%H%?%$%W$H$7$F(B
EV_APPL1$B!A(B3
$B$r;HMQ$7$F$$$k$?$a!"(B
$B%"%W%j%1!<%7%g%s$O!"(B
$B$3$N%?%$%W$r;HMQ$7$F$O$$$1$J$$!#(B
$B$^$?!"(BEV_RSWITCH
$B!A(B EV_NOMSG
$B$O5<;w%$%Y%s%H$H$7$FDI2C$5$l$F$$$k$b$N$G$"$k!#(B
$B%&%#%s%I%&%$%Y%s%H%?%$%W$H$7$F0J2<$N$h$&$J%?%$%W$,Dj5A$5$l$F$*$j!"(B
$B%$%Y%s%H$N%?%$%W$K1~$8$F!"(B
EVENT
$B!"(BSEVENT
$B!"(BREVENT
$B$N(B 4 $B$D$N7A<0$r;H$$J,$1$F;HMQ$9$k!#(B
typedef struct SEVENT { /* $B@Z49%$%Y%s%H7A<0(B */
W type;
UW time;
PNT pos;
H cmd; /* $B0LCV%3!<%I%3%^%s%I(B */
H wid;
UW stat;
} SEVENT;
typedef struct REVENT { /* $BMW5a%$%Y%s%H7A<0(B */
W type;
RECT r; /* $BBP>]6k7ANN0h(B ($BAjBP:BI8(B) */
H cmd;
H wid; /* $BBP>]%&%#%s%I%&(BID */
W src; /* $B%=!<%9(BPID/$BB>(B */
} REVENT;
typedef struct GEVENT { /* $B0lHL%$%Y%s%H7A<0(B */
W type;
H data[4]; /* $BG$0U$N%G!<%?(B */
H cmd;
H wid;
W src;
} GEVENT;
typedef union _WEVENT {
EVENT e; /* $B@8%$%Y%s%H(B($B3K%$%Y%s%H(B) */
SEVENT s; /* $B@Z49%$%Y%s%H7A<0(B */
REVENT r; /* $BMW5a%$%Y%s%H7A<0(B */
GEVENT g; /* $B0lHL%$%Y%s%H7A<0(B */
} WEVENT;
$B!{(B EV_NULL
$BM-8z$J%$%Y%s%H$,2?$bB8:_$7$F$$$J$$>l9g$KF@$i$l$k%$%Y%s%H$G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\N(!#(B
WI_SELECTT (WI_ENABLEWARE + 8)
- $BA*BrOHE@LG4V3V!#(B
WI_SELECTW (WI_ENABLEWARE + 9)
- $BA*BrOH@~I}$NG\N(!#(B
$B=$>~9`L\(B ( WI_ATTRIBUTE = 400 )
WI_WORKBACK (WI_ATTRIBUTE + 0)
- $BGX7J2hLL$N%Q%?!<%s9=B$BN!#(B
WI_PANELBACK (WI_ATTRIBUTE + 1)
- $B%Q%M%kGX7J$N%Q%?!<%s9=B$BN!#(B
$B$=$NB>(B ( WI_OTHER = 500 )
WI_LASTCARPOS (WI_OTHER + 0)
- $B:G8e$K%+%l%C%H$,I=<($5$l$?@dBP:BI8!#(B($B
WI_LASTCARTIME (WI_OTHER + 1)
- $B:G8e$K%+%l%C%H$,I=<($5$l$?%7%9%F%`;~9o!#(B($B
$B""(B $B%&%#%s%I%&%$%Y%s%H(B
typedef struct SEVENT { /* $B@Z49%$%Y%s%H7A<0(B */
W type;
UW time;
PNT pos;
H cmd; /* $B0LCV%3!<%I!?%3%^%s%I(B */
H wid;
UW stat;
} SEVENT;
typedef struct REVENT { /* $BMW5a%$%Y%s%H7A<0(B */
W type;
RECT r; /* $BBP>]6k7ANN0h(B ($BAjBP:BI8(B) */
H cmd;
H wid; /* $BBP>]%&%#%s%I%&(BID */
W src; /* $B%=!<%9(BPID/$BB>(B */
} REVENT;
typedef struct GEVENT { /* $B0lHL%$%Y%s%H7A<0(B */
W type;
H data[4]; /* $BG$0U$N%G!<%?(B */
H cmd;
H wid;
W src;
} GEVENT;
typedef union _WEVENT {
EVENT e; /* $B@8%$%Y%s%H(B($B3K%$%Y%s%H(B) */
SEVENT s; /* $B@Z49%$%Y%s%H7A<0(B */
REVENT r; /* $BMW5a%$%Y%s%H7A<0(B */
GEVENT g; /* $B0lHL%$%Y%s%H7A<0(B */
} WEVENT;
$B""(B $B%&%#%s%I%&%$%Y%s%H%?%$%W(B
#define EV_SWITCH 8 /* $B@Z49%$%Y%s%H(B */
#define EV_REQUEST 9 /* $BMW5a(B/$B1~Ez%$%Y%s%H(B */
#define EV_MENU 10 /* $B%a%K%e!<%$%Y%s%H(B */
#define EV_RSWITCH 16 /* $B@Z49%$%Y%s%H(B($B:FI=<(MW(B) */
#define EV_INACT 17 /* $BF~NOIT2D>uBV$K@Z49$o$C$?(B */
#define EV_MSG 18 /* $BB>$N%a%C%;!<%8$,F@$i$l$?(B */
#define EV_NOMSG 19 /* $B%a%C%;!<%8$OF@$i$l$J$+$C$?(B */
$B""(B $B0LCV%3!<%I!?%3%^%s%I(B
#define W_WORK 0 /* $B:n6HNN0hFb(B */
#define W_FRAM 1 /* $B%&%#%s%I%&OH(B */
#define W_PICT 2 /* $B%T%/%H%0%i%`(B */
#define W_TITL 3 /* $B%?%$%H%kIt(B */
#define W_LTHD 4 /* $B%O%s%I%k(B ($B:8>e(B) */
#define W_RTHD 5 /* $B%O%s%I%k(B ($B1&>e(B) */
#define W_LBHD 6 /* $B%O%s%I%k(B ($B:82<(B) */
#define W_RBHD 7 /* $B%O%s%I%k(B ($B1&2<(B) */
#define W_RBAR 8 /* $B1&%9%/%m!<%k%P!<(B */
#define W_BBAR 9 /* $B2<%9%/%m!<%k%P!<(B */
#define W_LBAR 10 /* $B:8%9%/%m!<%k%P!<(B */
#define W_SWITCH 128 /* $BF~NOuBV$N0\9T(B */
#define W_CLOSED 129 /* $B%&%#%s%I%&$N%/%m!<%:(B */
$B""(B $BMW5a%$%Y%s%H(B
#define W_REDISP 0 /* $B%&%#%s%I%&$N:FI=<(MW5a(B */
#define W_PASTE 1 /* $B%G!<%?$NE=$j9~$_MW5a(B */
#define W_DELETE 2 /* $B%&%#%s%I%&$N%/%m!<%:MW5a(B */
#define W_FINISH 3 /* $B=hM}$N=*N;MW5a(B */
#define W_OPENED 5 /* $B;R%&%#%s%I%&$N%*!<%W%sDLCN(B */
#define W_ACK 0x40 /* $BMW5a$KBP$9$k(B ACK $B1~Ez(B */
#define W_NAK 0x80 /* $BMW5a$KBP$9$k(B NACK $B1~Ez(B */
$B""(B $B%&%#%s%I%&:o=|(B
#define CLR 0 /* $BI=<($r%/%j%"(B */
#define NOCLR 8 /* $BI=<($r%/%j%"$7$J$$(B */
$B""(B $B%&%#%s%I%&%$%Y%s%H
#define WAIT 0 /* $B%&%#%s%I%&%$%Y%s%HBT$A(B */
#define NOWAIT 1 /* $B%&%#%s%I%&%$%Y%s%HBT$?$J$$(B */
#define NOMSG 0x0010 /* $B%a%C%;!<%8$O
$B""(B $BA4LL%&%#%s%I%&(B/$B%9%/%m!<%k(B
#define W_NORM 0 /* $BDL>o%b!<%I(B */
#define W_FULL 1 /* $BA4LL%b!<%I(B */
#define W_MOVE 0 /* $B:BI87O$r8GDj$9$k(B($B%$%a!<%8$r0\F0(B) */
#define W_MOVEC 1 /* $B:BI87O$r8GDj$9$k(B($B%$%a!<%8$r0\F0(B) */
#define W_HOLD 2 /* $B:BI87O$r0\F0$9$k(B($B%$%a!<%8$r8GDj(B) */
#define W_SCRL 1 /* $B:BI87O$r0\F0$9$k(B */
#define W_VALID 1 /* $B%9%/%m!<%kI=<($O@5Ev(B */
#define W_NOOVL 2 /* $B%*!<%P!<%i%C%W;~$O%9%/%m!<%k$7$J$$(B */
#define W_RDSET 4 /* $B:FI=<(NN0h$r@_Dj$9$k(B */
$B""(B $B%&%#%s%I%&$N>uBVDj5A(B
typedef struct wdstat {
UW attr; /* $B%&%#%s%I%&$NB0@-(B */
W parent; /* $B?F%&%#%s%I%&(BID/$B
$B""(B PD
#define W_PRESS 0
#define W_QPRESS 1
#define W_CLICK 2
#define W_DCLICK 3
wopn_wnd |
|
$B%&%#%s%I%&$N@8@.(B |
|
$B!Z7A<0![(B
WID wopn_wnd(UW attr, UW par, RECT *r, RECT *org, W pict, TC *tit, PAT *bgpat,
WDDISP * atr)
$B!Z%Q%i%a!<%?![(B
UW | attr |
$B%&%#%s%I%&B0@-(B |
UW | par |
$Bl9g$K$O!"?F$N%&%#%s%I%&(BID$B$r<($7!"(B
0 $B$O?F$,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$B6y$,A4$F0lCW$7$F$$$J$$(B,*newr $B$,HO0O30(B)$B!#(B
EX_WID : $B%&%#%s%I%&(B(wid)$B$OB8:_$7$F$$$J$$!#(B
EX_WND : $B%&%#%s%I%&(B(wid)$B$N%?%$%W(B/$B>uBV$G$OE,MQ$5$l$J$$(B
($BF~NOuBV$G$J$$(B)$B!#(B
EX_ADR : $B%&%#%s%I%&(B(wid)$B$N4IM}%W%m%;%9$G$J$$!#(B
wrsz_drg |
|
$B%&%#%s%I%&$N%I%i%C%0JQ7A(B |
|
$B!Z7A<0![(B
W wrsz_drg(WEVENT *evt, RECT *limit, RECT *newr)
$B!Z%Q%i%a!<%?![(B
WEVENT | *evt |
$B%I%i%C%0JQ7A$N$-$C$+$1$H$J$C$?%&%#%s%I%&%$%Y%s%H!#(B |
RECT | *limit |
limit->lefttop $B$O%&%#%s%I%&$N:G>.%5%$%:(B ( lefttop.c.v $B$,=D!"(Blefttop.c.h $B$,2#$NBg$-$5(B )
$B$r<($7!"(Blimit->rightbot $B$OF1MM$K:GBg%5%$%:$r<($9!#(B
limit $B$,(B NULL $B$N>l9g$O:G>.%5%$%:$O%7%9%F%`$N5,DjCM!"(B
$B:GBg%5%$%:$OFC$K@)8BL5$7$H8+$J$5$l$k!#(B |
RECT | *newr |
newr $B$,(B NULL $B$G$J$$>l9g$O!"(B
$BJQ7A$7$?%&%#%s%I%&$N?7$7$$30OH$N@dBP:BI8$,(B newr $B$G;XDj$7$?NN0h$K3JG<$5$l$k!#(B
$B%&%#%s%I%&B0@-$K$h$C$F!"(BWA_STD $B;XDj;~$K$O@55,:BI8$,!"(B
WA_WORK $B;XDj;~$K$O:n6HNN0h:BI8$,!"(B
WA_FRAME $B;XDj;~$K$O30OH:BI8$,!"(B
$B3JG<$5$l$k!#(B
|
$B!Z%j%?!<%sCM![(B
$B!f(B 0 $B@5>o(B 0($B:FI=<(ITMW(B)
1($B:FI=<(I,MW(B)
$B!c(B 0 $B%(%i!<(B($B%(%i!<%3!<%I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E,MQ$5$l$J$$!#(B
wset_tit |
|
$B%&%#%s%I%&%?%$%H%k$NJQ99(B |
|
$B!Z7A<0![(B
ERR wset_tit(W wid, W pict, TC *title, W mode)
$B!Z%Q%i%a!<%?![(B
W wid $B%&%#%s%I%&(BID
W pict $B%T%/%H%0%i%`$N%G!<%?HV9f(B
TC *title $B%?%$%H%kJ8;zNs(B
W mode !=0 $B$N>l9g$O5u?H%&%#%s%I%&(B
$B!Z%j%?!<%sCM![(B
$B!f(B 0 $B@5>o(B
$B!c(B 0 $B%(%i!<(B($B%(%i!<%3!<%I(B)
$B!Z2r@b![(B
wid
$B$G;XDj$7$?%&%#%s%I%&$N%T%/%H%0%i%`$r(B pict
$B$G;XDj$7$?%G!<%?HV9f$K!"(B
$B%?%$%H%kJ8;zNs$r(B title
$B$G;XDj$7$?J8;zNs$KJQ99$7$F!":FI=<($r9T$J$&!#(B
mode = 0
$B$N>l9g$O!"(B
$BDL>o$NI=<($r9T$J$$!"(B $B!b(B 0
$B$N>l9g$O!"(B
$B5u?H%&%#%s%I%&$H$7$FI=<($9$k!#(B
pict < 0
$B$N>l9g$O!"(B
$B%T%/%H%0%i%`$NJQ99$J$7!"(Btitle = NULL
$B$N>l9g$O%?%$%H%kJ8;zNs$NJQ99$J$7$r0UL#$9$k!#(B
$B!Z%(%i!<%3!<%I![(B
EX_ADR : $B%"%I%l%9(B(title)$B$N%"%/%;%9$O5v$5$l$F$$$J$$!#(B
EX_WID : $B%&%#%s%I%&(B(wid)$B$OB8:_$7$F$$$J$$!#(B
EX_WND : $B%&%#%s%I%&(B(wid)$B$N%?%$%W(B/$B>uBV$G$OE,MQ$5$l$J$$!#(B
wget_sts |
|
$B%&%#%s%I%&>uBV$N |
|
$B!Z7A<0![(B
W wget_sts(W wid, WDSTAT *stat, WDDISP *atr)
$B!Z%Q%i%a!<%?![(B
W wid $B%&%#%s%I%&(BID
WDSTAT *stat $B%&%#%s%I%&>uBV(B
WDDISP *atr $BI=<(B0@-(B
$B!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%?%$%W(B/$B>uBV$G$OE,MQ$5$l$J$$!#(B
wget_org |
|
$B%&%#%s%I%&$N@[email protected]$N |
|
$B!Z7A<0![(B
ERR wget_org(W wid, W *parent, RECT *org)
$B!Z%Q%i%a!<%?![(B
W wid $B%&%#%s%I%&(BID
W *parent $B?F%&%#%s%I%&(BID$B$N3JG<>l=j(B
RECT *org $B@[email protected]$N3JG<>l=j(B
$B!Z%j%?!<%sCM![(B
$B!f(B 0 $B@5>o(B
$B!c(B 0 $B%(%i!<(B($B%(%i!<%3!<%I(B)
$B!Z2r@b![(B
wid
$B$G;XDj$7$?%&%#%s%I%&$N?F%&%#%s%I%&(B ID$B!"(B
$B@[email protected]$H$l(B parent
$B!"(Borg
$B$G;XDj$7$?NN0h$K3JG<$9$k!#(B
$B@[email protected]$O!"?F%&%#%s%I%&$NAjBP:BI8$GI=$o$5$l$k!#(B
$Bl9g$O%(%i!<$H$J$k!#(B
$B!Z%(%i!<%3!<%I![(B
EX_ADR : $B%"%I%l%9$N%"%/%;%9$O5v$5$l$F$$$J$$!#(B
EX_WID : $B%&%#%s%I%&(B(wid)$B$OB8:_$7$F$$$J$$!#(B
EX_WND : $B%&%#%s%I%&(B(wid)$B$N%?%$%W(B/$B>uBV$G$OE,MQ$5$l$J$$(B
($B
wset_org |
|
$B%&%#%s%I%&$N@[email protected]$N@_Dj(B |
|
$B!Z7A<0![(B
ERR wset_org(W wid, W parent, RECT *org)
$B!Z%Q%i%a!<%?![(B
W wid $B%&%#%s%I%&(BID
W parent $B?F%&%#%s%I%&(BID
RECT *org $B@[email protected](B
$B!Z%j%?!<%sCM![(B
$B!f(B 0 $B@5>o(B
$B!c(B 0 $B%(%i!<(B($B%(%i!<%3!<%I(B)
$B!Z2r@b![(B
wid
$B$G;XDj$7$?%&%#%s%I%&$N?F%&%#%s%I%&(B ID $B$r!"(B
parent
$B$NCM$K!"@[email protected]$r!"(B*org
$B$NCM$K@_Dj$9$k!#(B
parent < 0
$B$N>l9g$K$O!"(Bparent
$B$NJQ99$J$7!"(B
org = NULL
$B$N>l9g$O!"@[email protected]$NJQ99$J$7$r0UL#$9$k!#(B
$B@[email protected]$O!"?F%&%#%s%I%&$NAjBP:BI8$G@_Dj$9$k!#(Bparent = 0
$B$^$?$O(B parent = wid
$B$N>l9g$O(B
org
$B$NCM$KL54X78$K!"(B
$B@[email protected]$rL5$/$9$3$H$r0UL#$9$k!#(B
$Bl9g$O%(%i!<$H$J$k!#(B
$B!Z%(%i!<%3!<%I![(B
EX_ADR : $B%"%I%l%9(B(org)$B$N%"%/%;%9$O5v$5$l$F$$$J$$!#(B
EX_WID : $B%&%#%s%I%&(B(wid)$B$OB8:_$7$F$$$J$$!#(B
EX_WND : $B%&%#%s%I%&(B(wid)$B$N%?%$%W(B/$B>uBV$G$OE,MQ$5$l$J$$(B
($B
wlst_wnd |
|
$B%&%#%s%I%&$N%j%9%H%"%C%W(B |
|
$B!Z7A<0![(B
W wlst_wnd(W wid, W size, W *wids)
$B!Z%Q%i%a!<%?![(B
W wid $B%&%#%s%I%&(BID
W size wids $B$,<($9NN0h$N%o!<%I?t(B
W *wids wid $B3JG
$B!Z%j%?!<%sCM![(B
$B!f(B 0 $B@5>o(B
$B!c(B 0 $B%(%i!<(B($B%(%i!<%3!<%I(B)
$B!Z2r@b![(B
wid
$B$G;XDj$7$?%&%#%s%I%&$N;R%&%#%s%I%&$N%&%#%s%I%&(B ID $B$rwids $B$G;XDj$7$?NN0h$K3JG<$9$k!#(Bwid = 0
$B$N>l9g$O!"(B
$B8=:_B8:_$7$F$$$k$9$Y$F$N%&%#%s%I%&$r!"(Bwid < 0
$B$N>l9g$O!"(B
-wid
$B$G;XDj$7$?CM$r%W%m%;%9(B ID $B$H$7$F!"(B
$B$=$N%W%m%;%9$N4IM}$9$k%&%#%s%I%&$N%&%#%s%I%&(B ID $B$rwids $B$O(B size
$B$G<($5$l$k%o!<%I?t$NG[NsNN0h$G$"$k!#(B
$B4X?tCM$H$7$FB8:_$9$k%&%#%s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