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

    [ TDx_InputDevice::SetCooperativeLevel() ]     [ next: SetDataFormat() ]     [ prev: SendForceFeedbackCommand() ]

    public:

         virtual bool __fastcall SetCooperativeLevel( HWND pHWnd, dword pFlags );





    -= Go to the TDx_InputDevice description =-    TDX_INPUTDEVICE::SETCOOPERATIVELEVEL()   [ component method ]

    • Description
    • Parameters

        HWnd
        The HWnd parameter defines the window handle being associated with the device.

        This is a valid top level window handle belonging to this process.
        The associated window must not be destroyed while the device is still active.

        Flags
        The Flags parameter defines flags indicating the cooperative level being set for the device.
        The described effect applies when the flag is set.

          DISCL_BACKGROUND
          Background access is required.

          The device may be acquired anytime, even when its associated window is not active.
          This flag or DISCL_FOREGROUND must be set, but not both.

          DISCL_EXCLUSIVE
          Exclusive access is required.
          No other device instance can gain exclusive access while the device is acquired.
          This flag or DISCL_NONEXCLUSIVE must be set, but not both.

          DISCL_FOREGROUND
          Foreground access is required.
          The device will be automatically unacquired whenever its associated window moves to the background.
          This flag or DISCL_BACKGROUND must be set, but not both.

          DISCL_NONEXCLUSIVE
          Non exclusive access is required.
          Multiple applications can access the device without interference.
          This flag or DISCL_EXCLUSIVE must be set, but not both.

          DISCL_NOWINKEY
          The Windows key is to be disabled.

          This is useful for preventing accidental exits from the applicaiton.


    • 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.