中国DOS联盟论坛

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-24 04:09
47,815 topics / 349,928 posts / today 1 new / 48,287 members
DOS批处理 & 脚本技术(批处理室) » [Help] Batch & VBS System Call Bubble
Printable Version  10,682 / 76
Floor16 qiuqiansuo Posted 2007-01-23 00:47
初级用户 Posts 15 Credits 28
I am also very interested in this point
Floor17 redtek Posted 2007-01-23 00:54
金牌会员 Posts 1,147 Credits 2,902
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...
Floor18 qiuqiansuo Posted 2007-01-25 04:49
初级用户 Posts 15 Credits 28
I'm sorry:(

[ Last edited by qiuqiansuo on 2007-1-24 at 03:53 PM ]
Floor19 lzmyst Posted 2007-01-25 05:36
新手上路 Posts 10 Credits 19
The batch processing on the second floor makes my eyes dizzy. Fortunately, someone has sorted it out. Thanks.
Floor20 zhclvip Posted 2007-01-25 22:35
初级用户 Posts 50 Credits 138
Support. I'll check Microsoft's knowledge base to see what it says!
Floor21 zhclvip Posted 2007-01-25 22:45
初级用户 Posts 50 Credits 138
The following might be enlightening for everyone:
http://msdn2.microsoft.com/zh-cn/library/kkx4h3az(vs.80).aspx
Floor22 zhclvip Posted 2007-01-25 22:52
初级用户 Posts 50 Credits 138
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);
Floor23 xuduo Posted 2007-01-30 15:52
初级用户 Posts 9 Credits 20
Floor24 cxinet Posted 2007-02-01 11:59
新手上路 Posts 4 Credits 10
Floor25 gl315 Posted 2007-02-02 01:41
新手上路 Posts 5 Credits 10
Still have to wait? :(
Floor26 fjcase Posted 2007-02-26 12:50
初级用户 Posts 23 Credits 53
Still need restrictions? At least there should be an explanation.
Floor27 iamsunman Posted 2007-02-28 17:03
新手上路 Posts 7 Credits 14
Want to have a look and learn
Floor28 qiongshuai Posted 2007-03-02 06:23
新手上路 Posts 6 Credits 11
haha, everyone is very interesting
Floor29 naxiaozi Posted 2007-03-02 11:23
新手上路 Posts 8 Credits 18
55~ I can't see it either
Floor30 mmyy525 Posted 2007-03-04 23:39
初级用户 Posts 10 Credits 26
Prev  1 2 3 4 5 … 6  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023