Please remember this is an excerpt, don't tell me that I am missing brackets. For some reason the edit control will not display at all. Please take a look at how it is defined and see if I am doing anything incorrectly.
It may also be useful to know that infoWnd is a window that is the child of the top level mainWnd, and hShapeType is intended to be a child of infoWnd.