midora Posted March 30, 2013 Share Posted March 30, 2013 I derived a dialog from EffectConfigDialog. The constructor of the dialog gets a description list of controls to create. The list contains the default values of the controls too. What's the right way to access the list in CreateInitialToken() to set the values of the new token to defaults? The problem is that the base class constructor of the dialog seems to call CreateInitialToken() to request the new token. But because this constructor will be executed before I can store the list in the new dialog instance , I don't know how to solve this issue. OK, temporary I'm using a static variable in the dialog class to provide the list to CreateInitialToken(), but this is just to allow me to continue coding... Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.