컨트롤의 너비값(width)과 너비 단위를 변경하는 API이다.
| Parameters | Type | Description | 
|---|---|---|
| nWidth | short | 컨트롤 너비값(width) | 
| nWidthUnit | short | [옵션] 너비 단위 | 
| Type | Description | 
|---|---|
| BOOL | 정상 처리 여부 | 
**너비 단위 속성값 상수 0 : pixel 1 : percent(%)
function btn_setwidth_on_mouseup()
{
	// 컨트롤의 width를 500px로 변경
    btnTest.setwidth(500, 0);
	// 컨트롤의 width를 100%로 변경
    btnTest.setwidth(100, 1);
}