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

Search:

Type: Posts; User: miclus

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Replies
    5
    Views
    2,610

    Re: CRegKey Create() not working

    Ok, makes sense. Thanks.
  2. Replies
    5
    Views
    2,610

    Re: CRegKey Create() not working

    Hmmm, it appears the first one actually modifies the location of the 2nd one? Is this by design for 64-bit systems? I guess it makes me wonder why there would be 2 Directdraw Compatibility folders...
  3. Replies
    5
    Views
    2,610

    Re: CRegKey Create() not working

    Ok. I do see one difference in the keys. The Wow6432Node and down don't have special permissions checked. The first one does have it checked. But, when I make the permissions the same, still...
  4. Replies
    5
    Views
    2,610

    CRegKey Create() not working

    Hi. I'm having issues with the following code. It's used to fix weird colors with certain games on Vista / 7. It seems to work for almost everyone. But, I found an exception today.


    x =...
  5. Thread: Debugging Woes

    by miclus
    Replies
    4
    Views
    849

    Re: Debugging Woes

    I installed this symbols pack from Microsoft and it seems to magically work now. Thanks!
  6. Thread: Debugging Woes

    by miclus
    Replies
    4
    Views
    849

    Re: Debugging Woes

    I checked the settings again. Both are exactly the same. Both generate debugging info. Both are building from the same debug libraries. Every setting is the same except one is console subsystem...
  7. Thread: Debugging Woes

    by miclus
    Replies
    4
    Views
    849

    Re: Debugging Woes

    I inserted some code artificially to test it:




    wxSocketBase* l_sock;
    l_sock->Destroy();
  8. Thread: Debugging Woes

    by miclus
    Replies
    4
    Views
    849

    Debugging Woes

    Hi. I have a two programs I made in Visual Studio. One has no GUI and one does. When debugging, the one without the GUI seems to tell me the line of C++ code where an error occurs (with a yellow...
  9. Replies
    2
    Views
    3,136

    Alternative to GetConsoleWindow()

    Hi. My console app uploads a file at the end of it and hides itself while doing so. But, GetConsoleWindow() doesn't work on Windows 98. Is there an alternative way to get the console window? I...
  10. Replies
    8
    Views
    1,373

    Re: Tray Notification Box

    Thanks, Marc, it worked. Another question. For this box, it draws some text in the OnPaint() function. But, I decided it might be cool to have clickable text too. I found a static text class that...
  11. Replies
    8
    Views
    1,373

    Re: Tray Notification Box

    Nope, even when I tell my application to use mfc, still fails at that register line after 1 try. I don't get how his test application lets you show as many windows as possible. Something else must...
  12. Replies
    8
    Views
    1,373

    Re: Tray Notification Box

    Hmmm. In the example, he can pop up as many windows as he wants. But, I can only pop up one before each other attempt causes a fault. I traced it to his line of




    const char * p =...
  13. Replies
    8
    Views
    1,373

    Re: Tray Notification Box

    Cool, thanks!
  14. Replies
    8
    Views
    1,373

    Tray Notification Box

    Hi. Does anyone know how to make tray notifications similar to AIM and Skype? It's not really a popup menu or balloon tip, but a little rectangle that pops up near the tray to say when someone has...
  15. Replies
    2
    Views
    2,081

    Re: Issue with IcmpSendEcho

    Yeah. It seems to be related to using the winsock ping instead of the icmp one. So, I switched to icmp.
  16. Replies
    2
    Views
    2,081

    Issue with IcmpSendEcho

    Hi, I'm having an issue with a ping class that uses IcmpSendEcho. If I try to ping two or more IPs one after the other, it works fine. However, if I try to ping two or more at once (in separate...
  17. Replies
    2
    Views
    843

    Re: Strange issue with tray icon and splitters

    Hi. I solved the problem. I thought when restoring from the tray that all I needed was a ShowWindow() with SW_RESTORE. But, doing some trial and error, doing a ShowWindow() with SW_SHOWNA, then a...
  18. Replies
    4
    Views
    9,100

    Re: ShowWindow(SW_HIDE) problem

    I have a problem similar to this, and think your idea may be helpful. Do you know a way to simulate a mouse click on the taskbar rectangle for my program?
  19. Replies
    2
    Views
    843

    Strange issue with tray icon and splitters

    I'm having an issue where sometimes my splitters get messed up if I restore my program from my tray icon. However, they never get messed up if I restore from the taskbar rectangle. So, this tells me...
  20. Thread: Tray Icon Woes

    by miclus
    Replies
    4
    Views
    1,769

    Re: Tray Icon Woes

    Ok, here is an example video: http://duke3d.org/example.avi

    The first time when mIRC is showing and active, if I click the tray icon, it minimizes it. The second time, I select another app (IE),...
  21. Thread: Tray Icon Woes

    by miclus
    Replies
    4
    Views
    1,769

    Re: Tray Icon Woes

    Ok, maybe some pseudocode will help.




    if (program is minimized)
    restore it and bring it to the foreground.

    else if (program isn't minimized and isn't on top)
    bring it to the...
  22. Thread: Tray Icon Woes

    by miclus
    Replies
    4
    Views
    1,769

    Re: Tray Icon Woes

    Ok, I tested programs like mIRC and uTorrent which exhibit the behavior I want a little closer. I now believe they aren't doing exactly what I thought. Instead, it appears they minimize to the tray...
  23. Thread: Tray Icon Woes

    by miclus
    Replies
    4
    Views
    1,769

    Tray Icon Woes

    Ok, I have figured out most things I need to know about using tray icons except one thing. When someone double-clicks the icon, I want it so that it shows it in the case where the program is already...
  24. Replies
    6
    Views
    9,126

    Re: fopen failing on Windows 7 64-bit

    Ok, sir.
  25. Replies
    6
    Views
    9,126

    Re: fopen failing on Windows 7 64-bit

    File not opened successfully
Results 1 to 25 of 72
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured