|
firstsail
高级用户
   
积分 668
发帖 295
注册 2005-7-26 来自 广东深圳
状态 离线
|
『第 106 楼』:
关于“chicago9”
使用 LLM 解释/回答一下
这个“芝加哥”chicago9哪里可以下载?
我在“百度”和“google”里面都无法找到?请问它是“DOS”下运行的吗?
您可以通过邮件把“chicago9”发到我的信箱“ szhello8@21cn.net”,多谢!
Where can I download this "Chicago" chicago9?
I can't find it in "Baidu" and "Google"? Is it run under "DOS"?
You can send "chicago9" to my email box " szhello8@21cn.net" by email, thanks!
|
|
2006-9-23 06:08 |
|
|
profree
中级用户
  
积分 478
发帖 132
注册 2003-7-2
状态 离线
|
『第 107 楼』:
使用 LLM 解释/回答一下
哈哈,芝加哥?差不多哦。:)
是我一次在外国网站上下载的,现在再查找时好像真的不好找,幸好已经保存下来。
chicago9是运行于DOS下的,我用BC3.1编译通过,chicago9目录下有chicago.exe可执行文件。
压缩文件已经发到你的信箱,请查收
很高兴看到已经把向导类加入,:)
按照你的程序,头痛的向导搞定了
另外,多行文本框除了用loadfile以外,还有其它方法让它显示多行文本吗?用setlinetext没有效果。
谢谢
Last edited by profree on 2006-9-23 at 22:27 ]
Hehe, Chicago? Sort of. :)
I downloaded it once from a foreign website, and now it seems really hard to find when searching again. Fortunately, I've already saved it.
chicago9 runs under DOS, and I compiled it with BC3.1 successfully. There is an executable file chicago.exe in the chicago9 directory.
The compressed file has been sent to your mailbox, please check it.
Glad to see that the wizard class has been added. :)
According to your program, the troublesome wizard is done.
In addition to using loadfile for the multi-line text box, is there any other way to make it display multi-line text? Using setlinetext has no effect.
Thanks
Last edited by profree on 2006-9-23 at 22:27 ]
|
|
2006-9-23 06:58 |
|
|
firstsail
高级用户
   
积分 668
发帖 295
注册 2005-7-26 来自 广东深圳
状态 离线
|
『第 108 楼』:
使用 LLM 解释/回答一下
WinSail V2.0内核已经重新上传!
更新了:
CKeyboardCtrl----虚拟键盘类
CRadio-----------单选按钮/复选框类
CGrid------------表格类
CSliderCtrl------滑块类
CComboBox--------组合框类
CListBox---------列表框类
CVScrollBar------垂直滑动条类
CHScrollBar------水平滑动条类
CWizard ---------向导类
MakeDlg.exe -----VC对话框转WinSail的可执行程序
增加了:
CSpinCtrl --------计数类,其文档名为:
“界面控件类_CSpinCtrl计数控件详细设计.doc”
--------------------------------------------------------------------------------------
WinSail V2.0的“计数”控件设计成与Visual C++的对
话框中的“计数”控件行为相同,需要有“EDIT”编辑框作
为伙伴控件供显示用。并且WinSail V2.0的“计数”控件支
持键盘光标键“UP”“DOWN”操作。
“计数”类的演示程序模块是Sail3000目录下的“Wizard2.Cpp”文件的向导页的第三页。
可看桌面上的“向导”演示。
WinSail V2.0 kernel has been re-uploaded!
Updated:
CKeyboardCtrl----Virtual keyboard class
CRadio-----------Radio button/checkbox class
CGrid------------Table class
CSliderCtrl------Slider class
CComboBox--------ComboBox class
CListBox---------List box class
CVScrollBar------Vertical scroll bar class
CHScrollBar------Horizontal scroll bar class
CWizard ---------Wizard class
MakeDlg.exe -----Executable program for converting VC dialog boxes to WinSail
Added:
CSpinCtrl --------Counting class, and its document name is:
"Interface Control Class_CSpinCtrl Counting Control Detailed Design.doc"
--------------------------------------------------------------------------------------
The "counting" control of WinSail V2.0 is designed to have the same behavior as the "counting" control in Visual C++ dialog boxes, and it needs an "EDIT" edit box as a companion control for display. And the "counting" control of WinSail V2.0 supports keyboard arrow keys "UP" "DOWN" operations.
The demonstration program module of the "counting" class is the third page of the wizard page in the "Wizard2.Cpp" file in the Sail3000 directory. You can view the "Wizard" demonstration on the desktop.
|
|
2006-9-24 08:46 |
|
|
firstsail
高级用户
   
