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

Search:

Type: Posts; User: Monolith

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Replies
    6
    Views
    10,598

    Re: How do I determine if a window is hidden?

    CWnd::IsWindowVisible is exactly what I needed. I'm sorry for missing the obvious answer. I was too focused on finding if a window was hidden. Thank you.
  2. Replies
    6
    Views
    10,598

    Re: How do I determine if a window is hidden?

    By the way, this is what I've tried so far, and it does not work because showCmd is SW_SHOWNORMAL when the window is hidden.

    WINDOWPLACEMENT WindowPlacement;
    WindowPlacement.length =...
  3. Replies
    6
    Views
    10,598

    How do I determine if a window is hidden?

    I can't seen to find the right search terms to find the answer to this problem if it has been answered already.

    Given a CWnd (or HWND), how do I determine if that window is hidden (as in SW_HIDE)...
  4. Replies
    3
    Views
    1,307

    Re: Added in Reference?

    I know how to do that, but I don't know what to do after that. I don't see any new classes in the class view. Does adding a reference define a class that I should be able to create an instance of? ...
  5. Replies
    3
    Views
    1,307

    Directions for using VB DLL in C++/MFC

    I have a DLL that I need to integrate to. From the documentation that came with this DLL, it looks like this was made to work with VB, but I am using C++ and MFC. The DLL contains type information...
  6. Replies
    8
    Views
    5,490

    Re: ActiveX in a console application

    It sounds like you will need the window, but you could set the window to not be visible.
  7. Replies
    2
    Views
    819

    Re: Counting Overhead On A Socket

    I was hoping for a way of doing this in my program rather than using an external program, but as far as I know there's no way for my program to know how many packets winsock sends as a result of me...
  8. Replies
    2
    Views
    819

    Counting Overhead On A Socket

    I want to include some built-in performance monitoring in my Winsock-based server program. I can easily keep track of the number of bytes that I send through Winsock functions, but I'm also...
  9. Replies
    2
    Views
    942

    _ASSERT not working

    I am working with an application that I initially started as a MFC dialog based app. Adding the line _ASSERT(false); works as expected in most parts of the code, but if it's anywhere after the main...
  10. Replies
    5
    Views
    803

    Re: Dialog control problems in Vista?

    I appreciate the wise advice of suggesting that I test it myself, however that does not answer my question for this thread. What I'm asking is if anybody else has experienced any problems with...
  11. Replies
    5
    Views
    803

    Re: Dialog control problems in Vista?

    I have not been able to test it on a Vista machine. I only know of what's been reported to me, and I know that these controls have no problems when run under XP.
  12. Replies
    5
    Views
    803

    Dialog control problems in Vista?

    I'm getting various reports of issues users are having related to dialog controls when running our program under Windows Vista. The program was made for Windows XP, and we don't see any of the...
  13. Replies
    5
    Views
    879

    Re: IPC Suggestions

    All the data processing has to be done in the main thread, which is the same thread as the UI. This is not going to change because many other parts of the project rely on this. The reason I keep...
  14. Replies
    5
    Views
    879

    IPC Suggestions

    I need help determining what methods of interprocess communication would be best to use for my situation.

    I am adding on to a large existing application, and I have determined that I need to...
  15. Re: How can I use Windows messages through the .NET Framework?

    I'm afraid I don't know the solution to that off the top of my head. That appears to simply be an issue with getting the window handle casted to the right type though.
  16. Re: How can I use Windows messages through the .NET Framework?

    SendMessage(
    (HWND)i_parentForm->Handle.ToInt32(),i_parentForm is my pointer to the form that I want to send my custom message to. The first parameter that SendMessage takes is the handle to the...
  17. Re: How can I use Windows messages through the .NET Framework?

    I do include windows.h, and I believe I'm using SendMessage from the global namespace. Make sure you're linking with user32.lib. A default windows project should already link to this, but this is...
  18. Re: How can I use Windows messages through the .NET Framework?

    It's been a while since I worked with this code, but I believe this should be the basics of what you're looking for...

    Here's an example of the receiving WndProc

    public __gc class...
  19. Replies
    1
    Views
    733

    Re: Asynchronous HTTPS

    I managed to get WinINet working asynchronously, so I will go with that. One note for anybody else working on this is that when calling InternetReadFileEx in the INTERNET_STATUS_REQUEST_COMPLETE...
  20. Replies
    1
    Views
    733

    Asynchronous HTTPS

    Does anybody have any good methods for getting webpages (and posting back to them) over HTTPS (using SSL) asynchronously? WinINet could do everything I need, except I haven't managed to get it...
  21. Re: Recommendations for parsing XML from the web

    Or would it be better for me to go with another alternative, that is to program what I need in .NET and link to it as a DLL?
  22. Recommendations for parsing XML from the web

    My goal is to parse XML data that I'll be receiving from over the internet. Because of how I'll be receiving the data, I figure it will be best for me to parse the data using a streaming method...
  23. Replies
    4
    Views
    818

    Re: Trouble Using iphlpapi

    I take back my previous post by noting that I didn't do a clean rebuild when I changed the code to use dynamic linking. I haven't seen any more problems now that I've rebuilt my project and am using...
  24. Replies
    4
    Views
    818

    Re: Trouble Using iphlpapi

    An update:

    I removed the library from the linker completely and added code to do dynamic run-time linking by loading the DLL and getting the function that I use. The problem still persisted.

    I...
  25. Replies
    4
    Views
    818

    Trouble Using iphlpapi

    Hi, I wanted to use the the iphlpapi library to obtain the computer's MAC address (as it's shown here), however I ran into a bit of trouble with using the library.

    The code works perfectly and in...
Results 1 to 25 of 54
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured