Thanks Rick, for your response. I am still not getting the behavior I need. I know that pressing the key combination "Alt-Enter" produces the desired effect in the target app. I have confirmed that posting a WM_CLOSE message will close the target app. I can also generate a Message...
I want to send a message to a window in another program which will simulate actual keystrokes in the receiving program. The key combination I want to send is alt-enter.
I have tried:
PostMessage(hWnd, WM_SYSKEYDOWN, VK_RETURN, 1);
but I'm not getting the response I want. I have checked the...
I bought a used copy of Teach Yourself Database Programming with Visual C++, then I learned that the CD with source code, etc. was not in the book. The publisher says the book is out of print, and does not support it. Does anyone know where I might find a copy of the CD?
I would like to be able to map the "My Documents" shortcut to a folder or drive of my choosing. It seems that the link must be mappable, because the system resets it to the logged on user in Win2k. I have searched the registry for "My Documents", but haven't found anything...
I posted this question late Friday, but I'm afraid it may have been overlooked, and is now buried pages deep. Does anyone know how to dynamically find the app path for Windows Explorer? With most apps you can look in the Registry under
"HKLM\Software\Microsoft\Windows\CurrentVersion\App...
Does anyone know how to dynamically find the path for Windows Explorer? Normally, you can look in the Registry under "HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths", but windows explorer isn't listed there. Is it an "SH" type function? Thanks
Does anyone have some sample code for building a treeview in an ATL Windows program. I have made treeviews in MFC without problems. My code looks good, but nothing is showing up, so I must be missing something.
Thanks
Thanks. I'll read up on it. I had in mind a utility that sits in the tray, with a right-click (and/or left-click) menu. I can do the tray icon, but didn't know how to get rid of the FrameWnd.
I'm not sure if you mean you want to print a screen capture of your dialog box, or something else. If you want just a "picture" of your dialog box, bring it up on the screen and make sure that window has focus. Then press Alt-Print Screen, which places the image on your clipboard...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.