积分 668
发帖 295
注册 2005-7-26 来自 广东深圳
状态 离线
|
『第 109 楼』:
使用 LLM 解释/回答一下
假设想将以下“三行”内容写入多行编辑框,
第一行:"《天龙八布》";
第二行:"《新闻联播》";
第三行:"《我爱我家》";
要以这样来:
------------------------------------------
void Demo_WriteEdit(CMultiEdit* pMultiEdit)
{
DWORD dwLoc;
int nLength;
char* pStr1 = "《天龙八布》";
char* pStr2 = "《新闻联播》";
char* pStr3 = "《我爱我家》";
//分配新的一行
nLength = _fstrlen(pStr1) + 1; //计算串长度
dwLoc = pMultiEdit->m_XmsMemoryData.New (nLength, FALSE); //分配内存
//将串写入内存
if (dwLoc != 0L)
{
pMultiEdit->m_XmsMemoryData.SetText(dwLoc, pStr1, nLength);
}
//分配新的一行
nLength = _fstrlen(pStr2) + 1; //计算串长度
dwLoc = pMultiEdit->m_XmsMemoryData.New (nLength, FALSE); //分配内存
//将串写入内存
if (dwLoc != 0L)
{
pMultiEdit->m_XmsMemoryData.SetText(dwLoc, pStr2, nLength);
}
//分配新的一行
nLength = _fstrlen(pStr3) + 1; //计算串长度
dwLoc = pMultiEdit->m_XmsMemoryData.New (nLength, FALSE); //分配内存
//将串写入内存
if (dwLoc != 0L)
{
pMultiEdit->m_XmsMemoryData.SetText(dwLoc, pStr3, nLength);
}
}
Suppose you want to write the following "three lines" of content into a multi-line edit box,
First line: "《天龙八布》";
Second line: "《新闻联播》";
Third line: "《我爱我家》";
It should be like this:
------------------------------------------
void Demo_WriteEdit(CMultiEdit* pMultiEdit)
{
DWORD dwLoc;
int nLength;
char* pStr1 = "《天龙八布》";
char* pStr2 = "《新闻联播》";
char* pStr3 = "《我爱我家》";
// Allocate a new line
nLength = _fstrlen(pStr1) + 1; // Calculate the string length
dwLoc = pMultiEdit->m_XmsMemoryData.New (nLength, FALSE); // Allocate memory
// Write the string to memory
if (dwLoc != 0L)
{
pMultiEdit->m_XmsMemoryData.SetText(dwLoc, pStr1, nLength);
}
// Allocate a new line
nLength = _fstrlen(pStr2) + 1; // Calculate the string length
dwLoc = pMultiEdit->m_XmsMemoryData.New (nLength, FALSE); // Allocate memory
// Write the string to memory
if (dwLoc != 0L)
{
pMultiEdit->m_XmsMemoryData.SetText(dwLoc, pStr2, nLength);
}
// Allocate a new line
nLength = _fstrlen(pStr3) + 1; // Calculate the string length
dwLoc = pMultiEdit->m_XmsMemoryData.New (nLength, FALSE); // Allocate memory
// Write the string to memory
if (dwLoc != 0L)
{
pMultiEdit->m_XmsMemoryData.SetText(dwLoc, pStr3, nLength);
}
}
|
|
2006-9-24 09:26 |
|
|
ArmKing
初级用户
 
