Old 12-14-2019, 12:24 AM   #1
Burtan
Human being with feelings
 
Join Date: Jan 2013
Location: Düsseldorf, Germany
Posts: 89
Default SetMediaTrackInfo_Value does not refresh UI

Hi,

when using SetMediaTrackInfo_Value with B_SHOWINTCP the TCP is not refreshed and does not update the state.
Burtan is offline   Reply With Quote
Old 12-14-2019, 12:42 AM   #2
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 3,195
Default

Is your script calling TrackList_AdjustWindows afterward?

Code:
reaper.SetMediaTrackInfo_Value(track, 'B_SHOWINTCP', 0)
reaper.TrackList_AdjustWindows(true)
cfillion is offline   Reply With Quote
Old 12-14-2019, 02:23 AM   #3
Burtan
Human being with feelings
 
Join Date: Jan 2013
Location: Düsseldorf, Germany
Posts: 89
Default

My workaround was to call I_CUSTOMCOLOR which updates the tracks. TrackList_AdjustWindow(true) also works, I just tried it. In my case it's the better option. So thanks for the hint ;-).
Burtan is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:36 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.