void __fastcall TForMain::stat1DrawPanel(TStatusBar *StatusBar,
      TStatusPanel *Panel, const TRect &Rect)
{
    TCanvas *pCanvas=stat1->Canvas;
    pCanvas->Font->Color=clGreen;
    pCanvas->Font->Style=TFontStyles()<<fsUnderline;//设置字体样式为下划线
    AnsiString str="http://www.cnblogs.com/zhangdongsheng/";
    pCanvas->TextOut(Rect.left+20,Rect.top+1,str);
}

相关文章:

  • 2021-09-30
  • 2021-11-19
  • 2022-12-23
  • 2021-11-19
  • 2022-12-23
  • 2021-11-21
  • 2022-12-23
  • 2021-11-03
猜你喜欢
  • 2022-12-23
  • 2021-05-16
  • 2021-11-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案