Announcement

Collapse
No announcement yet.

Destinator SDK 2 (C#)

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

  • Destinator SDK 2 (C#)

    Hi!

    Can I change the with and heigt of the Destinator window, or embed it in a picture box, looks better that way in my "car softweare project"..

    Working in .NET C#

    Thanks!



    Oh, here is "get started" code in C#

    private DESTDLLLib.DestClass mainDest = new DESTDLLLib.DestClass();

    mainDest.CreateDestinatorWindow (2);

  • #2
    To embed it, you will have to find some code to get the window handle, and set it's parent to the picturebox that you want it embedded in. You'll also want to remove the border and title bar, pretty simple to do once you know the window handle, I've done it in VB6, so it should be even easier in C#


    Garry
    Co-Developer of A.I.M.E.E
    www.aimee.cc

    Comment


    • #3
      Garry, do you like to share the VB6 code?

      Comment


      • #4
        See this thread - http://www.mp3car.com/vbulletin/show...ight=embed+vb6
        Laidback


        The ultimate CarPC - Wow!

        Comment


        • #5
          Thanks. But... Moving a running exe to a picturebox in VB6 I can do, but I also want to maximize the app (Destinator) into the picturebox. How??

          Comment


          • #6
            You make it the same size as the picture box!

            Search Google for the MoveWindow function.
            Laidback


            The ultimate CarPC - Wow!

            Comment


            • #7
              any1 care 2 share some c0de for embedding an exe into a picturebox?!VB6 preferably
              ... you don't need eyes to see ... you need vision !!!

              Comment


              • #8
                Originally posted by migrane
                any1 care 2 share some c0de for embedding an exe into a picturebox?!VB6 preferably
                Did you not look at the link????
                Laidback


                The ultimate CarPC - Wow!

                Comment


                • #9
                  Ok, some code in VB6

                  Can some one port the code to C# for me ?
                  Attached Files

                  Comment

                  Working...
                  X