Leonel Mendoza
Guest
Mon Mar 14, 2011 3:58 am
I was thinking of Hisetbindkey, but I cannot find the exact key called
everytime the schematic wndow closes? Anyone who have an idea?
Leonel Mendoza
Guest
Mon Mar 14, 2011 9:35 am
On Mar 14, 9:58 am, Leonel Mendoza <leonel.m...@gmail.com> wrote:
Quote:
I was thinking of Hisetbindkey, but I cannot find the exact key called
everytime the schematic wndow closes? Anyone who have an idea?
Can anyone give example code, like for instance i want to display
message box everytime the x (close) button of the schematic window was
close?
Pete Z.
Guest
Tue Mar 15, 2011 1:17 am
On Mar 14, 12:35 am, Leonel Mendoza <leonel.m...@gmail.com> wrote:
Quote:
On Mar 14, 9:58 am, Leonel Mendoza <leonel.m...@gmail.com> wrote:
I was thinking of Hisetbindkey, but I cannot find the exact key called
everytime the schematic wndow closes? Anyone who have an idea?
Can anyone give example code, like for instance i want to display
message box everytime the x (close) button of the schematic window was
close?
I think what you want is to register a user app trigger with
deRegUserTriggers(). You can register a window close proc with
hiRegCloseProc(), but you would have to register a closeProc for each
window opened, where deRegUserTriggers() lets you register a trigger
for a specific view type.
hiSetBindKey() is for associating a Skill command with a specific
keystroke or mouse button click, so I don't think that's what you
want.
-Pete Z.
Leonel Mendoza
Guest
Tue Mar 15, 2011 4:41 am
On Mar 15, 7:17 am, "Pete Z." <p...@cadence.com> wrote:
Quote:
On Mar 14, 12:35 am, Leonel Mendoza <leonel.m...@gmail.com> wrote:
On Mar 14, 9:58 am, Leonel Mendoza <leonel.m...@gmail.com> wrote:
I was thinking of Hisetbindkey, but I cannot find the exact key called
everytime the schematic wndow closes? Anyone who have an idea?
Can anyone give example code, like for instance i want to display
message box everytime the x (close) button of the schematic window was
close?
I think what you want is to register a user app trigger with
deRegUserTriggers(). You can register a window close proc with
hiRegCloseProc(), but you would have to register a closeProc for each
window opened, where deRegUserTriggers() lets you register a trigger
for a specific view type.
hiSetBindKey() is for associating a Skill command with a specific
keystroke or mouse button click, so I don't think that's what you
want.
-Pete Z.
So many thanks with this post,.,.. I have used hiRegCloseProc() ,.,.
but i'm curios of how to use deREgusertriggers,.,. but any way my
problem was solved,.,.,. You're Great!! heheh