Findoutcoltbar




Declare Function GetSysColor Lib "user32" Alias "GetSysColor" (ByVal nIndex As Long) As Long

'This function will return the RGB value of the object.

'For example, If you want to find out the colour of the active

'caption, you would use the following code:


col& = GetSysColor(COLOR_ACTIVECAPTION)

'NB: For these two functions to work, you must declare the

'constants as well as the functions.











( findoutcoltbar.html )- by Paolo Puglisi - Modifica del 17/12/2023