The MP3car.com Store  

Welcome to the MP3Car.com forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Coders Corner

Reply
 
Thread Tools Display Modes
Old 03-24-2006, 10:03 AM   #1
Newbie
 
Join Date: Mar 2005
Posts: 39
My Photos: (0)
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
luca.decarlo is offline   Reply With Quote
Sponsored Links
Old 03-31-2006, 09:41 AM   #2
Newbie
 
Join Date: Mar 2005
Posts: 39
My Photos: (0)
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
luca.decarlo is offline   Reply With Quote
Old 03-31-2006, 12:20 PM   #3
Newbie
 
Join Date: Feb 2005
Posts: 22
My Photos: (0)
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
c0v3rr1d3 is offline   Reply With Quote
Old 04-01-2006, 03:36 AM   #4
Newbie
 
Join Date: Mar 2005
Posts: 39
My Photos: (0)
The first post is Ok, the second is the pronlem!

Thanks
luca.decarlo is offline   Reply With Quote
Old 04-01-2006, 04:17 AM   #5
FreeDrive Creator
CdRsKuLL's CarPC Specs
 
CdRsKuLL's Avatar
 
Join Date: Feb 2004
Location: Manchester
Vehicle: Ferrari 360 (nearly)
Posts: 3,197
My Photos: (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
__________________
www.extremeoc.co.uk me building a murcielago kitcar ! - check it out !
www.cellsecurity.co.uk are my new employer ! - yeah I got a job !
CdRsKuLL is offline   Reply With Quote
Old 04-04-2006, 06:12 AM   #6
Newbie
 
Join Date: Mar 2005
Posts: 39
My Photos: (0)
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
luca.decarlo is offline   Reply With Quote
Old 04-18-2006, 03:46 AM   #7
Newbie
 
Join Date: Apr 2006
Posts: 1
My Photos: (0)
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....)
rscaramelli is offline   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT -5. The time now is 08:30 AM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics