CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2003
    Posts
    27

    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

  2. #2
    Join Date
    Nov 2003
    Posts
    1,902
    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
  •  





Click Here to Expand Forum to Full Width

Featured