I need to replace the default EmptyListMsgOverlay with a custom overlay but can’t get it to be drawn.
I’ve created an instance of a class that implements the IOverlay interface.
If I add it to the overlay collection, then it gets drawn as I’d expect.
If I assign it to the EmptyListMsgOverlay member to replace the default (empty message) overlay no call is made to my instance’s Draw method.
The list is empty…so what specifically do I need to do to get the EmptyListMsgOverlay to be drawn..?
Thanks,
Ian
Is HasEmptyListMsg set to true?
HasEmptyListMsg
true
Log in to post a comment.
I need to replace the default EmptyListMsgOverlay with a custom overlay but can’t get it to be drawn.
I’ve created an instance of a class that implements the IOverlay interface.
If I add it to the overlay collection, then it gets drawn as I’d expect.
If I assign it to the EmptyListMsgOverlay member to replace the default (empty message) overlay no call is made to my instance’s Draw method.
The list is empty…so what specifically do I need to do to get the EmptyListMsgOverlay to be drawn..?
Thanks,
Ian
Is
HasEmptyListMsg
set totrue
?