Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. DoctorC

    Sending a virtual keystroke

    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...
  2. DoctorC

    Sending a virtual keystroke

    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...
  3. DoctorC

    Need database programming CD

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

    Mapping My Documents shortcut

    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...
  5. DoctorC

    Windows Explorer path

    Thanks for the replies. I have settled on GetSystemWindowsDirecory(LPTSTR, UINT) to find the Winnt folder.
  6. DoctorC

    Windows Explorer path

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

    path for Windows Explorer

    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
  8. DoctorC

    about wizards

    to remove an app wizard, I think you need to find the .awx file associated with that wizard and remove it.
  9. DoctorC

    ATL TreeView

    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
  10. DoctorC

    Creating "Wizard" type apps

    Look up Wizard97 in MSDN. There is a sample app there which is pretty easy to adapt/modify.
  11. DoctorC

    How do I display images in an MFC dialog?

    Another place to look is The MFC Answer Book, by Eugene Kain. Pages 290-294 cover this subject
  12. DoctorC

    Windowless app

    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.
  13. DoctorC

    Windowless app

    Does anyone have a suggestion about creating an application that does not have a frame window or a view?
  14. DoctorC

    ive got a question for ya

    2 suggestions beyond going to your local software retailer. You can get Visual C++ at www.beyond.com and www.amazon.com
  15. DoctorC

    Printing GUI

    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...
  16. DoctorC

    Splash Screen

    Go to Project/Add to Project/Components and Controls, then click Visual C++ Components, and you will see Splash Screen as one of the components. It is fairly esy to set the time the splash screen will display.
  17. DoctorC

    Bug in VC++ IDE?

    Bingo...that was it. I somehow had two files dated 10/29/00. Once I modified them to change the date, the problem went away. Charlie
  18. DoctorC

    clw file

    I believe the clw file is for the class wizard. Unfortunately, the wizard gets very unhappy if you mess with it. I would try removing the .clw file from your project and save it in a safe place. VC++ MIGHT even give you the opportunity to recompile so that it can make another .clw file that...
  19. DoctorC

    Header problems

    What about declaring the global in a .cpp file? You may have to experiment to make sure the .cpp that has the global gets compiled first, so that when the compiler encounters it in the other .cpp, it will have already "seen" it. Another option, considered safer by many C++'ers, is to...
  20. DoctorC

    Bug in VC++ IDE?

    Just for clarity...this is a simple project I am working on...a test bed, really, with no dll's, COM, etc. A mentor of mine suggested that if some file(s) were created with a Late date, say, 2001, this will force the guarantee the message appearing. The truth is, I haven't taken the time to...

Part and Inventory Search

Back
Top