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, 06: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, 08:21
TurboPT's Avatar
TurboPT TurboPT is online now
Regular Member
 
Join Date: Feb 2006
Location: Atlanta, GA
Posts: 966
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, 07: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 GIDBlogDeveloping GUIs with wxPython (Part 4) 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 18:24
mouse movement into bitmap maleon04 MS Visual C++ / MFC Forum 0 23-May-2005 04:17
How to redirect mouse clicks to an ActiveX control? skruss MS Visual C++ / MFC Forum 0 10-Feb-2005 13:17
Help! Some basal questions about MFC xutingnjupt MS Visual C++ / MFC Forum 1 05-Dec-2004 03:38
Detecting a mouse click outside of control arran.s MS Visual C++ / MFC Forum 1 27-Oct-2004 06:01

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

All times are GMT -6. The time now is 03:57.


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