Solved

View Refresh???

Posted on 1998-09-07
1
139 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
ID: 1321855
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Detect CR LF to each line 12 174
Smart Camera scanning and reading information 3 121
Capture logon name 13 104
c++  placing data into a form and an editbox 5 23
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
In this post we will learn different types of Android Layout and some basics of an Android App.
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.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

756 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