Borderless TForm with drop shadow

前端 未结 3 566
遥遥无期
遥遥无期 2021-02-01 08:02

I have made a TForm derivative that acts like the drop down part of a combo, or a hint window, or a popup menu - a temporary thing. It has no caption - its BorderStyle is set to

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-01 08:42

    For making drop shadow to work we have to invoke SystemParametersInfo win32 API with SPI_SETDROPSHADOW parameter, to turn on the entire system's drop shadow effect, for more information, please refer to:

    SystemParametersInfo

提交回复
热议问题