탭 » Api
settitlebaruserbtnimage
Description
탭 MDI타이틀바 사용자 버튼의 이미지를 동적으로 변경할 수 있는 API입니다.
파라미터중 각각의 이미지 인덱스는 이전 상태를 유지 하고자 할 경우 -1 값을 줄 수 있습니다. 만약 동적으로 이미지경로만을 바꾸고 이미지 인덱스는 바꿀 필요 없는 경우 모두 -1값을 주시면 됩니다.
Parameters
Parameters |
Type |
Description |
nUserBtnIndex |
short |
사용자 버튼 Index |
strImageURL |
STRING |
이미지 경로 |
nImageIndexNormal |
short |
Normal Image Index |
nImageIndexDown |
short |
Down Imange Index |
nImageIndexDisable |
short |
Disalbe Image Index |
nImageIndexHover |
short |
Hover Image Index |
Return Value
Type |
Description |
BOOL |
성공/실패여부 |
Example
function btnImage_on_mouseup(objInst)
{
tabCtrl.settitlebaruserbtnimage(0, "/treetest.gif", 0, 0, 0, 1);
}
Viewer Ver.
9.1.1.1
Update Date
20120514