1 /* ----------- box.c ------------ */
5 int DfBoxProc(DFWINDOW wnd
, DFMESSAGE msg
, DF_PARAM p1
, DF_PARAM p2
)
9 DF_CTLWINDOW
*ct
= DfGetControl(wnd
);
10 static BOOL SettingFocus
= FALSE
;
16 SettingFocus
= DfIsVisible(wnd
);
17 rtn
= DfBaseWndProc(DF_BOX
, wnd
, msg
, p1
, p2
);
24 case DFM_BUTTON_RELEASED
:
25 return DfSendMessage(DfGetParent(wnd
), msg
, p1
, p2
);
31 rtn
= DfBaseWndProc(DF_BOX
, wnd
, msg
, p1
, p2
);
34 if (ct
->itext
!= NULL
)
35 DfWriteLine(wnd
, ct
->itext
, 1, 0, FALSE
);
41 return DfBaseWndProc(DF_BOX
, wnd
, msg
, p1
, p2
);