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.
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? ...
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...
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...
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...
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...
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...
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.
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...
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...
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.
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...
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...
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...
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...
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...
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...
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.
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.