Navigation: thinBasic Modules > UI (User Interface) > CONTROLs > Dedicated Control Functions > Splitter control > Splitter_Create |
|
Description
Create a new Splitter control inside a dialog.
Syntax
hndl = Splitter_Create (hwnd, ctrlID, Direction, xPos, yPos, Width, Height [, [Style] [, [ExStyle]]])
Returns
Number
Control window handler.
Parameters
Name |
Type |
Optional |
Meaning |
hwnd |
Number |
No |
Handle of the dialog containing the control |
ctrlID |
Number |
No |
Control identifier |
Direction |
Number |
Yes |
Indicates if Splitter control has vertical or horizontal direction. Use one of the following equates: %SWS_HORIZONTAL %SWS_VERTICAL |
xPos |
Number |
No |
Horizontal position of the control inside the dialog |
yPos |
Number |
No |
Vertical position of the control inside the dialog |
Width |
Number |
No |
Control width |
Height |
Number |
No |
Control height |
Style |
Number |
Yes |
---Not yet supported. Do not use--- |
ExStyle |
Number |
Yes |
---Not yet supported. Do not use--- |
Remarks
If xPos, yPos, Width, Height are all zero, Splitter control will be automatically adjusted to the current dialog client area.
Restrictions
See also
Examples
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |