Solved

Problem about the foucs?

Posted on 1998-10-08
1
215 Views
Last Modified: 2013-11-20
Hi,

In my project, I have placed a edit box and a ListCtrl in
a CFormView.
Now I want to implement like this:
While I am inputting a char into the editbox, the data
displayed in the ListView will be highlighted also.

How can I implement this?

Thanks!!!
0
Comment
Question by:ee_lcpaa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
umarama earned 40 total points
ID: 1323126
I think this question has been repeated by mistake. nevertheless, here is the answer repeated !

In the resource editor, check the option for ListCtrl : Show Selection Always. This is seen in the 'styles' tab.

With this, your row selection will always be highlighted. Ofcourse, when you are editing in the editbox, the list ctrl will lose focus and hence you will see your highlighted row as gray in color and not the focus color (default blue)
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

726 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