Results 1 to 4 of 4

Thread: GetTextExtentPoint declaration for PocketPC

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2002
    Location
    Holland
    Posts
    6

    GetTextExtentPoint declaration for PocketPC

    Hi all,

    I'm doing some programming in Embedded VB at the moment but I can't find the declaration of the GetTextExtentPointW API in the Windows CE api viewer. The API is listed in the help file so, it should be there.

    any hints where I can find the correct VB declaration?

    Greatly appreciated!
    Jacco

  2. #2
    Frenzied Member Shawn N's Avatar
    Join Date
    Dec 2001
    Location
    Houston
    Posts
    1,631
    Windows CE GetTextExtentPoint

    VB Code:
    1. Private Declare Function GetTextExtentExPoint Lib "gdi32" Alias "GetTextExtentExPointA" ( _
    2.      ByVal hdc As Long, _
    3.      ByVal lpszStr As String, _
    4.      ByVal cchString As Long, _
    5.      ByVal nMaxExtent As Long, _
    6.      lpnFit As Long, _
    7.      alpDx As Long, _
    8.      lpSize As Size) As Long
    Please rate my post.

  3. #3

    Thread Starter
    New Member
    Join Date
    Apr 2002
    Location
    Holland
    Posts
    6
    Thanx Shawn for answering. I think that you send me the 'normal' version of the declare and I am looking for the correct declaration for the embeded version. This should refer to the coredll library and does not contain as much parameters as the desktop version.

    Thanks anyway.
    Jacco

  4. #4
    New Member
    Join Date
    Apr 2001
    Location
    Oslo
    Posts
    13
    It looks like this function is only supported in cVC and not in eVB

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