|
-
Feb 18th, 2002, 08:04 AM
#1
Thread Starter
Hyperactive Member
Cursor position
How could i receive the client coordinates of the cursor in an edit
box?
Bababooey
Tatatoothy
Mamamonkey
-
Feb 18th, 2002, 08:06 AM
#2
Thread Starter
Hyperactive Member
Bababooey
Tatatoothy
Mamamonkey
-
Feb 18th, 2002, 08:13 AM
#3
transcendental analytic
you can retrieve the caret rect with GetGUIThreadInfo:
http://msdn.microsoft.com/library/de...ndows_4grz.asp
btw getcursorpos retrieves the mouse cursor position.
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Feb 18th, 2002, 08:15 AM
#4
Thread Starter
Hyperactive Member
Bababooey
Tatatoothy
Mamamonkey
-
Feb 18th, 2002, 08:37 AM
#5
Thread Starter
Hyperactive Member
do i need anything extra to use the GUITHREADINFO struct?
i'm using VC++5 and my prog is in MFC. it's not recognizing this
struct as valid
any help?
Bababooey
Tatatoothy
Mamamonkey
-
Feb 18th, 2002, 09:01 AM
#6
transcendental analytic
eh dunno :s maybe you should install the PSDK?
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Feb 18th, 2002, 09:05 AM
#7
Thread Starter
Hyperactive Member
guh, i was afraid you were gonna say that
Bababooey
Tatatoothy
Mamamonkey
-
Feb 18th, 2002, 07:04 PM
#8
Thread Starter
Hyperactive Member
what's wrong with GetCaretPos?
Bababooey
Tatatoothy
Mamamonkey
-
Feb 20th, 2002, 02:39 AM
#9
transcendental analytic
dunno
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Feb 20th, 2002, 07:42 AM
#10
Thread Starter
Hyperactive Member
CWnd::GetCaretPos
static CPoint PASCAL GetCaretPos( );
Return Value
CPoint object containing the coordinates of the caret's position.
Remarks
Retrieves the client coordinates of the caret's current position and returns them as a CPoint.
The caret position is given in the client coordinates of the CWnd window.
silly, it's exactly what i wanted
Bababooey
Tatatoothy
Mamamonkey
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|