NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 44 45 46 47 48 … 93 Next »
Bringing GBPVR to the front

 
  • 0 Vote(s) - 0 Average
Bringing GBPVR to the front
jmontana
Offline

Member

Posts: 104
Threads: 18
Joined: Nov 2006
#1
2007-04-30, 11:36 AM
I'm working on a plugin for iTunes. Because DRM'd content must be played in iTunes and only in iTunes, the current approach is to let the user choose the video/song from GBPVR, which will then tell iTunes to play it. This works really well. My only issue is that when iTunes is done, I want GBPVR to gain focus.

I tried doing this with Process.Start, which worked, but GBPVR was no longer fullscreen. I've also tried using SetForegroundWindow() and BringWindowToFront(), but had no success there either.

I'm grabbing the window handle by way of Process.MainWindowHandle. Is that the right one to use?

Is there a reliable way to do this?

Thanks!
Hauppauge PVR-150MCE / ATI All-in-Wonder 9000 Radeon Pro / 2.4 GHz P4 / 512 MB RAM
liteswap
Offline

Senior Member

Posts: 713
Threads: 70
Joined: Aug 2006
#2
2007-04-30, 04:30 PM
Try my utility, StartGBPVR. Does exactly what you need.
- Silent client PVR: HDPlex HS.1 aluminium fanless case / Thin-ITX ASRock H81TM-ITX motherboard / Intel Celeron 1850T CPU / 4GB RAM / 120GB SSD / TBS6982 DBS-S2 [SIZE=1]dual-tuner card / Win10+nPVR+Plex Media Player feeding LG OLED55B6V + Anthem MRX510 AV Receiver / PMC GB1 / B&W / REL speakers.
- Noisy NAS: Xeon / Intel mobo / 16GB RAM / FreeNAS + Ubuntu VMs on VMware ESXi + 12TB RAID
[/SIZE] running Plex Media Server

« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  TitanTv Remote Schedule For GBPVR UncleJohnsBand 51 33,459 2015-08-20, 05:11 PM
Last Post: sub
  Roku & GBPVR pvruser 16 11,473 2011-10-16, 08:31 PM
Last Post: pvruser
  (Yet Another) Rename Helper script for GBPVR & NPVR pvruser 2 2,689 2011-07-22, 01:27 AM
Last Post: pvruser
  Live GBPVR CD/DVD/Thumb drive :D pBS 101 28,240 2010-01-03, 06:22 AM
Last Post: pBS
  some help on basic gbpvr plugin code Etacovda 12 4,604 2009-06-14, 08:24 PM
Last Post: Etacovda
  Linking gbpvr.db3 to Access 2003: get readonly tables Khurram 5 3,902 2008-09-11, 08:35 AM
Last Post: Khurram
  UAC and Vista with GBPVR systemshark 2 1,916 2008-08-03, 07:20 AM
Last Post: systemshark
  Controlling an Audio Receiver with the GBPVR remote erik 7 2,660 2008-06-01, 08:31 PM
Last Post: erik
  SkipTool, do you use the GBPVR SQLite database? mkenyon2 1 1,564 2008-04-21, 07:30 PM
Last Post: pastro
  GBPVR.Public.EventTypes ACTCMS 4 2,019 2008-04-11, 01:02 AM
Last Post: ACTCMS

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode