共用方式為


CSplitterWnd::SetRowInfo

Call to set the specified row information.

void SetRowInfo(
   int row,
   int cyIdeal,
   int cyMin 
);

Parameters

  • row
    Specifies a splitter window row.

  • cyIdeal
    Specifies an ideal height for the splitter window row in pixels.

  • cyMin
    Specifies a minimum height for the splitter window row in pixels.

Remarks

Call this member function to set a new minimum height and ideal height for a row. The row minimum value determines when the row will be too small to be fully displayed.

When the framework displays the splitter window, it lays out the panes in columns and rows according to their ideal dimensions, working from the upper-left to the lower-right corner of the splitter window's client area.

Requirements

Header: afxext.h

See Also

Reference

CSplitterWnd Class

Hierarchy Chart

CSplitterWnd::GetRowInfo

CSplitterWnd::SetColumnInfo

CSplitterWnd::RecalcLayout

Other Resources

CSplitterWnd Members