I am running a process (mspaint) hooked inside of a picture
box control in powerbuilder. I need to remove some of the
menu items and replace them with my own. I.E File->Exit I
want to notify me if the user has clicked this so I can run
code.
I am able to get a hold of the menu and insert new ones no
problem. I read that in order to capture the menu click I
need to listen to the window messages that mspaint sends
using WndProc.
How can I hook a powerbuilder event to listen and receive
these messages?
The one I think most suits my needs (for learning purposes)
is PBNICallback. When I open the test workspace in PB I get
an error regenerating: "Illegal data type WindowEnumerator".
Any pointers/direction I can take this to find an answer?
Thanks,
Matt