Objective Grid: Add floating cell capability to cell types other than edit cells

Article ID: 207
Last updated: 04 Jun, 2018
Article ID: 207
Last updated: 04 Jun, 2018
Revision: 3
Views: 1825
Posted: 12 Jan, 2001
by Meltreger B.
Updated: 04 Jun, 2018
by Meltreger B.

Problem


How can I add floating cell capability to cell types other than the edit cell (e.g. combo box, list box)?


Cause



Action


You can add floating capabilities by overriding CanFloatCell() as follows for each of these cell types:

BOOL CMyListBox::CanFloatCell(ROWCOL nRow, ROWCOL nCol, const CGXStyle& style, BOOL bFloatOrFlood)
{
return TRUE;
}

This article was:   Helpful | Not helpful
Report an issue
Article ID: 207
Last updated: 04 Jun, 2018
Revision: 3
Views: 1825
Posted: 12 Jan, 2001 by Meltreger B.
Updated: 04 Jun, 2018 by Meltreger B.

Others in this category