⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 filedlg.cpp

📁 DOS下的图形界面开发包
💻 CPP
字号:
// 1993 (c) ALL RIGHTS RESERVED
// AUTHOR: XuYongYong

/* 	filedlg.cpp
	only for test
*/
#include "filedlg.h"

filedlg_class::filedlg_class(int ID,char *title,int left,int top,int width,int height)
	:dialog_class(ID,title,left,top,width,height)
{
	acheckbox 	=new Tcheckbox (3,"&checkbox",10,5,70,20);
	aradio	  	=new Tradio	 (4,"&radio",120,5,100,20 );
	hscroll     =new Tscroll (5,"",10,40,100,30,0,100,1);
	vscroll		=new Tscroll (6,"",150,60,20,80,0,10,4);
	tedit 		=new Ttedit  (7,"ted&it",10,90,90,30,"Sam",10);
	tedit2		=new Ttedit  (8,"2t&edit",200,90,70,30,"0123456789",15) ;
static  char *cc[8]={"11","22","33","44","55","6","7","8"};
	listbox		=new Tlistbox(9,"H&HJH",200,20,80,50,-1,-1,8,cc);
//  insert_control //
	insert_control (acheckbox);
	insert_control (aradio);
	insert_control (hscroll);
	insert_control (vscroll);
	insert_control (tedit);
	insert_control (tedit2);
	insert_control (listbox);
}

filedlg_class::~filedlg_class()
{
}


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -