Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - how to catch ptwindow arm event: (4 Items)
   
how to catch ptwindow arm event  
Hi:

My application has an empty ptWindow, (there is no any widget inside). I can not catch the arm and disarm event! (But I 
can catch the window openning event).  please help me to get click and double click event on this ptwindow. thanks

weixing
Re: how to catch ptwindow arm event  
I assume you attached Pt_CB_ARM and Pt_CB_DISARM callbacks to your window already ;-)
You need to make sure that the Pt_ARG_FLAGS of your window has Pt_SELECTABLE set.
Re: how to catch ptwindow arm event  
Ok, I can catch the event now. thanks.
Another simple question: in the add callback function window, we can select Code Types [Code, Done, Cancel], Can I know 
which API function is same as Done ? I need to call it in my C source to close window.
Re: how to catch ptwindow arm event