winapi - win32 api edit control can't be selected or edited -


i created edit control using win32 api this:

createwindow("edit", "", ws_child | ws_visible, 0, m_position, controls_width, editbox_height, m_editorwindow, (hmenu)getnextcomponentid(), m_instance, null)

i can change text using setwindowtext, can't select or edit it's content - purpose of edit control, or not?:))

i read on msdn http://msdn.microsoft.com/en-us/library/bb775458%28vs.85%29.aspx must use edit_enable don't know find thin macro , don't heave idea how enable editing. when move cursor on cursor changes standard edit cursor.

thank help!

or try:

hwnd mywindow = createwindow("edit", "", ws_child | ws_visible, 0, m_position, controls_width, editbox_height, m_editorwindow, (hmenu)getnextcomponentid(), m_instance, null);

enablewindow(mywindow, true);


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -