RE:Cambio de color a la barra de titulo
gracias a la direccion q m enviaste y con la ayuda de Leo desde Rusia pude construir el codigo q es el siguiente:
/*
Declare as Global External:
Function Long GetSysColor (Long lIndex) Library "user32"
Function Long SetSysColors (Long nChanges, ref Long lpSysColor[], ref Long lpColorValues[]) Library "user32"
*/
//in event:
int li_ChangesNumber = 2 //Number of changes to make on the window
int COLOR_ACTIVECAPTION = 2 //Caption of Active Window
int COLOR_WINDOW = 5 //Windows background
//Asign elements to change:
long ll_SysColor[]
ll_SysColor[1] = COLOR_ACTIVECAPTION
ll_SysColor[2] = COLOR_WINDOW
//Get Initial System Colors:
long ll_InitialColors[]
ll_InitialColors[1] = GetSysColor (COLOR_ACTIVECAPTION)
ll_InitialColors[2] = GetSysColor (COLOR_WINDOW)
//Set New Colors:
long ll_NewColors[]
ll_NewColors[1] = RGB(255,255,0)
ll_NewColors[2] = RGB(255,0,0)
SetSysColors (li_ChangesNumber, ll_SysColor, ll_NewColors)
//See changes:
MessageBox("Your colors are changed", "Closing this box will restore original colors")
//Restore Original Colors:
SetSysColors (li_ChangesNumber, ll_SysColor, ll_InitialColors)
Saludos