Sigo investigando ...
Por otro lado he visto que al parecer hace falta la siguiente línea adicional de código :
Código:
SystemParametersInfo(SPI_SETDROPSHADOW,0,Pointer(true),0);
pero si lo intento en mi Delphi 2005, me dá error de 'Invalid TypeCast' con Pointer(true). Ya que los punteros todavía no es mi fuerte, me podría decir alguien por favor como hacer que el parámetro que debe ser de tipo puntero, me señale a 'True' ?
Esto es lo que aparece en la ayuda de Delphi bajo 'SystemParametersInfo'
Cita:
The SystemParametersInfo function retrieves or sets the value of one of the system-wide parameters. This function can also update the user profile while setting a parameter.
BOOL SystemParametersInfo( UINT uiAction, UINT uiParam, PVOID pvParam, UINT fWinIni);...
SPI_SETDROPSHADOWEnables or disables the drop shadow effect. Set pvParam to TRUE to enable the drop shadow effect or FALSE to disable it. You must also have CS_DROPSHADOW in the window class style.
|
Saludos de nuevo !