EDAboard.com | EDAboard.eu | EDAboard.de | EDAboard.co.uk | RTV forum PL | NewsGroups PL

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

Ask a question - edaboard.com

elektroda.net NewsGroups Forum Index - Cadence - How am I going to set a bindkey everytime the shematic windo

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

elektroda.net NewsGroups Forum Index - Cadence - How am I going to set a bindkey everytime the shematic windo

Ask a question - edaboard.com

Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
RTV map EDAboard.com map News map EDAboard.eu map EDAboard.de map EDAboard.co.uk map Opony