Skip to content

SetSize Method

Description

The SetSize method sets the width and height of the dialog bar child window.

Syntax

Public Sub SetSize( _
    ByVal cx As Integer, _
    ByVal cy As Integer _
)

Parameters

  • cx: Width of the dialog bar's child window.
  • cy: Height of the dialog bar's child window.

Remarks

The size is only used to size the child window when the dialog bar is floating; both the specified width and height are used. If the bar is docked on the left or right, only the width is used; the height will depend on how much of the client area the dialog bar can occupy. If the bar is docked on the top or bottom, then only the height is used to size the child window.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.