Sorry for the confusion... Actually, I am using the constants given in the UIR.H file. The global value I use is the panel<_handle> variable the is created. I use the global variable instead of the parameter passed in the callbacks.
callback( int panel, int control, ...)
{ use(panel_handle, PANEL_CONTROL1);
The unusual pattern that I have seen is that when I don't change the tab order and:
- I move a control in the file,
- or I change the text from "old text" to "new text" (title for the control)
- and other unusual situations...
that's the time I (sometimes) get unusual conditions. But when I recompile the code all is (always) well.
*** I was hoping that when I change the UIR file, I won't have to re-compile.
- I don
't change the tab order
- I don't add any controls,
- I only move the controls to align it with other controls,
I don't see any announcements that identify any patterns. These conditions is sometimes okay, and sometimes not. I've taken to tell my users not to modify the uir file at all, and when I modify the file, I always re-compile it.
Is there a pattern that I should watch out for?
Thanks.