当前位置:首页
开发技术指南» 文章正文
    引言:

 ·请求托盘代码    »显示摘要«
    摘要: 因为遇到一个问题一直不能解决,所以就来要一个能够实现点击窗体右上角的最小化或关闭按钮来实现进入托盘的代码,有下载地址也行,谢谢。 //如果能帮我解决问题的我会很感激的 http://community.csdn.net/expert/topic/4183/4183310.xml?temp=.8389856 ......
    摘要: 大家帮忙,感谢! ......


入门问题:在cb中如何使用富文本框

小弟在cb中找了半天,竟然没找到这咚咚在哪个选项卡上,请达人指点。  
  小弟想在富文本框中显示不同颜色的文本,不知大虾们能否提供一个示例,让小弟观摩观摩,不胜感激!

NO.1   作者: wangyunxin

在Win32那个选项卡上,选取颜色:  
   
  RichEdit1->SelAttributes->Color   =   clRed;  
   
  其他颜色选择如下:  
   
  Value Meaning Value Meaning  
  clNone White   on   Windows   9x,   Black   on   NT. clScrollBar Current   color   for   the   of   scroll   bar   track.  
  clAqua Aqua clBackground Current   background   color   of   the   Windows   desktop  
  clBlack Black clActiveCaption Current   color   of   the   title   bar   of   the   active   window  
  clBlue Blue clInactiveCaption Current   color   of   the   title   bar   of   inactive   windows  
  clCream Cream clMenu Current   background   color   of   menus  
  clDkGray Dark   Gray clWindow Current   background   color   of   windows  
  clFuchsia Fuchsia clWindowFrame Current   color   of   window   frames  
  clGray Gray clMenuText Current   color   of   text   on   menus  
  clGreen Green clWindowText Current   color   of   text   in   windows  
  clLime Lime   green clCaptionText Current   color   of   the   text   on   the   title   bar   of   the   active   window  
  clLtGray Light   Gray clActiveBorder Current   border   color   of   the   active   window  
  clMaroon Maroon clInactiveBorder Current   border   color   of   inactive   windows  
  clMedGray Medium   Gray clAppWorkSpace Current   color   of   the   application   workspace  
  clMoneyGreen Mint   green clHighlight Current   background   color   of   selected   text  
  clNavy Navy   blue clHightlightText Current   color   of   selected   text  
  clOlive Olive   green clBtnFace Current   color   of   a   button   face  
  clPurple Purple clBtnShadow Current   color   of   a   shadow   cast   by   a   button  
  clRed Red clGrayText Current   color   of   text   that   is   dimmed  
  clSilver Silver clBtnText Current   color   of   text   on   a   button  
  clSkyBlue Sky   blue clInactiveCaptionText Current   color   of   the   text   on   the   title   bar   of   an   inactive   window  
  clTeal Teal clBtnHighlight Current   color   of   the   highlighting   on   a   button  
  clWhite White cl3DDkShadow   Windows   95   or   NT   4.0   only:   Dark   shadow   for   three-dimensional   display   elements  
  clYellow Yellow cl3DLight   Windows   95   or   NT   4.0   only:   Light   color   for   three-dimensional   display   elements   (for   edges   facing   the   light   source)  
  clInfoText   Windows   95   or   NT   4.0   only:   Text   color   for   tool   tip   controls  
  clInfoBk   Windows   95   or   NT   4.0   only:   Background   color   for   tool   tip   controls  
  clGradientActiveCaption Windows   98   or   Windows   2000:   Right   side   color   in   the   color   gradient   of   an   active   windows   title   bar.   clActiveCaption   specifies   the   left   side   color.    
  clGradientInactiveCaption Windows   98   or   Windows   2000:   Right   side   color   in   the   color   gradient   of   an   inactive   windows   title   bar.   clInactiveCaption   specifies   the   left   side   color.    
      clDefault The   default   color   for   the   control   to   which   the   color   is   assigned.  
   
 


 ·关于hello world(初次接触c#)    »显示摘要«
    摘要: using system; class hello { public static void main() { console.writeline("hello, world"); } } 程序如上所述,放到vs2003中,哪位比俺高的高手能否详细的指教下具体的生成文件的过程? 我生成的文件的时候总是报"未定义入口点",搜索过相关的贴子,但......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE