`
paulfzm
  • 浏览: 873079 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
文章分类
社区版块
存档分类
最新评论

edit 设置enable

    博客分类:
  • vc++
 
阅读更多

 1.  As you can disable other controls, use following method :

GetDlgItem(IDC_EDIT)->EnableWindow(FALSE);

OR :

m_edit_ctrl.EnableWindow(FALSE);

and with  ' TRUE ',  to enable that.

When disable an Edit Control the containing text becomes grayed and the caret (text cursor) will be disappeared (no 'copy' capability).

   2.   You can use SetReadOnly function (It becomes read_only and the
         containing text remains Black and caret exists (with 'copy' capability) :

m_edit_ctrl.SetReadOnly(TRUE);

分享到:
评论

相关推荐

    Cool_Edit_Pro_2.1教程.txt

    其中的Open与Open As有一点区别,前者是一般的打开命令,而后者的意思是“打开为”,点击按钮后,会出现一个格式转换窗口,对里面的参数进行设置,即选择你希望的格式后点“OK”,经过一段漫长(2-4分钟)的等待后,...

    vsftpd-3.0.3-edit.tar.gz.tar

    anon_other_write_enable=YES 6、开发板根文件系统创建必要的目录: mkdir-p /var/ftp/pub mkdir -p /usr/share/empty chown root:root/var/ftp chmod 755 /var/ftp cd /var/ftp chmod 777 pub pub这个目录是用来供...

    Jforum数据库

    可用BB编号 ENABLE_BBCODE NUMBER(10) 不可为空 可用HTML ENABLE_HTML NUMBER(10) 不可为空 可用表情 ENABLE_SMILIES NUMBER(10) 不可为空 可用SIG ENABLE_SIG NUMBER(10) 不可为空 帖子编缉时间 POST_EDIT_TIME ...

    使用MATLAB实现windows自带的画图板功能

    set(handles.pushbutton2,'enable','on'); set(handles.pushbutton3,'enable','on'); currPt = get(gca, 'CurrentPoint'); x = currPt(1,1); y = currPt(1,2); switch(graph) case '点线' line(x,y, 'marker', ...

    MATLAB GUI实现动态画图曲线的源代码并保存图片

    set(handles.pushbutton2,'enable','on'); set(handles.pushbutton3,'enable','on'); currPt = get(gca, 'CurrentPoint'); x = currPt(1,1); y = currPt(1,2); switch(graph) case '点线' line(x,y, 'marker', ...

    CodeView.rar

    代码查看器,To enable ProGuard in your project, edit project.

    Unity Skele: Character Animation Tools 1.96p2 - 角色动作调整插件

    1. Enable developers to make / modify character animations in UnityEditor. Reduce software switching and tedious import/export/split work 2. [BETA] Integrated Timeline editorGreatly accelerate ...

    安卓新闻客户端

    # To enable ProGuard in your project, edit project.properties # to define the proguard.config property as described in that file. # # Add project specific ProGuard rules here. # By default, the flags ...

    百度定位demo 压缩包

    # To enable ProGuard in your project, edit project.properties # to define the proguard.config property as described in that file. # # Add project specific ProGuard rules here. # By default, the flags ...

    android dragdemo

    可以移动的view To enable ProGuard in your project, edit project.properties # to define the proguard.config property as described in that file. # # Add project specific ProGuard rules here. # By ...

    es浏览器源代码

    # To enable ProGuard in your project, edit project.properties # to define the proguard.config property as described in that file. # # Add project specific ProGuard rules here. # By default, the flags ...

    雷电游戏代码

    这是我自己制作的游戏原代码你们可以去 # To enable ProGuard in your project, edit project.properties # to define the proguard.config property as described in that file. # # Add project specific ProGuard...

    rails_pirate:POC - Ruby on Rails 与 R 对话

    Edit /usr/local/Library/Formula/r.rb add build arg '--enable-R-shlib' (http://rforge.net/Rserve/doc.html) ```shell brew install r brew install gettext ``` Gotcha #2 ```shell brew link gettext --force ...

    Android代码-mirror

    While the time, date, and news show up without any additional changes, you need to first enable the respective APIs in order to see the weather, commute, and body measures. Edit keys.xml and enter the...

    如何用MotionBuilder制作一个动画

    You can create, edit, and play back complex character animation in a highly responsive, interactive environment. MotionBuilder is ideal for high-volume animation, virtual cinematography, ...

    aspmaker 傻瓜制作asp

    Using ASPMaker, you can instantly create Web sites that allow users to view, edit, search, add and delete records on the Web. ASPMaker is designed for high flexibility, numerous options enable you to...

    brackets-angular-snippets:一组用于括号的 AngularJS 片段

    启用 Angular 片段在主菜单下选择Edit > Enable Angular Snippets或打开首选项文件并添加"angular-snippets.enabled": true 。 输入一个片段并按Tab键。 片段列表 ngmodule => angular . module ( '{name}' , [ ]...

    mywwwapp_TheProject_edge_

    说明To enable ProGuard in your project edit project.properties# to define the proguard.config property as described in that file

    ASP.NET_Maker_2019.0.1破解版

    Using ASP.NET Maker, you can instantly create websites that allow users to view, edit, search, add and delete records. ASP.NET Maker is designed for high flexibility, numerous options enable you to ...

    configx:[laravel-admin]增加修改配置项,管理网站的配置(Add edit configuration, Manage site configuration)

    laravel-admin configx安装需要先安装laravel-admin-ext/config,见...[ 'configx' => [ // Set to `false` if you want to disable this extension 'enable' => true , 'tabs' => [ 'base' => '基本设置' , 'shop' =>

Global site tag (gtag.js) - Google Analytics