-
February 19th, 2004, 06:11 PM
#1
GetCaretPos() problem
Hi,
I am trying to use GetCaretPos to get the current caret postition. The API shows GetCaretPos returns CPoint, but when I write code and compile it shows BOOL GetCaretPos(LPPoint point) as the required definition and gives error. Anyway even if I use this definition it dose not give required results.
I wrote following code, but it gives error, can anybody tell me whats the problem
CPoint point = ::GetCarentPos();
Thanks in advance
-
February 19th, 2004, 10:58 PM
#2
Code:
CPoint point = CWnd::GetCarentPos();
gg
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
|