Focus indicator not showing after keyboard interaction

I have a legacy Win32 application written in C, which is giving me trouble with regard to the keyboard focus indicator. This behavior is not seen with a small MFC application. In particular, the keyboard focus is not shown for controls. This is most obvious
with a combo box with the droplist style, but is true of all controls.
I use the ComCtrl32v6 manifest to use modern controls.
I know about the Control Panel setting which turns on accelerator key and keyboard focus once the user interacts with the application in a particular way. With that setting Off, my understanding is that keyboard focus indicators are not shown until the user
tabs between controls. And in fact, that is what I see with a small MFC application. But with my full legacy application, even tabbing between controls does not cause the focus indicator to appear.
I suspect there is some interaction with the message loop I am using (though I am essentially doing GetMessage()/TranslateMessage()/DispatchMessage()). I say this because of some of the other questions I have read on this forum having to do with focus indicators
and TAB key. Though I am not mixing COM or .NET with my C application.
Is there some Win32 function I can call that tells Windows, "This application is being controlled by the keyboard, please show the various visual indicators"? Or some message I can respond to? Or anything?
Now for the really strange bit. This behavior depends on how I start the application! If I start the application with a mouse click (either double-clicking a desktop shortcut, or clicking the Go icon in Visual Studio, or clicking the OK button on the Start->Run
dialog), then I don't get focus indicators. But if I start the application with keystrokes (typing into a command prompt, pressing F5 within Visual Studio, pressing Return from the Start->Run dialog), then the focus indicators show up just fine.
Thoughts? Help?
Thanks in advance.

