VCL RAD DirectX for C++ Builder

Welcome to

www.tdxlibrary.org

Home of the
the TDx_Library...

=- RAD DirectX =-

"RAD DirectX"
for
C++ Builder

...

Welcome to tdxlibrary.org Latest News

Development Tools Demo Applications Step-By-Step Tutorials Component Reference

Register our Tools Available Downloads

Frequently Asked Questions Links to other sites Information about the tdxlibrary.org website


    TDx_Input_Library v2.00 Component Reference

    -= Click to navigate the reference =-
    Go to the Welcome Page

    [ TDIPropDWORD::PropHeader ]     [ next: Size ]     [ prev: ErrorValue ]

    __published:

        __property TDIPropHeader* PropHeader = { read=FGetPropHeader, write=FSetPropHeader, default=NULL };




    -= Go to the TDIPropDWORD description =-    TDIPROPDWORD::PROPHEADER   [ component property ]

    • Description

        The PropHeader property can be used to link the TDIPropDWORD to a TDIPropHeader component using the Object Inspector or equivalent runtime code, and is used to access data inside the DIPROPHEADER structure that exists inside a DIPROPDWORD structure in a structure-in-structure relationship.

        Normally in DirectX, you must setup the entire DIPROPDWORD structure including it's DIPROPHEADER structure according to specific rules. Upon linking a TDIPropHeader component to a TDIPropDWORD, much of the work has already been performed, but you still need to setup both the TDIPropHeader::Obj and the TDIPropHeader::How properties.

        For Example :-

        void __fastcall Form1::Button1Click(TObject* Sender)
        {
        DIPropHeader1->How = DIPH_DEVICE;
        DIPropHeader1->Obj = 0;

        DIPropDWORD1->Data = 20;
        DIPropDWORD1->PropHeader = DIPropHeader1;

        Dx_InputDevice1->SetProperty( DIPROP_BUFFERSIZE, DIPropDWORD1 );
        }
    • See Also
    • Top





    If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.



























Top

Welcome |  Latest News |  Tools |  Demos |  Tutorials |  Reference |  Register |  Downloads
FAQ |  Links |  Site Information

This page is Copyright © 2019 Darren John Dwyer, Australia. All Rights Reserved.
Borland C++ Builder, CBuilder, etc are Trademarks of Borland Corporation.
DirectX, DirectDraw, Windows, etc are Trademarks of Microsoft Corporation.