View Full Version : PopupNitify Not Wok correctly
Solmos
02-23-2007, 05:36 AM
Popup notify does not work correctly
it well only works if in menu autoplay single is necessary to execute file.run... with others actions, when executing them in same menu, no longer shows popup they are going to correct this serious error?
some suggestion?
I leave an example of which it does not work correctly...
download:
http://www.box.net/public/7fzmogay1j
Solmos,
Thanks for the example, that'll help me track down the issue. Hopefully I can get that fixed up this weekend.
Took a minute to look into this tonight. Actually, this isn't a problem with PopupNotify at all. The problem is that you are using a relative path to the BMP file. When you manipulate the folders in your code, you are changing your "working folder". The next time you call SetBackGroundImage, the relative path is no longer valid to the background image, so the popup does not show.
You could either set the working folder back to your AMS app's before you call SetBackGroundImage
Folder.SetCurrent(_SourceFolder);
PopupNotify.SetBackGroundImage("Autoplay\\Images\\popup.bmp", 16711935)
or use the full path to the BMP in your call to PopupNotify
PopupNotify.SetBackGroundImage(_SourceFolder.."\\Autoplay\\Images\\popup.bmp", 16711935)
Let me know if I can be of further assistance. The project with corrected code is attached.
Solmos
02-25-2007, 05:04 AM
thanks works perfect :yes ;)
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.