The down arrow of the msctls_updown32 control can fail to display under certain conditions using certain Windows Desktop themes

I have a very odd issue with the msctls_updow32 control. Depending on the type of window or window heirarchy, when I click the up arrow with the autobuddy being an edit control, the down arrow disappears off the down button. I have to move the mouse back
over the down button to get it to display. At first I figured it was something in my OnCtlColor code. But I found that the updown control is never passed to OnCtlColor. I get the window class of each input and it never shows up. Nor does it's window handle
get passed in. Turning off OnCtlColor code and going default doesn't help. What I have found that helps is to turn off WIndows 7 Aero desktop and turn on Windows Classic desktop (Windows 7 Basic has the issue too). I also found that applying a skin to my app
avoids the issue. Using spy I finally found what appears to be a connection to EM_SETSEL. When that message is sent and processed, the arrow has disappeared. I finally gave up and created my own subclass of a CEdit control (MFC) and called SubclassDlgItem.
Then I implemented WindowProc and trapped the EM_SETSEL. Then I had to call UpdateWindow on the spin control and finally get the rectangle of the edit (buddy) and spin control and use that in a call to the parent (dialog) window's RedrawWindow.
 So there appears to be an issue with the updown control paired with an edit control that shows up depending on what desktop theme I am using. And to top it off, the window heirarchy seems to matter too (or perhaps the styles of the parent make a difference
as I found the issue doesn't show up on every window that may contain such a configuration). Consider this a heads up regarding the issue! One other note, changing to any of the "High contrast" Windows 7 desktops also avoids the issue. So Aero and
Basic seem to be the key.
R.D. Holland

Fails on Win 8.1 too. As with Win 7, changing the desktop display to one of the high contrast ones avoids the problem. My work-around is below. I have a video showing the problem. It also shows the display being changed to high contrast and how the problem
goes away. If only I could figure out how to use this web page to upload the zip file containing the video ...
LRESULT Myedit::WindowProc( UINT message, WPARAM wParam, LPARAM lParam )
LRESULT lr = CEdit::WindowProc( message, wParam, lParam );
if( message == EM_SETSEL )
CDialog* pParent = (CDialog*) GetParent();
if( pParent )
CSpinButtonCtrl* pSpin = (CSpinButtonCtrl*)pParent->GetDlgItem(IDC_SMALL_PARTS_SPIN);
if (pSpin)
CRect rectSpin;
pSpin->GetWindowRect( &rectSpin );
CRect rectEdit;
GetWindowRect( &rectEdit );
CRect both;
both.UnionRect( &rectSpin, &rectEdit );
pParent->ScreenToClient( &both );
//pParent->InvalidateRect( &both );
//pParent->Invalidate();
//pSpin->Invalidate();
pSpin->UpdateWindow();// skip this and the problem remains.
pParent->RedrawWindow(&both);// skip this and the problem remains.
return lr;
R.D. Holland

Similar Messages

  • When I press the down arrow on the right side of my location bar and history is displayed, how can I get it to display history from most recently accessed site on down?

    When I click the down arrow on the right side of the location bar (without having typed a full or partial URL in, I am just clicking the down arrow) a history dropdown is displayed which shows 12 website URLs that I have visited, but there does not appear to be any rhyme or reason as to what is being displayed. How can I cause this dropdown to display sites visited from the most recently accessed on down? And how can I cause more than 12 URLs to be listed in this dropdown? Why I can't I scroll down through my entire history in chronological order from most recently accessed site?

    Upgrade your browser to Firefox 8 and check
    * getfirefox.com

  • Everytime I click on the down arrow on the firefox button firefox fills my monitor screen. How do I stop this as it did not happen in the past

    Had to uninstall and reinstall firefox several times as something was trying to take it over. The only way I stopped it in the end was to go back to a restore point on my computer. Anyway, before I had this problem I had firefox leave a border down the right side of my screen. Now it is okay when I start firefox, border in place, but as soon as I click the down arrow on the firefox button for anything firefox covers the whole screen. How can I stop this?

    You can check for problems with the localstore.rdf file.
    *http://kb.mozillazine.org/Corrupt_localstore.rdf
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How do I clear out the list of choices from the down arrow in the navigation? Can't find anything that tells one how to empty it

    When you add a new tab, one can go to the navigation bar and click on the down arrow and get a choice of previous sites. I want to EMPTY that list. I cant out how to do it.

    Entries in the location bar drop down list with a yellow (blue on Mac) star at the right end are bookmarks.<br />
    You can remove such a bookmarked item that shows in the list if you open that url in a tab and click the yellow star in the location bar.<br />
    This will open the "Edit This Bookmark" dialog and you can click the Remove button to remove the bookmark if you want to remove such a bookmarked entry.<br />
    See also:
    * https://support.mozilla.com/kb/Clearing+Location+bar+history
    * https://support.mozilla.com/kb/Cannot+clear+Location+bar+history

  • When I try to use my remote to input Wifi password, only the down arrow works...how can I fix this?

    When I try to use my  remote to inut WIFI password, only the down button on the remote works.  How can this be fixed.

    likely the microswitches inside the remote are broken and you need a new remote

  • I've lost the ability to diminish a screen; the down arrow is gone. What can be done?

    help, please!

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    <b> To Enable SafeMode </b>
    *You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    [[Image:FirefoxSafeMode|width=520]]
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    *''Once you get the pop-up, just select "'Start in Safe Mode"''
    If it works in Safe Mode and in normal mode with all extensions (Tools > Add-ons > Extensions) disabled then try to find which extension is causing it by enabling one extension at a time until the problem reappears.
    Close and restart Firefox after each change via "Firefox > Exit" (Windows: Firefox/File > Exit; Mac: "Firefox > Quit Firefox"; Linux: "Firefox/File > Quit")
    * https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • The down arrow in the Google search box not working in V4

    Down arrow shows previous entries but won't post to search box

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • What does the down arrow at the end of the location bar do

    Cannot find a description of this item in the help info

    Depending on the settings you have for [[Location bar autocomplete#Controlling behavior|location bar suggest settings]], it will display a list of sites based on an algorithm that analyzes how often you visit a site and how recently the site was visited. After using Firefox for a while this should be a list of regularly visited sites.

  • What is the cloud with the down arrow in the middle?

    What is the cloud with the arrow?

    Hey mate,
    If it is next to apps, movies, tv shows, songs, apps you have previously purchased or downloaded, it means you can download it directly to your device without having to purchase it (again).
    By the sounds of it, if activate the icon and it cycles for a few moments then stops again, it means you may be trying to download something too large to download over a mobile network. Usually there should be an alert saying "this file needs to be downloaded over wi-fi", but this is not always the case. I suggest you locate a wireless network and try again.

  • In FF 4.0 why does the down arrow no longer function in the vertical scroll bar?

    Prior to FF 4.0 when I positioned my cursor over the down arrow of the vertical scroll bar in Hotmail and depressed the left mouse button, the scroll bar moved downward toward the bottom of it's column limit. Now in 4.0 it turns into an adjustment cursor forcing me to readjust the size of the Hotmail window rather than moving the scroll bar down the column. This only seems to happen in Hotmail.

    Check: http://kb.mozillazine.org/Website_colors_are_wrong
    See:
    * http://kb.mozillazine.org/Images_or_animations_do_not_load
    * You can see the permissions for the domain in the current tab in Tools > Page Info > Permissions
    * You can see all exceptions in Tools > Options > Content: Load Images > Exceptions
    * You can check the Tools > Page Info > Media tab for blocked images (scroll through all the images)
    There are also extensions (Tools > Add-ons > Extensions) that can block images.

  • What is the box with the down arrow in email.

    What is the box with the down arrow in the email.  it is at the top near the reply arrow.

    OKAY....are you guys ready for the answer to this question: "What is the box with down arrow in it in my iPad email?".
    This drove me nuts but I stuck with until I figured it out.
    When you open a message in iPad, sometimes you'll see a box with a down arrow. Touch it...and your email disappears!!!
    Where does it go?
    Lay down your iPad and go to your computer...you CANNOT access the Archive folder from your iPad!
    1) Go check your gmail account from your computer. When you click on a message, look in the top row of 'choices' in what to do with that emai: back to inbox, ARCHIVE(a box with a down arrow), report spam, delete, move to, labels, and more are your choices.
    2) now look in the left hand column and you'll see: Inbox, starred, Important, Sent Mail, Drafts, Notes, Personal, Travel...now mouse over Travel (or whatever your last item is in the column) and "More" will appear.
    3) Click on 'More' and "All Mail" will appear.
    4) Click on "All Mail" and voila!!! All of those messages that have been disappearing from your iPad are found there.
    5) NOW FINALLY, you can click on each message in the "All Mail" folder and you have the option to move them to any folder you wish.
    6) UNDERSTAND THIS: You CANNOT access the 'All Mail' folder from your iPad...you MUST use your computer.
    Hope that helps all of you who were as frustrated as me.
    Ya think Apple would write something about this somewhere!!

  • Approx 5 month old apple 11" Macbook air and now the down arrow is not working!

    Hi everyone,
    I have a 5 month old Macbook Ait 11".
    Recently, the "down" arrow on the key pad no longer works.
    I am completing my PhD and am working with a lot of data - so this isn't working for me!
    Can anyone make any suggestions?
    I simply can not be without my laptop for weeks while Apple fix it.
    I would appreciate any suggestions!
    Thanks :-)

    If you are winthin range of an Apple store or Apple Approved Service Provider, then I would suggest you take it in to be looked at. They will be able to give you an indication of how long a repair would take - typically not weeks, but unless they were prepared to swap it there and then, which is unlikely, you would have to be prepared to be without it for at least a few days.
    You can, of course, delay having it repaired until you reach a more convenient point to be without it, simply by plugging in a USB keyboard.

  • Getting message for every  record while pressing the down arrow

    Hi,
    when i query the form and when I am going through the records by pressing the down arrow of the keyboard I am getting the message 'Do you want to Save the records' for every record.
    How to avoid the message?
    I developed the form in oracle applications and it is a master detail form which have a header block and lines block.

    You are probably changing a value in POST-QUERY trigger, check your trigger and make sure you're not updating any values.
    For Oracle Apps specific questions, I suggest you post in the E Business Suite section of the Forums.
    Tony

  • HT1420 why does my ipad get ejected when I click on the menu arrow in the ipad button of itunes?

    I only run itunes to backup my ipad just before letting it install a new os version, but every time, i try to use the down arrow on the ipad button it ejects my ipad.  isn't this weird?

    Hi yABmeiqzz,
    I apologize, I'm a bit unclear on the issue you are describing. If you are talking about the smaller button with an underlined triangle inside of the larger iPad button in iTunes, that is normal behavior; that is the Eject icon used on Mac computers and in other Apple software. You may find this article helpful:
    iTunes 11 for Windows: eject
    http://support.apple.com/kb/PH12391
    Regards,
    - Brenden

  • IPhone mail : cannot reply, forward or create messages.  Can only delete a message by using the individual slide at the continue arrow.  The icons/controls "Delete" "Reply" "reply All" Flag" Download - .... all gone - they have disappeared.  Help.

    3G Iphone - Verizon: I cannot reply, forward or create messages.  Can only delete a message by using the individual slide at the continue arrow.  The icons/controls "Delete" "Reply" "reply All" Flag" Download - .... all gone - they have disappeared.  Help.

    Restart your iPhone. If that's not work repeat the Reset (Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.)

Maybe you are looking for