Eddie Owen
April 15th, 1999, 11:38 PM
I've built CMyEdit based on CEdit and I have a couple of problems. Firstly, I wanted to initialise the text within CMyEdit once the control gets a m_hWnd, but I can't work out which interrupt to use: OnCreate never seems to trigger. Secondly, I need CMyEdit to retain whatever styles were applied in the dialog editor (eg. Visible), since changing these options don't seem to affect the control when it actually appears. Any ideas? I understand that I can do both these things by calling functions from the OnInitDialog in the parent dialog, but I would rather CMyEdit do this automatically (it's much cleaner that way).
Thanks,
Eddie.
Thanks,
Eddie.