1517 |
lpTbNotify = (LPTBNOTIFY)lparam; |
lpTbNotify = (LPTBNOTIFY)lparam; |
1518 |
if (lpTbNotify->iItem < (sizeof (tbb) / sizeof (tb_button_s))) { |
if (lpTbNotify->iItem < (sizeof (tbb) / sizeof (tb_button_s))) { |
1519 |
lpTbNotify->tbButton.iBitmap = km_imagelist_getindex (kmi->iconlist, |
lpTbNotify->tbButton.iBitmap = km_imagelist_getindex (kmi->iconlist, |
1520 |
tbb[lpTbNotify->iItem].icon); |
tbb[lpTbNotify->iItem].icon); |
1521 |
lpTbNotify->tbButton.idCommand = tbb[lpTbNotify->iItem].command; |
lpTbNotify->tbButton.idCommand = tbb[lpTbNotify->iItem].command; |
1522 |
lpTbNotify->tbButton.fsState = TBSTATE_ENABLED; |
lpTbNotify->tbButton.fsState = TBSTATE_ENABLED; |
1523 |
lpTbNotify->tbButton.fsStyle = TBSTYLE_BUTTON; |
lpTbNotify->tbButton.fsStyle = TBSTYLE_BUTTON; |