积分 66
发帖 22
注册 2006-8-27
状态 离线
|
|
2006-9-25 13:29 |
|
|
profree
中级用户
  
积分 478
发帖 132
注册 2003-7-2
状态 离线
|
『第 111 楼』:
使用 LLM 解释/回答一下
Originally posted by ArmKing at 2006-9-25 01:29 PM:
烦请也给我一分chicago9的源代码, 谢谢
Email: ArmKing88@163.com
已发
Originally posted by ArmKing at 2006-9-25 01:29 PM:
Please also send me a copy of the source code of chicago9, thanks
Email: ArmKing88@163.com
Sent
|
|
2006-9-26 00:16 |
|
|
profree
中级用户
  
积分 478
发帖 132
注册 2003-7-2
状态 离线
|
『第 112 楼』:
使用 LLM 解释/回答一下
to firstsail:
这样使用多行编辑框会不会麻烦了一些?希望能改进
to firstsail:
Is using the multi-line edit box a bit troublesome like this? Hope to improve it.
|
|
2006-9-26 00:18 |
|
|
firstsail
高级用户
   
积分 668
发帖 295
注册 2005-7-26 来自 广东深圳
状态 离线
|
『第 113 楼』:
使用 LLM 解释/回答一下
To Profree:
受了您的误导,其实CMultiEdit->SetWindowText()函数是可以设置多行内容的。
pMultiEdit1->SetWindowText("《天龙八布》\n《新闻联播》\n《我爱我家》");
如果您是在对话框的pDialog->ShowWindow()之后调用,您必须调用
pMultiEdit1->Paint()函数或pMultiEdit1->Show()函数才能更新显示。
WinSail的所有控件,改变内容后,都必须人工调用Paint或Show()函数方能重新显示。
To Profree:
Misled by you, actually the CMultiEdit->SetWindowText() function can set multi-line content.
pMultiEdit1->SetWindowText("《Tianlong Babu》\n《Xinwen Lianbo》\n《Wo Ai Wo Jia》");
If you call it after pDialog->ShowWindow() in the dialog box, you must call the pMultiEdit1->Paint() function or the pMultiEdit1->Show() function to update the display.
For all controls of WinSail, after changing the content, you must manually call the Paint or Show() function to re-display.
|
|
2006-9-26 02:09 |
|
|
profree
中级用户
  
积分 478
发帖 132
注册 2003-7-2
状态 离线
|
『第 114 楼』:
使用 LLM 解释/回答一下
是你自己写的编程库,我能误导你吗?:)
当调用Show,返回上一步时会出现滞后现象
Last edited by profree on 2006-9-26 at 02:47 ]
You wrote the programming library yourself, can I mislead you?:)
There is a lag phenomenon when returning to the previous step when calling Show.
Last edited by profree on 2006-9-26 at 02:47 ]
|
|
2006-9-26 02:30 |
|
|
firstsail
高级用户
   
积分 668
发帖 295
注册 2005-7-26 来自 广东深圳
状态 离线
|
『第 115 楼』:
使用 LLM 解释/回答一下
WinSail 已经重新上传!
WinSail 的Bmp图片和ICON图标的显示已经作了“抖动”处理,对256色图片的显示具有较满意的显示效果!
怎么在贴子里面插入图片?
WinSail has been re-uploaded!
The display of Bmp images and ICON icons of WinSail has been processed with "dithering", and the display effect for 256-color images is relatively satisfactory!
How to insert pictures in the post?
|
|
2006-9-26 06:28 |
|
|
profree
中级用户
  
