1 /* ----------- box.c ------------ */
3 #include "dflat32/dflat.h"
5 int BoxProc(DFWINDOW wnd
, DFMESSAGE msg
, PARAM p1
, PARAM p2
)
9 CTLWINDOW
*ct
= GetControl(wnd
);
10 static BOOL SettingFocus
= FALSE
;
16 SettingFocus
= isVisible(wnd
);
17 rtn
= BaseWndProc(BOX
, wnd
, msg
, p1
, p2
);
24 case DFM_BUTTON_RELEASED
:
25 return DfSendMessage(GetParent(wnd
), msg
, p1
, p2
);
31 rtn
= BaseWndProc(BOX
, wnd
, msg
, p1
, p2
);
34 if (ct
->itext
!= NULL
)
35 writeline(wnd
, ct
->itext
, 1, 0, FALSE
);
41 return BaseWndProc(BOX
, wnd
, msg
, p1
, p2
);