Possible problem with setNotifyHandler

new topic     » topic index » view thread      » older message » newer message

Derek,

I may be either using this incorrectly or have found a possible problem 
regarding notification handlers.  I have a main program that uses:

void = setNotifyHandler( NM_RCLICK, routine_id("DoNM_RCLICK"))

to handle when the user right clicks in a tree view.  I have now 
developed a dialog to search for objects that also contains the same 
call (also contains the same routine, but not defined as a global).

When the dialog is called all right clicks are working fine.  Upon 
returning from the dialog to the main window the right click 
notification no longer happens in the main program but works fine in 
subsequent calls to the dialog.  In the main program after the call to 
the dialog procedure I added:

void = setNotifyHandler( NM_RCLICK, routine_id("DoNM_RCLICK"))

and the right clicks began working again in the main program.

Am I doing something wrong?

Thanks,

Jonas

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu