Solved

View Refresh???

Posted on 1998-09-07
1
128 Views
Last Modified: 2013-11-20
Hi,
I made a dialog box which contains one edit box,one list box
and serveral buttons.
Now I want the data displayed on the list box can be
refreshed after I have typed a character in the edit box.
(without doing anything just typing a char. in the box)
I tried to catch the message WM_KEYUP to implement this but
it is not successful.
Now I only can refresh the data by clicking the button
in the dialog box after typing a char. in the box.

How can I refresh the data on the list box?
0
Comment
Question by:ee_lcpaa
1 Comment
 
LVL 23

Accepted Solution

by:
chensu earned 20 total points
Comment Utility
Capture the EN_CHANGE notification message sent by the edit box.

ON_EN_CHANGE(ID_EDIT, OnEnChange)

void CMyDlg::OnEnChange()
{
//refresh the list box
}
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now