![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-10-31 08:51 |
47,815 topics / 349,930 posts / today 0 new / 48,290 members |
| DOS开发编程 & 发展交流 (开发室) » The Terminator of DOS Interface Development |
| Printable Version 100,816 / 290 |
| Floor106 firstsail | Posted 2006-09-23 06:08 |
| 高级用户 Posts 295 Credits 668 From 广东深圳 | |
|
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 "[email protected]" by email, thanks! |
|
| Floor107 profree | Posted 2006-09-23 06:58 |
| 中级用户 Posts 132 Credits 478 | |
|
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 ] |
|
| Floor108 firstsail | Posted 2006-09-24 08:46 |
| 高级用户 Posts 295 Credits 668 From 广东深圳 | |
|
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. |
|
| Floor109 firstsail | Posted 2006-09-24 09:26 |
| 高级用户 Posts 295 Credits 668 From 广东深圳 | |
|
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); } } |
|
| Floor110 ArmKing | Posted 2006-09-25 13:29 |
| 初级用户 Posts 22 Credits 66 | |
|
Please also give me a copy of the source code of chicago9, thanks.
Email: [email protected] |
|
| Floor111 profree | Posted 2006-09-26 00:16 |
| 中级用户 Posts 132 Credits 478 | |
Originally posted by ArmKing at 2006-9-25 01:29 PM: Sent |
|
| Floor112 profree | Posted 2006-09-26 00:18 |
| 中级用户 Posts 132 Credits 478 | |
|
to firstsail:
Is using the multi-line edit box a bit troublesome like this? Hope to improve it. |
|
| Floor113 firstsail | Posted 2006-09-26 02:09 |
| 高级用户 Posts 295 Credits 668 From 广东深圳 | |
|
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. |
|
| Floor114 profree | Posted 2006-09-26 02:30 |
| 中级用户 Posts 132 Credits 478 | |
|
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 ] |
|
| Floor115 firstsail | Posted 2006-09-26 06:28 |
| 高级用户 Posts 295 Credits 668 From 广东深圳 | |
|
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? |
|
| Floor116 profree | Posted 2006-09-26 07:04 |
| 中级用户 Posts 132 Credits 478 | |
|
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: [Download: WinSail V2.0 Programming Library] (2006-9-25 19:1:38 Monday) |
|
| Floor117 profree | Posted 2006-09-26 07:13 |
| 中级用户 Posts 132 Credits 478 | |
|
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. |
|
| Floor118 firstsail | Posted 2006-09-28 05:45 |
| 高级用户 Posts 295 Credits 668 From 广东深圳 | |
|
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); |
|
| Floor119 firstsail | Posted 2006-09-28 05:47 |
| 高级用户 Posts 295 Credits 668 From 广东深圳 | |
|
写错单词,应是“BAR_ATTRIB_SEPARATOR”
|
|
| Floor120 hh0118 | Posted 2006-09-28 21:11 |
| 新手上路 Posts 1 Credits 2 | |
|
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 ([email protected]) or leave your contact method so that I can contact you? Thanks first!
|
|
| Prev 1 … 5 6 7 8 9 10 11 … 20 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |