Hello, all!
I have a dialog with a CEdit ([tt]IDC_START_FILTER[/tt]) in it.
also dialog has a message handling method:
How can I emulate that something has been typed in IDC_START_FILTER to make the procedure [tt]OnChangeStartFilter();[/tt] be called?
The message [tt]EN_CHANGE[/tt] is got by the paranet window, isn't it?
So I tried
It causes nothing.
I have a dialog with a CEdit ([tt]IDC_START_FILTER[/tt]) in it.
also dialog has a message handling method:
Code:
ON_EN_CHANGE(IDC_START_FILTER, OnChangeStartFilter)
The message [tt]EN_CHANGE[/tt] is got by the paranet window, isn't it?
So I tried
Code:
SendMessage(EN_CHANGE, IDC_START_FILTER, (LPARAM)GetDlgItem(IDC_START_FILTER)->m_hWnd);