NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 40 41 42 43 44 … 93 Next »
popupmessagebox id

 
  • 0 Vote(s) - 0 Average
popupmessagebox id
pastro
Offline

Posting Freak

Posts: 1,885
Threads: 128
Joined: Jul 2006
#1
2007-09-13, 07:17 PM
I have a dialog that I use in multiple parts of the program with the same button values.
In handlePopupCallback I don't see a way to figure out where the popup was initialized from so I can apply the return value to the right data.
I know I can use a variable in the object to indicate which popup this applies to, but is there any way to do this within the popup object itself?
GBpvr PC: Intel Celeron 1.8 Ghz. 768 Mb WinXp Home Sp2
Video: Diamond 128 Mb 9550
Capture Cards: PVR-150 & PVR-150 MCE w/fm + 2x MVP
Author of: BurnDVDX2 and Skiptool
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,787
Threads: 769
Joined: Nov 2003
#2
2007-09-13, 07:24 PM
There is no mechanism for storing state with the popup, you'd have to manage this state information within your own class.
pastro
Offline

Posting Freak

Posts: 1,885
Threads: 128
Joined: Jul 2006
#3
2007-09-13, 07:53 PM
sub Wrote:There is no mechanism for storing state with the popup, you'd have to manage this state information within your own class.
Got it, thanks.
GBpvr PC: Intel Celeron 1.8 Ghz. 768 Mb WinXp Home Sp2
Video: Diamond 128 Mb 9550
Capture Cards: PVR-150 & PVR-150 MCE w/fm + 2x MVP
Author of: BurnDVDX2 and Skiptool
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,787
Threads: 769
Joined: Nov 2003
#4
2007-09-13, 08:09 PM
It sounds reasonable to have this sort of thing, but unfortunately I cant change the existing interfaces with breaking a whole heap of plugins, so probably best for you to manage state at your end for now.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  PopupMessageBox usage McBainUK 2 1,627 2009-01-20, 06:06 PM
Last Post: whurlston
  Derive class from PopupMessageBox? bgowland 2 1,470 2008-03-01, 04:39 AM
Last Post: bgowland

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

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

Linear Mode
Threaded Mode