How am I going to set a bindkey everytime the shematic windo

L

Leonel Mendoza

Guest
I was thinking of Hisetbindkey, but I cannot find the exact key called
everytime the schematic wndow closes? Anyone who have an idea?
 
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?
 
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.
 
On Mar 15, 7:17 am, "Pete Z." <p...@cadence.com> wrote:
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
 

Welcome to EDABoard.com

Sponsor

Back
Top