hwnd (HWND) - input

      Window handle.

    clrType (LONG) - input

      Control color index.

      Must be one of the following control color indexes:.

      CCT_STATIC

        Static bitmap.
      CCT_STATICTEXT
        Static text.
      CCT_GROUPBOX
        Group Box.
      CCT_PUSHBUTTON
        Push button.
      CCT_CHECKBOX
        Check box.
      CCT_RADIOBUTTON
        Radio button.
      CCT_ENTRYFIELD
        Entry field.
      CCT_LISTBOX
        List box.
      CCT_COMBOBOX
        Combo box.
      CCT_SCROLLBAR
        Scroll bar.
      CCT_FRAME
        Window frame.
      CCT_MENU
        Menu.
      CCT_TITLEBAR
        Title bar.
      CCT_SPINBUTTON
        Spin button.
      CCT_SLIDER
        Slider.
      CCT_CIRCULARSLIDER
        Circular slider.
      CCT_VALUESET
        Value set.
      CCT_MLE
        Multiple line entry field.
      CCT_CONTAINER
        Container.
      CCT_NOTEBOOK
        Notebook.

      fCtlColor (ULONG) - input

        Control Color Flags.

        CCF_GLOBAL

          Query global default colors (default)
        CCF_APPLICATION
          Query application default colors (used on current thread)
        CCF_COUNTCOLORS
          Return the number of color indexes used by a control window
        CCF_ALLCOLORS
          Return information on all colors used by a control window

        cCtlColor (ULONG) - input

          Number of items available in pCtlColor.

          If CCF_ALLCOLORS is specified, this value is the maximum number of items that can be returned in pCtlColor. Otherwise, this value is the number of color indexes being queried in pCtlColor.

          If CCF_COUNTCOLORS is specified, this value is 0.

        pCtlColor (PCTLCOLOR) - in/out

          Array of control colors, each comprising an index and value pair.

        rc (LONG) - returns

          Number of control colors returned in pCtlColor.

          TRUE

            Number of control colors returned.
          FALSE
            Error, invalid parameters.


          [Back] [Next]