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 03-09-2011, 09:25 AM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
How to safely auto-close a dialog

The SageTV V7.1.2 beta release notes includes this API change:
Quote:
Originally Posted by Narflex View Post
10. Added Global API call CloseOptionsMenu(WidgetName, WaitForClose) that allows specifying a specific options menu to close based on widget name; used to prevent accidental closing of options menus spawned from global hooks.
This call should be used by dialogs that can close themselves w/o any user input, perhaps via a timer or code loop that closes the dialog when complete.

Otherwise, if the dialog tries to close itself via the usual call to CloseOptionsMenu() & it isn't the top-most dialog, it will end up closing the other one & leaving itself alone.

- 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 03-09-2011, 12:12 PM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Quote:
Originally Posted by Opus4 View Post
The SageTV V7.1.2 beta release notes includes this API change:

This call should be used by dialogs that can close themselves w/o any user input, perhaps via a timer or code loop that closes the dialog when complete.

Otherwise, if the dialog tries to close itself via the usual call to CloseOptionsMenu() & it isn't the top-most dialog, it will end up closing the other one & leaving itself alone.

- Andy
I asked for this a while back glad to see it come to light Now if only I can remember where I wanted it
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
ver 7 auto compress is not auto compressing sfag SageTV Beta Test Software 2 04-20-2011 09:38 AM
Drive Mapping Dialog DwarF SageTV Software 4 10-12-2006 12:23 PM
Advice on (safely) upgrading to v4 beta matt91 SageTV Beta Test Software 3 04-14-2006 12:07 PM
Conflict resolution dialog mlbdude SageTV Beta Test Software 2 08-26-2003 11:17 AM


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


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