Announcement

Collapse
No announcement yet.

Destinator SDK

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

  • Destinator SDK

    I try to make an application, like this:

    Set d3 = New DESTDLLLib.Dest
    d3.ParentWindow = picGps.hWnd

    varRisposta = d3.CreateDestinatorWindow(F_DEFAULT + F_NOCONTROLS + F_NOCAPTION + F_NOSYSMENU)
    If varRisposta = API_COMMAND_IS_DONE Then
    d3.ShowDestinatorWindow
    Else
    MsgBox varRisposta
    End If

    But how can I resize the Destinator windows ?? because when show in my picture, is oversize.

    Tanks

    Luca

  • #2
    Hi,

    I am really without solution , please help !!!

    After to have executed "createdestinatorDialog Addredd_dlg" I have need to resize it and to adapt it to mine skin.

    the lines of code after "createdestinatorDialog Addredd_dlg" come only executed after the closing of the addreassdialog.

    Can I have some line of example to made this.

    Thank you
    Luca

    Comment


    • #3
      your going to have to invoke FindWindow and SetWindowPos Windows API calls, at least that is how i did it when fooling around with it in C#. I have the code at home i'll try to post it if i remember

      Comment


      • #4
        The first post is Ok, the second is the pronlem!

        Thanks

        Comment


        • #5
          you need to resize the destinator map size before you call the address dialog.. as the address dialog always appears the same size as the map. You will need to use the setwindowpos api call as mentioned above to alter the size after this.

          CdR
          Follow me on Twitter

          http://www.FreeICE.co.uk

          Comment


          • #6
            Thanks for the solution, so it works!.

            If I perform the code, line for line (F8) all ok, if I start the project (F5) doesn't perform the resize!

            I have Already tried to position the various doEvents.

            How can I hide the caption and the superior menu of the address_dlg?

            Thanks for the shown patience.

            Luca

            Comment


            • #7
              Hi Luca (it seems to me that you are Italian...)
              However I'd like to know if u can post some code lines....
              thanks a lot!

              (Il mio problema far comparire la finestra address_dlg all'interno di una picture e quindi non nell'intero form....)

              Comment

              Working...
              X