CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: ahmd

Page 1 of 60 1 2 3 4

Search: Search took 0.14 seconds.

  1. Replies
    5
    Views
    2,472

    Re: Why can't I drag text into my MFC app from IE?

    Thank you, both.

    Evidently one needs to allow drag-and-drop from IE through the registry.
  2. Replies
    5
    Views
    2,472

    Re: Why can't I drag text into my MFC app from IE?

    You didn't run IE and my app elevated, did you? I did my test on a Standard user account and there seems to be UIPI conflict between a lower privileged IE and my app.
  3. Replies
    5
    Views
    2,472

    Why can't I drag text into my MFC app from IE?

    I can't seem to make IE selected text draggable into my MFC application. Take a look at the sample VS 2008 C++ solution attached. To illustrate, compile and open the app. Then open an IE (the one I'm...
  4. Re: Can't load 64-bit key using RegLoadKey in 32-bit service

    Oops. Double-posted...
  5. Re: Can't load 64-bit key using RegLoadKey in 32-bit service

    Another correction.

    For Windows Vista and later: The file to load is "%LocalAppData%\Microsoft\Windows\Usrclass.dat" which is a non-roaming part of the user's registry hive. (Mostly COM stuff +...
  6. Re: Can't load 64-bit key using RegLoadKey in 32-bit service

    A quick follow-up: I found out that the classes data is actually stored in a different file "\Device\HarddiskVolume2\Users\UserA\AppData\Local\Microsoft\Windows\UsrClass.da​t". Any idea how to get...
  7. Re: Can't load 64-bit key using RegLoadKey in 32-bit service

    Igor, much appreciated! I haven't been here for some time and here you are again, as always bailing my butt :)

    How you been?

    Thanks for the clarification. It all checks out, although I'm not...
  8. [RESOLVED] Can't load 64-bit key using RegLoadKey in 32-bit service

    I need to open up and modify a user's registry key from a 32-bit service (note that the user is not logged in at the time.) I do the following:


    //For simplicity error checks are not shown
    //I...
  9. Replies
    21
    Views
    34,434

    Re: Visual Studio 2012 and C++, MFC

    @OReubens: What's funny (or I guess, not so funny for developers) is that MS seems to come up with a new programming technique with every release of Windows. For instance, I don't even hear about...
  10. Re: Trying to display anti-aliased PARGB bitmaps in a menu

    OK, nevermind. Fixed it... took over 2 days to straighten it out (thanks to people from Stackoverflow.) For whoever is interested, a working solution is attached to this post...
  11. [RESOLVED] Trying to display anti-aliased PARGB bitmaps in a menu

    I'm attaching a project that demonstrates the issue. I need to display a context menu with anti-aliased bitmaps. I wrote my own method to convert an icon into a bitmap (see the...
  12. Re: Failed to access registry keys while the server is rebooting

    Thanks, Igor. In my case I need this for the HKLM software hive for Windows XP family OS. Luckily in Vista they came up with the SERVICE_CONTROL_PRESHUTDOWN notification for the shut-down case, but...
  13. Re: Failed to access registry keys while the server is rebooting

    Hey, mharishkumarreddy, I know it's an old thread. I'm curious if you were able to resolve this issue?
  14. Replies
    21
    Views
    34,434

    Re: Visual Studio 2012 and C++, MFC

    There's clearly a trade-off between desktop and mobile hardware. Intel's Core i5 and i7 might be inefficient for a mobile device but on the other hand ARM CPUs with their RISC architecture would not...
  15. Replies
    21
    Views
    34,434

    Re: Visual Studio 2012 and C++, MFC

    Oh, I hope they fix that IntelliSense, or at least make it "as good" as it is for C# in VS2010.


    @superbonzo: Obviously they will introduce new APIs that make sense for the tiled interface. The...
  16. Replies
    21
    Views
    34,434

    Re: Visual Studio 2012 and C++, MFC

    Yes, I agree about the Metro stuff. I watched some Channel9 demos about the "new" way MS want us to code their apps and I "got scared." All this talk of "can't run in the background", "only one app...
  17. Replies
    21
    Views
    34,434

    Re: Visual Studio 2012 and C++, MFC

    Found this link that may also have some relevance to my question:
    http://channel9.msdn.com/Events/Build/2012/3-000
  18. Replies
    21
    Views
    34,434

    Re: Visual Studio 2012 and C++, MFC

    @superbonzo: Thanks for the links.

    @Igor Vartanov: I heard that there's an issue with XP support, which will be a major drawback for me. Although it seems like they fixed the issue with the size...
  19. Replies
    21
    Views
    34,434

    Re: Visual Studio 2012 and C++, MFC

    Thank you, fellas. And sorry for the delay...

    @nuzzle: Yes, I agree that MFC is clearly a legacy stuff. I haven't looked into the new C++ 11 standard. As long as it has nothing to do with the .NET...
  20. Replies
    21
    Views
    34,434

    Visual Studio 2012 and C++, MFC

    I was wondering if anyone has Visual Studio 2012 installed. I saw a lot of promotional material but it doesn't say much about C++ and MFC in it. So, if anyone who tried it out, what's your opinion?...
  21. Sending system into sleep mode right after logging off users fails

    I have a service application that runs in conjunction with a user-mode module. The software allows to perform a specialized power operation at which the user-mode code first logs ff the Windows user...
  22. Re: Is PBT_APMSUSPEND notification supposed to be sent out during forced sleep in XP?

    Guys, I made a short test project to illustrate the problem. (It's attached here as a MSVS 2008 solution.)

    Also a couple of screenshots:

    1. Invoking it as a non-forced sleep:
    30399

    2. While...
  23. Is PBT_APMSUSPEND notification supposed to be sent out during forced sleep in XP?

    I'm not sure if I'm reading documentation correctly, so I'd appreciate if someone could clarify.

    I run the following API to put Windows XP SP3 into sleep (or standby mode) from a worker thread:
    ...
  24. Re: Forcing app icon to be always shown on tray in Windows 7/8

    Yes, I know that there's no "documented" way of doing it. What I guess, I'm looking for is a "hack". As I explained above there's no reason to block this option for an enterprise setting. I found a...
  25. Forcing app icon to be always shown on tray in Windows 7/8

    Does anyone know where in registry the Explorer stores tray icons visibility settings? (Always show, show only notifications, or always hide.)

    PS. I know that Microsoft doesn't want us to change...
Results 1 to 25 of 1488
Page 1 of 60 1 2 3 4





Click Here to Expand Forum to Full Width

Featured