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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by DoctorC

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

Part and Inventory Search

Back
Top