Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » CExtComboBox / filter pb Collapse All
Subject Author Date
Louis RUBET Dec 12, 2007 - 2:06 AM

hi

To enable CExtComboBox filter wnd, I do this (ProfUIS 2.81, Visual 2005):

    m_wndCombo.m_bEnableAutoComplete = true;
    m_wndCombo.m_bEnableAutoFilter = false;

(see your sample project ’TextComboGrid’)

-> pb in exthook.cpp when I left click on the non client area of the combo parent dialog:

exthook.cpp: line 236: function HookChainsWindowProc: 0xC0000005: access violation
(The hWndHooked parameter is 0xfeeefeee, which is not a valid HWND)

You can easily reproduce the pb with TextComboGrid project.

Have you a solution ?

Technical Support Dec 13, 2007 - 4:52 AM

The CExtComboBox class is no longer based on CExtHookSink. This problem and several other issues were fixed. Here is the latest source code of the combo box:

UpdatedComboBox.zip

Louis RUBET Dec 12, 2007 - 11:40 AM

sorry

I meant
m_wndCombo.m_bEnableAutoComplete = false;
m_wndCombo.m_bEnableAutoFilter = true;