CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: The best way ??

  1. #1
    Join Date
    Sep 1999
    Location
    Salisburyl UK
    Posts
    324

    The best way ??

    Hi All...
    I have been out of programming for a few years now. However I find myself needing to add some functionality to an application I am running on a touch screen PC running XP. The application in question displays selected images for printing. Having selected a number of images using this app, you can then preview them using a next and back button. the problem is that the user can not remove an image from the selection without exiting the preview mode. Then of course, having removed an image from the selection list, the preview must start again at the beginning.
    What I want to do is write a little app that will stay on top and provide a button that will remove the image from the other apps selection list.

    My question is would the best way to achieve this be to use hooks and to put appropriate messages in the other apps message Q, or am I completely barking up the wrong tree.
    Many thanks all


    Phill

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    Re: The best way ??

    Quote Originally Posted by Phill Heald
    or am I completely barking up the wrong tree.
    Yes.

  3. #3
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    894

    Re: The best way ??

    Quote Originally Posted by Phill Heald
    I am running on a touch screen PC running XP. The application in question displays selected images for printing. Having selected a number of images using this app, you can then preview them using a next and back button. the problem is that the user can not remove an image from the selection without exiting the preview mode. Then of course, having removed an image from the selection list, the preview must start again at the beginning.
    What I want to do is write a little app that will stay on top and provide a button that will remove the image from the other apps selection list.

    My question is would the best way to achieve this be to use hooks and to put appropriate messages in the other apps message Q, or am I completely barking up the wrong tree.
    Dude, you gotta be a little bit more specific and not jump all over the subject.

    From my experience it becomes increasingly more complicated to use Interprocess Communication with newer OS'es and their higher security standards (what worked in XP doesn't work in Vista). If your problem is platform-dependent, then yes, you can employ hooks, undocumented API calls and higher administrative privileges for the app to do that. Still, we need you to be more specific about the issue to give any advice.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured