Index

CDTWindow

Modify

DT_SWORD Modify(DT_ULONG flags)

This function modifies window attributes, such as the stacking order, status etc.

Parameters

ParameterDescription

flags

Specifies window attributes. Currently the following are supported:

  • 1 (DV_WINDOW_ATTRIB_TOP) — stack the window to the top
  • 2 (DV_WINDOW_ATTRIB_BOTTOM) — stack the window to the bottom
  • 4 (DV_WINDOW_ATTRIB_DISABLE) — disable the window so it cannot generate any events
  • 5 (DV_WINDOW_ATTRIB_ENABLE) — enable the window so it can generate events

Return Value

If the function was successful, the return value is 1. Otherwise, the function returns 0.

 

Index