View Single Post

  #6 (permalink)  
Old 09-05-2008
simbi25 simbi25 is offline
Junior Member
White Belt
 
Join Date: Aug 2008
Posts: 4
Re: Mappoint and borland c++

Quote:
Originally Posted by simbi25 View Post
I cant not solve the window problem :S, at this moment im focus in another way. When i have a bit of time i will make a small aplication for show all the problem.

Another question, anybody solve the zoom problem??
When i click in my application buttons i lost the control of the map and i can zoom with scroll mouse... SetFocus on olecontainer not work :S
Sorry for doble reply, but i cant edit the last post :P.

Finally i solve the zoom control with windows message queue...
I put in the form a trackbar that control the zoom, and with a mouse up event in mappoint i use this:

SendMessage(controlZoom->Handle, WM_ACTIVATE,WA_CLICKACTIVE,0);


controlZoom is the trackbar.

I will try solve the form problem with the same trick, i will edit this soon
Reply With Quote