GIDForums  

Go Back   GIDForums > Computer Programming Forums > MS Visual C++ / MFC Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 28-Jun-2007, 07:40
senor.ram senor.ram is offline
New Member
 
Join Date: Jun 2007
Posts: 2
senor.ram is on a distinguished road

Picture control and mouse coordinates


How to get picture control coordinates and mouse coordinates?
  #2  
Old 28-Jun-2007, 09:21
TurboPT's Avatar
TurboPT TurboPT is offline
Senior Member
 
Join Date: Feb 2006
Location: Atlanta, GA
Posts: 1,230
TurboPT is a jewel in the roughTurboPT is a jewel in the roughTurboPT is a jewel in the rough

Re: Picture control and mouse coordinates


For the mouse position, see this post:
http://www.gidforums.com/t-12613.html

For the control, there is a way to get the coordinates, but I don't know the function off the top of my head. I'll have to check and post later. I think that it is GetRect() or something closely named.
__________________
Use the force...read the source!!
WYCIWYG -- what you code is what you get!
  #3  
Old 02-Jul-2007, 08:00
senor.ram senor.ram is offline
New Member
 
Join Date: Jun 2007
Posts: 2
senor.ram is on a distinguished road

Re: Picture control and mouse coordinates


Thank you. I got the result.
 
 

Recent GIDBlogProblems with the Navy (Officers) by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to generate mouse event? high12398 C++ Forum 3 20-Apr-2006 19:24
mouse movement into bitmap maleon04 MS Visual C++ / MFC Forum 0 23-May-2005 05:17
How to redirect mouse clicks to an ActiveX control? skruss MS Visual C++ / MFC Forum 0 10-Feb-2005 14:17
Help! Some basal questions about MFC xutingnjupt MS Visual C++ / MFC Forum 1 05-Dec-2004 04:38
Detecting a mouse click outside of control arran.s MS Visual C++ / MFC Forum 1 27-Oct-2004 07:01

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 17:39.


vBulletin, Copyright © 2000 - 2010, Jelsoft Enterprises Ltd.