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

    [ TDIPropRange::PropHeader ]     [ next: Size ]     [ prev: Min ]

    __published:

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




    -= Go to the TDIPropRange description =-    TDIPROPRANGE::PROPHEADER   [ component property ]

    • Description

        The PropHeader property can be used to link the TDIPropRange 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 DIPROPRANGE structure in a structure-in-structure relationship.

        Normally in DirectX, you must setup the entire DIPROPRANGE structure including it's DIPROPHEADER structure according to specific rules. Upon linking a TDIPropHeader component to a TDIPropRange, 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;

        DIPropRange1->Min = -1000;
        DIPropRange1->Max = 1000;
        DIPropRange1->PropHeader = DIPropHeader1;

        Dx_InputDevice1->SetProperty( DIPROP_RANGE, DIPropRange1 );
        }
    • 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.