|
SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
A note about using Refresh() in FocusGained/Lost hooks for v6.0 (OK to use in v6.4)
If you use Refresh() or RefreshArea() in a FocusGained or FocusLost hook, v5.1 (now v6.0) will require that they be used after calling Fork() first, due to some changes & fixes in the core. If your custom STV code isn't already doing it this way, you may want to make a few changes in preparation for when v5.1 is ready. It boils down to coding these hooks like this:
Code:
-FocusGained or FocusLost -<various code> -Fork() -RefreshArea("WidgetName") or Refresh() - Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#2
|
||||
|
||||
Due to the likelyhood of the v5.1 beta being released publicly...
Reminder for STV developers: If you haven't yet changed how you call Refresh() in any FocusGained/Lost hooks, read the info in the post above. If you use those hooks, your custom STV will not function correctly when focus changes if you don't Fork() before Refresh() in those hooks! I think this is the only change that has to be done in preparation for v5.1. - Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#3
|
|||
|
|||
Quote:
Dirk |
#4
|
||||
|
||||
Update: I've been told that this is no longer a requirement in the current release version of SageTV v6.4.
You can now use Refresh() or RefreshArea() in a FocusGained or FocusLost hook without calling Fork() first. - Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Video Library Cover Art Refresh | Nutball | SageMC Custom Interface | 21 | 01-01-2009 06:40 PM |
Refresh Import Media | rrambo | SageTV Linux | 4 | 10-28-2008 08:59 AM |
Refresh Import Directories causes DrWatson issue | dvd_maniac | SageTV Software | 3 | 10-21-2008 12:11 PM |
SageServer Refresh Problem | mike1961 | SageTV Software | 0 | 05-19-2008 09:48 PM |
Refresh issues? | DualQuad | SageTV Beta Test Software | 0 | 11-14-2007 03:22 PM |