Both arx and brx - dcl_Control_SetWidth function is not working correctly. Paste (dcl_Control_SetWidth BrxControlBarTest_ControlBarTest1 200) to test. NB This issue appears to affect AutoCAD too.
Note that you cannot set width of a docked control bar, because a docked control bar is sized by the control bar's docking host (and that size will depend on what else is docked inside the same host). I don't see any problem in AutoCAD, but Bricscad exhibits several incorrect behaviors. For example, in Bricscad, SetWindowPos() does not change the size of a floating control bar host window.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This should now be fixed in AutoCAD. In Bricscad, there's some buggy behavior that causes the outer window to not resize. If Bricsys doesn't fix it, I'll have another look to see if I can hack a workaround.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Problem persists with (non beta) Bricscad Pro 10.3.11
Problem persists with Bricscad Pro v10.4.1 beta
Problem persists with Bricscad Pro v10.4.3-1 beta
Problem persists with Bricscad Pro v10.4.5-1 beta
Bricscad Pro v10.4.7, ODCL Runtime 6.0.0.27
Problem persists, as it does for AutoCAD.
Note that you cannot set width of a docked control bar, because a docked control bar is sized by the control bar's docking host (and that size will depend on what else is docked inside the same host). I don't see any problem in AutoCAD, but Bricscad exhibits several incorrect behaviors. For example, in Bricscad, SetWindowPos() does not change the size of a floating control bar host window.
Brics v10.5.2 beta, ODCL Runtime 6.0.0.29
Problem persists.
Brics v10.7.1 beta, ODCL Runtime 6.0.1.1
Problem persists.
Bricscad Pro 11.2.2 beta ODCL Runtime 6.0.1.3
Problem persists (in floating state).
ODCL Runtime 6.0.2.1
Hi Owen,
The SetWidth function still fails when the ControlBar is floating in Bricscad.
NB The bug now occurs in Autocad too.
This should now be fixed in AutoCAD. In Bricscad, there's some buggy behavior that causes the outer window to not resize. If Bricsys doesn't fix it, I'll have another look to see if I can hack a workaround.
Tested with ODCL Runtime 7.0.0.9 and Bricscad 13.1.20
Problem persists.
Tested on AutoCAD 2012 too. Works fine.
This is still not fixed as of Bricscad v14.2.06.