China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-29 22:06
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [Help] Batch & VBS System Call Bubble View 8,804 Replies 76
Floor 16 Posted 2007-01-23 00:47 ·  中国 北京 北京中电飞华通信股份有限公司
初级用户
Credits 28
Posts 15
Joined 2007-01-12 10:03
19-year member
UID 76275
Gender Male
Status Offline
I am also very interested in this point
Recent Ratings for This Post ( 1 in total) Click for details
RaterScoreTime
zhclvip +1 2007-01-25 22:37
Floor 17 Posted 2007-01-23 00:54 ·  中国 北京 朝阳区 联通
金牌会员
★★★★
Credits 2,902
Posts 1,147
Joined 2006-09-21 12:00
19-year member
UID 63324
Gender Male
Status Offline
Originally posted by qiuqiansuo at 2007-1-22 11:47:
I am also very interested in this point


Qipao's article is here:

http://www.cn-dos.net/forum/viewthread.php?tid=26751&fpage=1


10 points of points are needed. If brother's points are not enough, go to the "Picture and Chat, Literature and Entertainment Section" area to chat first, haha...
    Redtek,一个永远在网上流浪的人……

_.,-*~'`^`'~*-,.__.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._
Floor 18 Posted 2007-01-25 04:49 ·  中国 北京 北京中电飞华通信股份有限公司
初级用户
Credits 28
Posts 15
Joined 2007-01-12 10:03
19-year member
UID 76275
Gender Male
Status Offline
I'm sorry:(

[ Last edited by qiuqiansuo on 2007-1-24 at 03:53 PM ]
Floor 19 Posted 2007-01-25 05:36 ·  中国 广东 中山 电信
新手上路
Credits 19
Posts 10
Joined 2005-12-13 01:56
20-year member
UID 47019
Status Offline
The batch processing on the second floor makes my eyes dizzy. Fortunately, someone has sorted it out. Thanks.
Floor 20 Posted 2007-01-25 22:35 ·  中国 江苏 南京 电信
初级用户
★★
Credits 138
Posts 50
Joined 2007-01-23 10:59
19-year member
UID 77428
Gender Male
Status Offline
Support. I'll check Microsoft's knowledge base to see what it says!
Floor 21 Posted 2007-01-25 22:45 ·  中国 江苏 南京 电信
初级用户
★★
Credits 138
Posts 50
Joined 2007-01-23 10:59
19-year member
UID 77428
Gender Male
Status Offline
The following might be enlightening for everyone:
http://msdn2.microsoft.com/zh-cn/library/kkx4h3az(vs.80).aspx
Floor 22 Posted 2007-01-25 22:52 ·  中国 江苏 南京 电信
初级用户
★★
Credits 138
Posts 50
Joined 2007-01-23 10:59
19-year member
UID 77428
Gender Male
Status Offline
To ensure your application uses the new appearance style in Windows XP, you need a declaration to specify the dependency on ComCtl32 version 6 to ensure linking to ComCtl32. If you have any self-drawn controls, in the future you should draw them through uxtheme.dll instead of drawing them yourself. You should do this if you want them to look similar to other parts of the UI.

The following code draws a theme-aware button:

rtButton.top = 100;
rtButton.left = 10;
rtButton.bottom = 130;
rtButton.right = 200;
hTheme = OpenThemeData(hWnd, L"Button");
DrawThemeBackground(hTheme, hdc, BP_PUSHBUTTON, PBS_NORMAL, &rtButton, NULL);
DrawThemeText(hTheme, hdc, BP_PUSHBUTTON, PBS_NORMAL, wzTMB, wcslen(wzTMB),
DT_CENTER | DT_VCENTER | DT_WORD_ELLIPSIS | DT_SINGLELINE, 0, &rtButton);

A common reason for creating a self-drawn button is to add a bitmap. Now, buttons in ComCtl32 version 6 can incorporate bitmaps provided by developers by associating with an image list. Whether you are updating an existing application or writing a new one, be sure to use the ComCtl32 version 6 declaration and test your application with version 5 to see how your windows, dialogs, and the new appearance work together.

The following code draws a button with a bitmap:

Button_ImageList.himl = himl;
Button_ImageList.uAlign = BUTTON_IMAGELIST_ALIGN_LEFT;
Button_ImageList.margin.top = 3;
Button_ImageList.margin.bottom = 3;
Button_ImageList.margin.left = 3;
Button_ImageList.margin.right = 3;

hwndImageBtn = CreateWindow(L"Button",wzText,WS_CHILD | BS_PUSHBUTTON,0,0,0,0,hWndParent,NULL,hInst,NULL);
Button_SetImageList(hwndImageBtn, &Button_ImageList);
Button_GetIdealSize(hwndImageBtn, &sizeBtn);
SetWindowPos(hwndImageBtn, hWndParent, 10, 10, sizeBtn.cx, sizeBtn.cy, SWP_SHOWWINDOW | SWP_NOZORDER | SWP_NOACTIVATE);
Floor 23 Posted 2007-01-30 15:52 ·  中国 广东 广州 黄埔区 电信
初级用户
Credits 20
Posts 9
Joined 2007-01-24 16:40
19-year member
UID 77557
Gender Male
Status Offline
Floor 24 Posted 2007-02-01 11:59 ·  中国 河北 保定 电信
新手上路
Credits 10
Posts 4
Joined 2007-01-31 18:42
19-year member
UID 78228
Gender Male
Status Offline
Floor 25 Posted 2007-02-02 01:41 ·  中国 广东 惠州 电信
新手上路
Credits 10
Posts 5
Joined 2007-01-24 06:41
19-year member
UID 77513
Gender Male
Status Offline
Still have to wait? :(
Floor 26 Posted 2007-02-26 12:50 ·  中国 福建 福州 长乐区 电信
初级用户
Credits 53
Posts 23
Joined 2007-02-02 23:27
19-year member
UID 78449
Gender Male
Status Offline
Still need restrictions? At least there should be an explanation.
Floor 27 Posted 2007-02-28 17:03 ·  中国 江苏 淮安 电信
新手上路
Credits 14
Posts 7
Joined 2006-06-12 01:04
20-year member
UID 56895
Status Offline
Want to have a look and learn
Floor 28 Posted 2007-03-02 06:23 ·  中国 河南 平顶山 电信
新手上路
Credits 11
Posts 6
Joined 2007-03-02 05:06
19-year member
UID 80525
Gender Male
Status Offline
haha, everyone is very interesting
Floor 29 Posted 2007-03-02 11:23 ·  中国 陕西 汉中 汉台区 联通
新手上路
Credits 18
Posts 8
Joined 2007-02-11 13:18
19-year member
UID 79235
Gender Male
Status Offline
55~ I can't see it either
Floor 30 Posted 2007-03-04 23:39 ·  中国 吉林 长春 电信
初级用户
Credits 26
Posts 10
Joined 2007-02-22 00:10
19-year member
UID 79909
Gender Male
Status Offline
Forum Jump: