09-08-2009 03:12 PM
09-08-2009 04:29 PM
09-08-2009 04:41 PM
That's the problem: the sub-panel in question is in a completely different dll than the parent window, and doesn't have access to the parent windows globals (nor should it). If the sub-panel closes itself there's no way of signaling the parent unless I put in a "PanelHandleValid" function (which is what I did).
I'd like to suggest that some such function be made part of the NI User Interface toolbox.