2009-01-20, 01:43 PM
How are you guys using the PopupMessageBox class? In a number of areas in my new plugin I need to ask a "Are you sure?" question. The response to this is that the handlePopupCallback method is called with the button caption eg "Yes". How are you guys determining what the orgional question was?
An example: Thre are 2 places the message box is used - one for delete one for copy - both have Yes/No options. When the handlePopupCallback is called with "Yes" as the button caption how do you know if this is the Delete popup or the Copy popup...?
I have a ideas but I just wanted to know what others are doing, avoid reinventing the wheel and all that...
An example: Thre are 2 places the message box is used - one for delete one for copy - both have Yes/No options. When the handlePopupCallback is called with "Yes" as the button caption how do you know if this is the Delete popup or the Copy popup...?
I have a ideas but I just wanted to know what others are doing, avoid reinventing the wheel and all that...
My Projects
Programs Plugin [SIZE=2](retired) | Volume OSD Plugin (retired) | Documentation Wiki (retired)[/SIZE]
Programs Plugin [SIZE=2](retired) | Volume OSD Plugin (retired) | Documentation Wiki (retired)[/SIZE]