Solved

Problem about the foucs?

Posted on 1998-10-08
1
208 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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
How do you programatically show and hide the Windows 10 On-Screen-Keyboard? 3 911
pre4 challenge 19 110
wordcount challenge 11 145
How do I get Window Title of all opened process? 4 33
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.

762 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