Announcement

Collapse
No announcement yet.

All I need is to click OK!!

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • All I need is to click OK!!

    ok so am using a bluetooth utility that automatically connects my phone to the PC creating an audio gateway .. everything is working good except for 1 tiny thing.. when my system is trying to go into hibernation (while audio gateway still connected) it pops up a small dialog asking if i want to break this connection or not.. if i press OK it does and then hibernate if i click cancel, connection stays and hibernation command cancels

    now its much better if there is a way to prevent that msg from coming up, but if its not doable then maybe something that will automatically send a command to press ok after msg apears when hibernating
    >> > Design & Planning . . . . . . . . . . . . . . . . . . . . 100%
    > Software Installation . . . . . . . . . . . . . . . . . . . .98%
    > Hardware Installation . . . . . . . . . . . 55%
    >>> Overall Progress . . . . . . . . . . . . . . . . .85%

  • #2
    I believe you can send a Windows message using a small Service that runs all the time. The service would look for the application in question and send a mouse click command at the proper X and Y location. You will need to be able to figure out the name of the app and also find out if it is running. Then, you can send a message to it. Code Project should have examples of sending windows messages as well as determining if another program is running.
    2006 Lancer Evolution IX MR In-Dash PC Project - WIP

    Planning:
    [----------] 100%
    Purchasing:
    [----------] 90%
    Installation/Fab/Assembly (Revised v2):
    [----------] 90%

    Comment


    • #3
      thanks galvitron that might be really helpful but the problem is that am not a programmer and i don't know how something like that can be done so would you be able to guide me through it step by step? that would really be great
      >> > Design & Planning . . . . . . . . . . . . . . . . . . . . 100%
      > Software Installation . . . . . . . . . . . . . . . . . . . .98%
      > Hardware Installation . . . . . . . . . . . 55%
      >>> Overall Progress . . . . . . . . . . . . . . . . .85%

      Comment


      • #4
        Well it will be almost impossible for you to do this as it is best done in MFC...one of the most difficult ways to program anything. A step by step would take hundreds of pages if you are not a programmer.

        There may be some small application out on the net that do this. I would dig into google.
        2006 Lancer Evolution IX MR In-Dash PC Project - WIP

        Planning:
        [----------] 100%
        Purchasing:
        [----------] 90%
        Installation/Fab/Assembly (Revised v2):
        [----------] 90%

        Comment


        • #5
          i c

          well, am not even sure what would i be looking for to google it
          so maybe you can help me with keywords/recomendations ?
          >> > Design & Planning . . . . . . . . . . . . . . . . . . . . 100%
          > Software Installation . . . . . . . . . . . . . . . . . . . .98%
          > Hardware Installation . . . . . . . . . . . 55%
          >>> Overall Progress . . . . . . . . . . . . . . . . .85%

          Comment

          Working...
          X