积分 478
发帖 132
注册 2003-7-2
状态 离线
|
『第 116 楼』:
使用 LLM 解释/回答一下
FirstWail兄: 不会吧?
这就难倒英雄汉了?以附件的形式上传或者先上传到网站,在发贴的地方有提示:
“注意:强烈建议将文件或图片上传至中国DOS联盟文件上传系统,单个上传文件大小可达50MB。 ”
另外:发布更新winsail时,能在网站上注明最后更新时间更好,如:[下载:WinSail V2.0编程库](2006-9-25 19:1:38 Monday)
Brother FirstWail: No way?
Is this stumping a hero? Upload in the form of an attachment or upload to a website first. There is a prompt in the posting area:
"Note: It is strongly recommended to upload files or pictures to the China DOS Union file upload system. The size of a single uploaded file can be up to 50MB."
Additionally: When releasing an update to Winsail, it would be better to note the last update time on the website, for example: (2006-9-25 19:1:38 Monday)
|
|
2006-9-26 07:04 |
|
|
profree
中级用户
  
积分 478
发帖 132
注册 2003-7-2
状态 离线
|
『第 117 楼』:
使用 LLM 解释/回答一下
再提几点建议:
1、多行编辑框内显示内容超过控件的大小时,自动触发滚动条
2、增加驱动器选择控件
3、完美文件选择控件
现在我认为winsail差不多实用化了,另外还有一点就是菜单项,现在没有分隔符,位置太紧
现在想到的就这些了
Here are a few more suggestions:
1. When the content displayed in the multi-line edit box exceeds the size of the control, the scroll bar is automatically triggered.
2. Add a drive selection control.
3. Perfect file selection control.
Now I think winsail is almost practical. Also, there is one more point, that is, for the menu items, there are no separators now, and the positions are too close. That's all I can think of for now.
|
|
2006-9-26 07:13 |
|
|
firstsail
高级用户
   
积分 668
发帖 295
注册 2005-7-26 来自 广东深圳
状态 离线
|
『第 118 楼』:
使用 LLM 解释/回答一下
WinSail (2006-09-27 15:30)已经重新上传!
(1)原来的VK_MOUSE_LEFT“宏”被取消,用到该“宏”的场合,请用VK_MOUSE_DOWN_LEFT“宏”代替!
(2)“弹出菜单”增加了“分隔符”的菜单项。
函数名为----CBar:AddSeparator();
等同于调用--CBar::AddItem(NULL, NULL, NULL, BAR_ATTRIB_SEPRATOR);
WinSail (2006-09-27 15:30) has been re-uploaded!
(1) The original "macro" of VK_MOUSE_LEFT is canceled. For the occasions where this "macro" is used, please replace it with the "macro" of VK_MOUSE_DOWN_LEFT!
(2) The "pop-up menu" has added a menu item for "separator".
The function name is ----CBar:AddSeparator();
It is equivalent to calling --CBar::AddItem(NULL, NULL, NULL, BAR_ATTRIB_SEPRATOR);
|
|
2006-9-28 05:45 |
|
|
firstsail
高级用户
   
积分 668
发帖 295
注册 2005-7-26 来自 广东深圳
状态 离线
|
『第 119 楼』:
使用 LLM 解释/回答一下
写错单词,应是“BAR_ATTRIB_SEPARATOR”
写错单词,应是“BAR_ATTRIB_SEPARATOR”
|
|
2006-9-28 05:47 |
|
|
hh0118
新手上路

积分 2
发帖 1
注册 2006-9-28
状态 离线
|
『第 120 楼』:
dos编程开发
使用 LLM 解释/回答一下
郭先生,看见你的帖子,很感兴趣,请问你在哪里?我有一个项目要做GUI的开发。是否能和我联系一下( hh_0118@hotmail.com)或留下你的联系方法我和你联系。谢了先!
Mr. Guo, I saw your post and am very interested. Where are you? I have a project to do GUI development. Can you contact me ( hh_0118@hotmail.com) or leave your contact method so that I can contact you? Thanks first!
|
|
2006-9-28 21:11 |
|