SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Studio
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-23-2006, 03:43 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
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()
Update: This is no longer a requirement for v6.4 and later.

- 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.
Reply With Quote
  #2  
Old 08-25-2006, 05:35 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
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.
Reply With Quote
  #3  
Old 08-25-2006, 05:52 PM
dflachbart dflachbart is offline
SageTVaholic
 
Join Date: Jan 2006
Location: Brookfield, CT
Posts: 2,743
Quote:
Originally Posted by Opus4
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
Note to SageMC users: your STV will be ready ...

Dirk
Reply With Quote
  #4  
Old 11-07-2008, 01:48 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
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.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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

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


All times are GMT -6. The time now is 06:07 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.