CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: OLE_XPOS_PIXELS

  1. #1
    Join Date
    Feb 2000
    Posts
    1

    OLE_XPOS_PIXELS

    Hey -
    We are working on an Automation Application based on
    The Kodak Image Control (Formerly Wang Image).
    In Vb eveything works fine.
    Our client wishes to integrate the Control into his own software.
    This software enables us to import the required ocx but does
    not support all variable types.

    Our problem then is the following call :
    void Draw(
    OLE_XPOS_PIXELS Left,
    OLE_YSIZE_PIXELS Top,
    [optional] VARIANT Width,
    [optional] VARIANT Height);

    OLE_XPOS_PIXELS and OLE_YSIZE_PIXELS are causing the problem.
    Any idea where we can find info on these ? Is there a typelibrary that exports them ?
    Thanks in advance.
    Frederik


  2. #2
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: OLE_XPOS_PIXELS

    According to the OLECTL.H header file that comes with VC++6, the OLE_XPOS_PIXELS is a typedef to a long:


    /////////////////////////////////////////////////////////////////////////////
    // Typedefs for standard scalar types
    typedef long OLE_XPOS_PIXELS;
    typedef long OLE_YPOS_PIXELS;
    typedef long OLE_XSIZE_PIXELS;
    typedef long OLE_YSIZE_PIXELS;




    - You should just be able to get away with a VB long here.


    Chris Eastwood

    CodeGuru - the website for developers
    http://codeguru.developer.com/vb

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