Forum for handling high DPI scaling with MFC dlls

Hi, 
I have posted a related query on forum Windows Desktop Development forums > Application Compatibility for Windows Desktop Development.
But have not got any replies yet. Please help. 
Here is a link to my query: http://social.msdn.microsoft.com/Forums/en-US/c1d36a88-2dbb-4669-b0d4-d553f6fe63a5/scaling-dialogs-and-property-pages-in-a-mfc-application-to-render-correctly-on-high-dpi-devices?forum=windowscompatibility
Thanks
Parul Gupta

Might also try here.
http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?category=vslanguages&filter=alltypes&sort=lastpostdesc
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows]
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

Similar Messages

  • How do I turn off high DPI scaling in AE CC 2014?

    I just downloaded the latest AE update and noticed that all of the screen elements are huge! As a MAX attendee, I understand that this is the high DPI scaling built in for the new high resolution screens. My laptop monitor is fairly high resolution, but the scaled up display looks ridiculous on it. I would love to go back to a 72 DPI display, but do not see an option for that, unlike Photoshop. Is it possible to go back to a non-scaled display?
    -Eric

    Thanks. Changing the scale to 100% worked, but it made everything else small. Guess that will take some time to get used to.
    Any plan to give the user the option to turn on and off the high DPI scaling with PP and AE? Similar to what is being done in PS? That would be my preference.

  • Forum for IS-High Tech

    where can i find a forum with topics related to IS-High Tech.

    Hi Yara,
    We don't have moderators or critical mass yet for to have forums for all industry solutions.
    Please post your question in the brand new General Industry Solutions forum: Industries
    Once there are enough questions for an IS-High Tech forum we will create one and move the posts over.
    All the best, Mark.

  • Is there support yet for PC high DPI displays?  I see there is support for Apple....

    Have been a user of Photoshop Elements for many years.  Presently have version 12, which is unusable on my Dell XPS 15" with 4K Ultra HD display.  I found a statement somewhere on Adobe's site that there is support for HiDPI displays from Apple, but no mention of Windows machines.  Scaling, changing resolution, etc. doesn't help - the icons are tiny and can't be seen by my eyes without squinting or a magnifying glass.  I don't want to switch programs but will if support isn't there for displays like mine that are more common every day.....

    Yes, in PSE 13 but definitely do the trial first to see if it works well for your display.

  • Seeking recommendations for handling large binary documents with security(preferable) for inbound and outbound scenarios from OSB- SOA and SOA- OSB

    Hi,
    I am currently working on a project with the following requirements
    1. Client transfers binary document (between 1-20MB in size) from OSB proxy to SOA composite to Content Management system
    2. Client retrieves binary document (between 1-20MB in size) from Content Management system to SOA composite to OSB proxy
    In otherwords, a inbound and outbound integration.
    What I have tried so far and my results:
    Scenario A
    1. Enabled MTOM on SOA composite by attaching wsmtom policy
    2. Created an OSB business service and consumed the SOA composite application
    3. Enabled MTOM on OSB proxy and business service and configured it to pass by reference
    Scenario B
    1. Enabled MTOM and security on SOA composite by attaching wsmtom policy and SAML policy
    2. Created an OSB business service and consumed the SOA composite application
    3. Enabled MTOM on OSB proxy and business service and configured it to pass by reference
    I have a demo integration setup that writes a binary document to a file using the above steps. My SOA composite has a file adapter that writes the binary data to an external file and it is exposed as a web service with a simple WSDL definition that has an inline XSD schema with an single element of base64binary type. I have added a mediator that maps this base64binary element node to the file adapter's input node.
    Result for Scenario A with file size less than 1 MB:
    Flawless execution with sub-second response times
    Result for Scenario A with file size of 8MB
    First attempt: SOA composite faults with database transaction related error, solved by increasing JTA timeout
    Second attempt: Flawless execution, but file transfer took over 100 seconds to complete. This is very poor performance and my suspicions are that this cannot be the expected behaviour, but I dont know the internal workings of the SOA composite and why its taking this long.
    Result for Scenario B:
    The OSB business service does not accept/recognize the SAML policy in the WSDL and suggests to configure OWSM policies manually, but OWSM policy in OSB does not have the wsmtom policy. Regardless of this, any permutation of MTOM + WSS security in this integration scenario either did not work outright or MTOM optimization was not happening ie binary data was materalizing in the message body.
    I have only about 3 weeks left to implement a viable solution and the closest ive come to a solution is Scenario A but that +100 second response time for an 8MB file is really worrying.
    I would appreciate any level of guidance, recommendations or suggestions as to how I go about tackling this problem.
    Thanks
    regards,
    Johnny

    I think this is due to the underlying mechanism of weblogic classloading..
    You can contact oracle support @ https://support.oracle.com to report issues. Roughly this is the process .
    1- get the Oracle Customer Support Identifier (CSI) for the client you are working for.
    2- Create a user profile quoting the CSI. This will send an approval request to oracle support admins at your client.
    3- Get the oracle support admins at your client site to approve your request for support access.
    4-Once they approve , you can access the support site and raise service requests.

  • Best practice for handling custom apps tracks with regards to EP upgrade?

    Hi,
    We've are currently in the progress of upgrading from EP 6 to EP 7.0, and in that context we need to "move" our tracks containg development of custom J2EE components.
    What we've done so far is :
    1.Create a new version 7.00 of each software component we have developed with correct EP 7 dependencies
    2. Create a new version 7.00 of our product in the SLD: Bouvet_EP
    3. Attached the new versions of the SCs to the new product version
    4. Create a new track with the SC of version 7.00 along with relevant dependencies
    My question now is how do we get the EP 6 component source code into the new track, so that we can change dependecies of the DCs and build it again for EP 7.0?
    Should we somehow export the code from the old track, check in and transport ? (how do we then export the code from the track)
    Regards
    Dagfinn

    Hi Dagfinn,
    This is a really interesting thread. I have not encountered this scenario till now. However i can only guess.
    1. Copy the latest sca files generated for all the SC's in your track from one of the subdirectories of JTrans and place those sca files in the inbox directory of target CMS. Check if these sca are available in the Check-in tab. I think this will not work because the SC verion you have defined in SLD for WAS 7.0 is different than the one in SLD for WAS 6.40.
    2. Second and crude method may be you create a SC in the source SLD similar to ones created in target SLD. Create a track for these SC's in the source system. Then create a track connection between the newly created track and existing tracks. Forward all the sources to the target track. Then assemble this SC and copy the sca file and repeat the process above.
    I dont know. Possibly this may click. Notes 877029 & 790922 also give some hints on migration of JDI server.
    Please do keep this thread updated with your progress.
    Regards
    Sidharth

  • Driver for Conexant High Definition Audio with windows 7

    I have a Pavilion dv6000 and I would like to install windows 7 - 64 bit but I don't find any driver.
    My currently OS is windows vista home premium 32 bit.
    Where I can find a compatible driver?

    Hi,
    There's an excellent Windows 7 upgrade guide for dv6000/dv9000 models on the following link.
    http://h30434.www3.hp.com/t5/Notebook-Operating-Sy​stems-e-g-Windows-8-and-Software/Windows-7-Upgrade​...
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Embedded objects do not scale on high-dpi displays

    I am using a new Lenovo Yoga 2 Pro laptop with a 3200 x 1800 display. Though in general the high-DPI scaling works to keep text sharp for most webpages (something that cannot be said for Chrome or Opera), Flash does not scale with the rest of the website. For example, when I watch a Youtube video, the text, objects, etc. scale appropriately, but the buttons for the flash player are very small.
    https://dl.dropboxusercontent.com/u/30375975/youtube_screenshot_problem.png

    Does this occur with all flash content?
    Please consider contacting the Adobe support team about this issue.<br>
    I think that maybe Flash Player is not compatible with this high screen resolution.

  • MFC dll in MAC

    Hello,
    I have a JNI native method, that interacts with a VC++ dll. So I wrotea MFC dll to establish connection between my Java program and that VC++ dll. It works just fine. What do I do if I have to port my Java application so that it runs on Mac ??
    Thanks a lot !!

    No, it's not possible. DLLs don't work on mac. As soon as you start using JNI, you loose java's portability and you have to rewrite (or at least recompile) all the native code for each platform you intend to support. To run on mac, you'd have to compile a mac-form shared library (don't know what they're called on mac). If you can find a VC++ compiler for mac that deals correctly with MFC (doesn't sound very likely), then you may be able to just recompile your native code. Otherwise, you'll have to rewrite it in a language that mac supports. I think cotton's right--reach for the kleenex.

  • Make Skype work properly with Windows DPI scaling for high resolution displays

    Hello, As of now, Skype does not work well with Windows DPI scaling. Everything looks fuzzy (fonts, icons, etc).Microsoft's recommendation is to turn off the DPI scaling ( http://support.microsoft.com/kb/2900023 ) but in this case, the text is too tiny to be read. Basically everyone with a high resolution display is stuck with either tiny of fuzzy fonts, making Skype unusable. It's really a pity because other Microsoft programs such as Office work perfectly with Windows DPI scaling, and Skype also looks great on Mac with Retina display. With high DPI displays becoming more and more common, this is a must have feature. Thanks for reading!

    pokegwa wrote:
    Hello, As of now, Skype does not work well with Windows DPI scaling. Everything looks fuzzy (fonts, icons, etc).Microsoft's recommendation is to turn off the DPI scaling ( http://support.microsoft.com/kb/2900023 ) but in this case, the text is too tiny to be read. Basically everyone with a high resolution display is stuck with either tiny of fuzzy fonts, making Skype unusable. It's really a pity because other Microsoft programs such as Office work perfectly with Windows DPI scaling, and Skype also looks great on Mac with Retina display. With high DPI displays becoming more and more common, this is a must have feature. Thanks for reading!It's been two years actually. As you can see Skype is really broken on HDPI displays and the issue is still being ignored/unacknowledged by Skype devs.

  • Intermittent bug in Touchpad One-Finger Scrolling with High-DPI display scaling

    This one is quite strange (since it does not happen all the time) but very annoying - on my T420s (with 1600x900 screen) I am using 150% DPI scaling in Windows7 (Pro x64). Ultranav driver is 16.2.5.0.
    I am using the preinstalled Chrome browser in a rather default configuration - and by default that program declares itself not High-DPI-aware and gets scaled up by desktop composition - something that can be changed in the properties from the compatibility tab, but which I keep like that since there are sites that look better this way!
    Long story short - touchpad scrolling fails to work in more than 50% of the cases in that specific Chrome setup in a way that strongly suggests it is a bug where the touchpad scrolling program fails to account for the fact that Chrome runs "scaled-up" - if Chrome is maximized and the mouse is positioned in the top half AND left-half of the screen scrolling works as expected, HOWEVER when the mouse pointer is positioned (still 100% over the Chrome window) towards the right/bottom extremes scrolling fails and the Ultranav driver seems to send the scrolling messages to some other window than Chrome! (since it seems to fail to take into account the 150% scaling - so it gets wrong values with GetWindowRect and should probably use instead stuff like DwmGetWindowAttribute(hWnd, DWMWA_EXTENDED_FRAME_BOUNDS...))!
    Steps to repeat the bug:
    - Windows 7 machine, large-resolution screen with Custom DPI text size set to 150% and the older XP-style scaling disable (which enables the new DWM scaling)
    - Chrome browser in default mode (which will use scaling); to repeat things easily the window should be maximized and the URL should be set to some long page on which scrolling can be performed
    - scrolling should be enabled in Touchpad settings (I do not normally use ChiraMotion, but I do not think it makes a difference)
    - mouse pointer should be positioned in the right-most 10% of the window and Touchpad One-Finger Scrolling should be attempted;
    - in many/most cases the scrolling messages are sent to some other window beneath Chrome (but NOT always, so it seems there might be another factor in play)
    - it is interesting that the different TrackPoint scrolling seems to work even in those conditions.

    You won't get a response from Adobe in these user-to-user forums but you will be heard if you post your frustration via the official bug report form:
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    Don't expect a formal personal reply though.

  • Firefox ignores Windows 8's compatability setting for high dpi screens.

    I recently tried the Windows 8.1 Preview, but then reset my machine to Windows 8 again.
    Before this, the first time I installed Firefox, it ran at a low resolution, so all the toolbars and content appeared huge and blurry. I fixed this with the Windows 8 compatibility setting disable display scaling on high DPI settings"
    After resetting the machine, and installing Firefox again, it was back to being blurry, so I changed the compatibility setting again, but this time, nothing happened. Even with the setting on, Firefox ignores it. Every other program with this setting works fine, and Firefox worked fine the last time around.
    I was advised in the Windows support forums to ask the question here.

    You can modify the layout.css.devPixelsPerPx and increase or decrease the value in 0.1 or 0.05 steps to adjust the size of fonts and other elements in Firefox.
    *The layout.css.devPixelsPerPx pref is a String value parsed to a float and allows to fine tune the dimensions of all elements (user interface and web pages) more precisely (resolution 0.1 or 0.05).
    *Change the default value -1 to 1 to make it work like in previous Firefox versions (100%)
    Start with a value of 1 and adjust this value with 0.1 steps or 0.05 for finer adjustments.
    *Use values between 1.0 and about 0.5 to reduce elements in size (do NOT go all the way to 0.05!)
    *Use values greater than 1.0 to magnify and make elements larger (percentage divided by DPI, % / DPI).
    *http://kb.mozillazine.org/about:config
    If web pages needs to be adjusted after changing this pref then you can look at the Default FullZoom Level or NoSquint extension.
    *Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/
    *NoSquint: https://addons.mozilla.org/firefox/addon/nosquint/
    Use this extension to adjust the font size for the user interface:
    *Theme Font & Size Changer: https://addons.mozilla.org/firefox/addon/theme-font-size-changer/

  • Windows not scaling dpiAware programs correctly on high DPI screens

    I just upgraded to a new notebook with a high dpi screen (3200x1800)..
    In the standard desktop (not modern), several programs do not display correctly- specifically Adobe programs, Sony Vegas, Sorenson Squeeze, etc..
    The type and fonts for the menus etc are scaled properly, but the UI icons are extremely tiny.
    See here.. The red boxed areas are what size the icons SHOULD be:
    http://tinypic.com/r/nb82l5/8
    If I edit the manifest for each .exe and change
    dpiAware to FALSE, everything scales fine but is blurry (sections inside red box from link above)
    If dpiAware is already true in the program, why isn't windows scaling the program interface icons correctly?

    Hi,
    Please check and uncheck the following option to see the result.
    Also,please use a external display device to test it.
    Regards,
    Kelvin Xu
    TechNet Community Support

  • Support for High-DPI screens Windows

    This was posted two months ago by someone else, but I feel that it is too important to be ignored. I have a QHD resolution Lenovo Yoga 2 Pro laptop, and I use Spotify almost constantly. However, I almost never use the desktop app; with DPI scaling, the scaling is fine, but the resolution is horrrible. With my display, I would hope for 1080p resolution (at least), but apparently it will never happen. My question is: is it possible for the Spotify developers to create a Windows program with high DPI support? Or maybe a Windows 8 app? Pretty please?

    Hi there,
    I guess you are talking about this idea, I do agree that this idea is very important.
    As soon as an idea reaches 100 kudos it will reach the spotify team and they will change the status. To learn more about the processing of ideas read this post "How your feedback reaches Spotify"
    If would suggest to add your kudos and support in that idea, and keep sharing it on sites like Facebook, Twitter...
     

  • Developing on a 4K Monitor - problem with DPI Scaling

    Development Environment:
    Visual Studio 2013 Update 4
    Windows 8.1 latest SP
    1st screen: 4K, 3840x3260
    2nd screen: 1920x1200
    Situation: I'm developing a WinForms Application since many years.  Originally, my development environment was started on normal screens. Now, the main screen was exchanged by a 4K.
    Problem: Whenever I design a dialog, or change an existing one, the resulting dialog is much too big on a normal FullHD display. It seems that Visual Studio cannot correctly the DPI scaling;
    end the forms designer even "destroys" existing code once you open a dialog.
    Question: What's the best way to develop WinForms desktop applications on a high-resolution display?

    So, I messed around a lot more with switchresX, and discovered you can create any retina resolution by making a custom 'scaled' resolution with double the dimensions in each direction. For example, 1440p turns into 5120x2880.
    The caveat here is that you can't set the actual screen resolution. So, for my rMBP, 1440p gets scaled to 1080p and looks like garbage. I'm fairly convinced that this is something that's determined by the driver though. I attached the monitor (Asus p287q) to a Mac Pro with an nvidia graphics card and using the nvidia web drivers (not the default ones that come with mac os x), and the 1440p on 4K HiDPI mode is available and looking great (60hz too!)
    I haven't tried this yet, but maybe installing the nvidia web drivers will fix the rMBP resolution as well. Thing is, the Macbook Pro 13 has Intel graphics, right? Not sure if Intel offers alternative mac drivers, but if they do it's probably worth a try.

Maybe you are looking for

  • Sharepoint and SSRS integration Error Requested registry access is not allowed.

    I have integrated SSRS with sharepoint foundation 2010, it was running fine but suddenly its starts giving me error as - "An unexpected error occurred while connecting to the report server. Verify that the Reporting Services Service Application mappe

  • My latest subscription doesn't work!!!

    Hi There, I used up my first subscription and added another same subscription after that. But it looks like the new added subscription didn't work... Anyone can help me on this??? Orlando.

  • "printf" asking for input data

    Hi, my cuestion is why when I ask the user to input data in the test bench with "printf" for my TOP.c not run? NOTE: I am a new user HLS :) Regards  

  • Trying to open PDF file in pages

    I've followed all the directions and tried several methods to get a PDF document from my pc to the iPad. From an email I should have the option to open the attached PDF with Pages, but I cannot do this. I touch the attached PDF file, and it just open

  • Help creating a simple line graph

    Hi Im very new to the Java language, yet have some background knowledge of C and C++. i have a problem with an application i am developing for a university assignment, the program is to simply simulate a water pressured nuclear reaction. the main JFr