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
Does anyone know why this happens? Sometimes, when you click on the button to execute your compiled and built program, you get a message box saying that "One or more files do not exist", and it asks if you want to build them. Usually, these include the exe and several obj files. In...
I want to prevent users from expanding a treeview item within a dialog unless they enter a password. I know treeview controls send an ON_NOTIFY message to the parent window (in this case a dialog), but I haven't been able to figure out how to prevent that message from being handled. I tried...
I want to prevent users from expanding a treeview item within a dialog unless they enter a password. I know treeview controls send an ON_NOTIFY message to the parent window (in this case a dialog), but I haven't been able to figure out how to prevent that message from being handled. I tried...
If I have several radio buttons, can I enable or disable a command button depending on which radio button is clicked? For example, if 3 radio buttons in a group are labeled WHITE, BLACK, and GRAY, can I enable a command button on the same dialog only if WHITE or BLACK are checked, but...
I want my Visual C++ app to display a hyper-link so that the user can click on it and have his default browser open the web-site I designate. I am using MS VisualC++ 6.0. Does anyone know how to do this?
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.