Dear all,
I have created a SKILL form using (hiCreateAppForm) and attach/display it in a window using (hiCreateWindow) and (hiDisplayWindow). It was implemented in that way mainly because of some toolbar items I need to place on the window.
What I am trying to figure out is how to properly implement the scenario of closing the window via the 'X' button. Ideally, I would like a dialog-box(Yes/No/Cancel) to pop-up and act accordingly based on user's selection. In case of a 'No/Cancel', the window should remain open (as in ADE-L, ADE-XL etc.).
I've read carefully the documentation, searched the forum threads but didn't manage to find a proper way to implement this. I also did some desperate trials using (hiRegCloseProc) even though the documentation states that it shall be used strictly for clean-up and that a C closing procedure is called before any SKILL closing procedure.
Is what i'm trying to achieve simply a dead-end?
Many thanks,
Andreas