I have a dialog derived from CAknDialog that I create using PrepareLC() and RunLD(). The only item in the dialog is an editor, defined in a DLG_LINE in the dialog resource. I want to access the editor _after_ the dialog's PreLayoutDynInitL() and PostLayoutDynInitL() functions execute. In particular, I want to call the editor's SetCursorPosL() function. That call has no effect when called from PostLayoutDynInit(). RunLD() maintains control of the dialog, so I can't just write a dialog function that includes a call to SetCursorPosL(), because there'd be no way to invoke that function (as RunLD() executes). Any way of doing this? Or do I need to execute the dialog differently?