Delphi Posted May 16, 2010 Share Posted May 16, 2010 To figure out if I should send a Standby/Hibernate/Close DVBViewer request to DVBViewer I use: DoEndAction := not FDVBViewer.OSD.ShowInfo('Xepg: ' + eaStr + ' in 5 min', '(OSD-Exit/OSD-Menu: Do it now!)', 'Do you want this?', 300, 'NO'); In OSD this works. When DVBViewer is minimized I get a corresponding Windows dialog, but 1) The 'NO' button is replaced by an 'OK' button 2) The result of ShowInfo is always False (DoEndAction True) meaning the user cannot prevent the pc from going to sleep. @Devs: Even if you agree that this is a bug I don't think it is a big deal: None has complained. I did have some user requests on making this end action stuff more flexible though, so a comment would be apreciated. Quote Link to comment
Lars_MQ Posted May 17, 2010 Share Posted May 17, 2010 This is caused by the differences between a OSD dialog and the windows based dialog. Currently there is no solution for this... Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.