Is there some Win32 function I can call that tells Windows, "This application is being controlled by the keyboard, please show the various visual indicators"? Or some message I can respond to? Or anything?
Have you try something like this? Handling WM_KEYDOWN message:
case WM_KEYDOWN:
if(pMsg->wParam== VK_TAB){
SetFocus(hwndctrl);
http://msdn.microsoft.com/en-us/library/windows/desktop/ms646312(v=vs.85).aspx
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Report not show after submit query in parameter form

    Hi, anubody can help me with this
    report not show after click submit query button in parameter form

    To help you see what is happening, temporarily add DESNAME to your parameter screen. Make sure that DESNAME on the parameter screen has a value before you click the Submit Query button.
    If you are running the report with a local report service (running on your workstation), the value of desname should be the name of your default printer.
    If you are running the report on a network application server based report service you need to specify the name of a printer that is accessible to the server on which the report service is running. Make sure that it is specified in a way that the server can recognize it, e.g. \\printserver_01\HPLaserJ4210.
    Maybe this will help some.
    James K.

  • In web console Attestation menu item not showing,after OIM 9.1.0.1 install

    In web console Attestationmenu item not showing,after OIM 9.1.0.1 installation
    Version: 9.1.0.1860.16
    Build 1860.16
    thanks.

    Choose option Oracle Identity Manager with Audit and Compliance Module during installation.
    INIYA.

  • SD Card not showing after Mountain Lion Update

    This matter has been discussed for some time now in
    Apple Support Communities > Desktop Computers > iMac (Intel) > Discussions
    SD Card not showing after Mountain lion Update
    Since the update to Mountain Lion, the SD slot does not show up in Finder.
    Someone gave a fix using the killall in Terminal, and that worked only once.  I have not been able to get that fix to work again.
    The only saving grace for me is that my SD Card us is always from my Nikon camera, and Nikon ViewNX 2 software is able to see and read from the card.
    Killall may have worked partially in that I no longer get the error message telling me that I have removed the SD card improperly, and need to dismount it first.
    However, Finder still cannot see it.

    BrianForbesColgate wrote:
    Thanks, Barney ...
    Those are basics ... Been there, done that, first.
    Then you should hava posted all the troubleshooting you already accomplished.
    Does the card show up in System Information? Or is that another one of the "basics" you've already looked into?
    Does it show up in Disk Utility? If so, have you tried formatting it there to determine if it is a formatting problem?

  • New features, e.g., blur path and select focus, are not showing up in my PS drop down menus

    Although I've downloaded the CC PS 2014 updates the new features, e.g., blur path and select focus, are not showing up in my PS drop down menus - anybody know why and what I need to do?
    <moved from downloading,installing,setting up - kglad>

    Are you sure you understand the Cloud License concept?
    You are entitled to keep Photoshop CC and install Photoshop CC 2014, so CC 2014 is not connected with additional costs and the time it takes to install the new version of Photoshop should not be that much of a imposition, should it?

  • HP Pavilion dv7-3170ez: volume indicator not showing when setting volume

    Hi
    I own a Pavilion dv7-3170ez, and when I change volume using the volume touch-slider on top of the keyboard, volume is adjusted accordingly but no volume indicator appears on the screen.
    Previously, while setting volume, a speaker icon with a slider popped out in the middle of the screen showing current volume level.
    I'm using Windows 7 Home Premium and both Windows Update and HP update shows that I have latest version of software. Also, I've the latest version of the BIOS installed.
    As a side note: the touch buttons on top (volume, speaker and wireless enable, etc.) stopped working a few days after the volume indicator disappeared, I fixed that by plugging off power and disconnectiong battery for a while. Still, the indicator is yet not showing. Not sure if this is related (I guess not).
    Thanks
    This question was solved.
    View Solution.

    The Volume OSD is a function HP MediaSmart Menu. It will need to load on start up. To do that, go to msconfig, and make sure it is checked under the Startup Tab....
    If it is not there, you can download it from here...ftp://ftp.hp.com/pub/softpaq/sp48501-49000/sp48552.exe
    Although I am an HP employee, I am speaking for myself and not for HP.
    Make it easier for other people to find solutions, by marking my answer with 'Accept as Solution', if it solves your problem.
    Click on the BLUE KUDOS button on the left to say "Thanks"

  • Equipment Number not showing after created through IE01

    Hi,
    We have created a Equipment through IE01...after it system shows a message - Equipment XXXXXXXX and asset XXXXXXX created...
    But when we want to see it through IE03 or in master table EQUI (or in all equipment related tables), this is not showing...
    Also system showing information - Express document "Update was Terminated" received from author "XYZ"...
    Pleas guide..

    No....not using User Exit...
    But in SM13, this is showing an Error in Status column...
    After db click on it, showing like this...
    1..     ITOB_CALL_BADI     V1     Initial
    2..     MCI1_STATISTICS_UPD_V2     V2     Initial
    3..     CLVF_VB_INSERT_CLASSIFICATION     V1     Error
    4..     STATUS_UPDATE     V1     Initial
    5..     BG00_WARRANTY_LINK_UPDATE     V1     Initial
    6..     OBJECT_NUMBER_INSERT_GENERIC     V1     Initial
    7..     ITOB_BUF_EQ_SAVE_UPD_TASK     V1     Initial
    8..     ANLA_WRITE_DOCUMENT     V1     Initial
    9..     RA_ASSET_MODIFIKATION     V1     Initial
    As indicated on 3rd line, showing error...
    and after db click on it, showing an popup..in which giving Error Details -
    00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC
    If duplicate record exists, then where they are??? No Table updated....
    Plz guide..

  • Show focus points - not showing...

    I'm shooting with a 1D Mark III, and when I select "show focus points" not seeing the focus points...
    Is this supposed to actually show where my focus point was on the shot(s)
    That would be very helpful. What am I doing wrong?

    Allan Eckert wrote:
    I don't know what Kirby is talking about. He seems to be answering someone else's question.
    It reads pretty clearly to me.
    The camera has a sensor.  Additionally, it has an array of focus-sensors that are fixed in position relative to the main sensor.  Which of these focus-sensors was used by the auto-focus system to determine the focusing distance is what is displayed by the feature under discussion.
    The point I'm trying to make is that the "focus point" in the discussion refers to which exact focus-sensors in the camera were used to achieve auto-focus.  Unless your camera and your subject did not move between the time of focus-lock and the time of exposure, there will not be an exact correspondence between the spot on the sensor that is associated with that focus and what is depicted under that spot in the image. 
    In my practice, I find it much more awkward and time-consuming to select a focus point while the shot is framed than it is to focus with the central cross-type focus-sensors, lock focus, and then frame the exposure.  So for me -- and I think many others -- knowing which focus-sensor was used by the auto-focus system doesn't tell me anything:  there is no correspondence between the focus-sensor used and the image.
    In the linked blog post, the author shows an image with the selected focus-sensor super-imposed over the model's upper eyelid.  IME, it is assuming too much to assume that the autofocus system used that spot on the model's face when it determined the focusing distance.
    There are programs that will analyze the actual image and attempt to show what parts of the image are in sharpest focus.  Aperture does not do that.
    This is -- as I indicated -- tangent to the OP's question.  But the way s/he worded the question made me think that s/he things there is a certain one-to-one correspondence between the focusing-sensor used and the objects depicted under that focusing-sensor when it is superimposed over the image.  There is not.  I found that important to know, and so I pass it along.

  • Free space not showing after shrinking BootCamp Partition

    I gave a lot of space for the windows 8 bootcamp partition because I thought I am going to install Lots of stuff on it.
    After 3 months I found out that my lion partition is almost full!  And I have 100 GB of free (Unused) partition on my bootcamp partition.
    So I shrunk my bootcamp partition (in windows) by 60 GB.  I plan to expand my lion partition in OSX so then I restarted my mac.
    Next I went to disk Utility and found out that I can't expand my lion partition with the free space.  Until then I realized that lion and windows have different file systems (oops.)  so I decided to expand my windows partition back to normal.
    Then I went back in windows and found out that the free space is not showing in disk management!  What should I do next??
    The free space is showing on top but when I right-click the windows partition the "Extend volume" option is greyed out.
    PS I dont care about the mac partition now.  Did some cleaning with CCleaner and freed 10 GB

    you should have asked first to get some ideas? I would have recommended Paragon CampTuneX which is designed to resize those partitions for you.
    You want to have 20-30GB free space for any OS. If you were using an SSD, at least that much or even more.
    I have no idea if iPartition or gpart can help you now.

  • Values in collection are not showing after submit

    Dear all,
    I have a collection based on a query.
    After inserting a value in the collection and submitting, the record with the value is submitted to the database.
    But my collection does not show the value, how can i have my collection to show the values inserted/updated?
    Thanks,
    Diana

    Try issuing an explicit COMMIT. That should help. Explained here:
    http://roelhartman.blogspot.de/2012/07/handling-errors-in-tabular-forms-dont.html
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    https://apex.oracle.com/pls/apex/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Material list   not showing after saving the sales document

    Hi
    any body can give the answer  for this question : AFTER SAVING THE SALES ORDER MATERIAL LIST IS NOT SHOWING . Thanks in advance

    Hi,
    Go to Menu EDIT >> DISPLAY RANGE >> ALL ITEMS
    Also set it on sales order document type in VOV8
    Display Range -  UALL
    Kapil

  • Check mark not showing after importing in Image Capture

    The check marks will show right after importing photos to a hard drive in Image Capture. However, after unplugging my iPhone and plugging it back in to import new photos, the check marks are not showing up for the photos I have already imported. One way I was successful at getting the check marks to show was to select another folder to import to and then select the folders that contain the imported images.

    CDs don't contain artwork, you can either add the artwork manually or (if the album is available in the iTunes store) you can have iTunes download it automatically from there. You'll get information on both methods at this link: <<a href="http://docs.info.apple.com/article.html?path=iTunesMac/8.0/en/15298.html" >iTunes for Mac - Adding artwork to songs and other items

  • Itunes music not showing after accepting user agreement?

    I recently moved my itunes music to a new hard drive on my computer without any issues and it had been working fine for the last month or so but after starting up my computer today itunes has updated it's user agreement terms. After accepting the user agreement terms itunes started up but is not showing any of my music. I have the latest Itunes version 11.0.5.5 installed which was updated on the 17/8/2013. I also noticed today that Itunes has created a new itunes folder in the old location so I suspect that it is reading this library instead. How do I change the settings in itunes so it will show my music and artwork in the new location?
    Thanks,
    Lunar_21

    Hi Lunar_21,
    If you are not seeing any content in iTunes, you may find the following articles helpful:
    iTunes: How to open an alternate iTunes Library file or create a new one
    http://support.apple.com/kb/HT1589
    Apple Support: No content shows up in iTunes after updating
    http://support.apple.com/kb/TS1967
    Regards,
    - Brenden

  • Changes not showing after successfully building up.

    Hello everybody,
    I am new to the forum and also a new novice in Flex.
    I have written an application. I have a page called
    SchedAppointments.mxml, well, after writing the code and building
    the project successfully the page was displayed successfully as per
    requirements. After that, I made certain changes in the page
    (SchedAppointments.mxml), then saved it and build it successfully
    again. Now the problem is that the changes is not showing in the
    browser. What I am viewing in the browser is exactly the same as I
    saw before making the new changes.
    Can anybody tell me why its happening?
    Thanking you in advance,
    Manoj

    If there are any errors in yur code, FB will not compile
    anything new.
    Verify that you do not have any errors in the Problems pane.
    Then try Menu, Project, Clean.
    Tracy

  • Artwork not showing after manual library restore

    After my computer caught a virus and got reformatted, I reinstalled iTunes and simply copied my iTunes folder from a backup copy I made on an external hard drive to the My Music directory where it needs to be. Opened iTunes and the music is all there, but now the artwork does not show in Cover Flow mode. It is also "blacked out" when clicking on a song with "Get Info-Artwork"...just a black box in place of what was once a visual image of the artwork. I cannot find any options on any iTunes pull down menus to clear this up. I can't re-add the artwork....I just get a black box when i try to copy the JPG image file. Can anyone help?

    Probably nothing. This is a known issue with the music app that will hopefully be addressed in iOS 6. Actually, some of the artwork may show up on your next synch.

Maybe you are looking for

  • ITunes has stopped working

    Tried anew to install iTunes (9.1.1.12) again (I uninstalled after having upgraded to 9.X which was a very buggy release on the Windows side). But after having performed a very l o n g backup of my iPhone 3GS, it starts to do things with my songs and

  • Preview doesn't work on lion?

    When i tried to lauch "Preview" on lion( for the first time) this repport shows up: Process:         Preview [644] Path:            /Applications/Preview.app/Contents/MacOS/Preview Identifier:      com.apple.Preview Version:         5.5 (719) Build I

  • Issue with Opening a PDF file

    We have just completed an upgrade of one of our servers executing Reporting Services.   The upgrade was from 2005 to 2008. After we have rendered a report and have it saved in PDF format, we start having issues. If we try to open the PDF by double cl

  • My 2011 17in macbook pro is running slow with no hints as to why?

    Earlier this week I was playing a game on my windows partition and noticed it was incredibly slow so I went to the osx partition and it was slow there as well. By slow I mean when I type it takes awhile for the text to show up or changing from progra

  • Can i use unlocked iphone6 in india buying from uae with warranty?

    is that possible to use iphone 6 in india buying from uae with warranty?