Type: Posts; User: Monolith
Search took 0.02 seconds.
March 13th, 2009, 05:28 PM
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.
March 13th, 2009, 05:11 PM
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.
March 13th, 2009, 05:07 PM
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)...
April 18th, 2008, 11:55 AM
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? ...
April 17th, 2008, 04:32 PM
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...
April 17th, 2008, 04:05 PM
It sounds like you will need the window, but you could set the window to not be visible.
January 22nd, 2008, 12:54 PM
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...
January 21st, 2008, 02:18 PM
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...
January 7th, 2008, 04:53 PM
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...
July 25th, 2007, 03:30 PM
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...
July 25th, 2007, 03:09 PM
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.
July 25th, 2007, 01:24 PM
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...
April 16th, 2007, 11:45 AM
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...
April 13th, 2007, 05:24 PM
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...
October 10th, 2006, 02:19 AM
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.
October 10th, 2006, 01:38 AM
(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...
October 9th, 2006, 11:04 AM
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...
October 9th, 2006, 02:52 AM
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...
August 15th, 2006, 06:01 PM
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...
August 15th, 2006, 04:27 PM
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...
August 10th, 2006, 04:22 PM
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?
August 10th, 2006, 03:10 PM
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...
July 25th, 2006, 07:15 PM
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...
July 25th, 2006, 01:06 PM
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.
July 24th, 2006, 05:51 PM
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...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.