Thanks. I don't know how I missed it. It was right in front of me the whole time. Having my 7 month old son (who is teething) :mad: yelling in my ear probably had something to do with it. Thanks again, Mike
mspitzer
Posts
-
Process Handle given Process ID -
Process Handle given Process IDThis may be something simple, but I can't seem to find it anywhere. Does anyone know of a way to get a handle to a process if I know the process ID? What I am trying to do is see if the process is still active by calling GetExitCodeProcess. I am getting the PID by enumerating the processes that are running at a certain time. Technically I could just run through all the running processes everytime I wanted to know if the process was running and compare PIDs, but that seems like overkill. It would be much simpler just to get the handle once, and check at anytime in the future using GetExitCodeProcess. Thanks, Mike
-
How do I maximize a child frame in code?I may have something messed up elsewhere, because that is what I was doing to maximize it before. I tried it in several locations in the OnCreateClient (I already was using this method to set up a splitter window) and I still don't get the buttons or the contol menu in the frame's menu bar. Any other ideas? Thanks, Mike