Jiangsheng的CSDN Digest (Dec 2005)[9]

[入库:2006年2月23日] [更新:2007年3月24日]

本文简介:


http://msdn.microsoft.com/library/default.asp?url=/library/en-us/devnotes/winprog/md5init.asp

This function has no associated header file or import library. You must use the LoadLibrary or GetProcAddress functions to dynamically link to Cryptdll.dll.


Webbrowser的控制下载(Delphi VCL组件开发及应用 )


Webbrowser有onbeforeNavigate 可以判断是什么网址以及终止该操作。但是onDownloadBegin中如果获取当前下载对象的url以及如何终止呢??第二次提这个问题,我想在wb做的浏览器中,选择性的下载的一些对象,一些受排斥的对象,如js. falsh. image等,能进行选择性的阻止!!


www.codeproject.com/atl/vbmhwb.asp
虽然是面向VB设计的,但是Delphi也应该可以用


如何使用VC来更改"工作组"或"域" (VC/MFC 硬件/系统 )


在WinXP/2003中可以使用WMI。参见http://www.microsoft.com/technet/scriptcenter/guide/sas_wmi_osjn.mspx
http://www.microsoft.com/technet/scriptcenter/topics/networking/05_atnc_dns.mspx和http://www.microsoft.com/china/MSDN/library/enterprisedevelopment/softwaredev/WDdnclinicscripting.mspx


怎样使CListctrl第一列中的各项居中显示(VC/MFC 界面 )


同样是“LVCFMT_CENTER”,为什么第二列和第三列都能居中,可第一列实际显示就是偏左呢?


MSDN documentation:

If a column is added to a list-view control with index 0 (the leftmost column) and with LVCFMT_RIGHT or LVCFMT_CENTER specified, the text is not right-aligned or centered. The text in the index 0 column is left-aligned. Therefore if you keep inserting columns with index 0, the text in all columns are left-aligned. If you want the first column to be right-aligned or centered you can make a dummy column, then insert one or more columns with index 1 or higher and specify the alignment you require. Finally delete the dummy column.


怎样使加到CListCtrl中的图标居中显示(VC/MFC 基础类 )


我在对话框程序中的一个CListCtrl第二列加入了图标,怎样才能使它们居中显示?文字居中就可以,假如图标就不行了。


use customerdraw
see http://blog.csdn.net/jiangsheng/archive/2003/11/20/3796.aspx and http://msdn.microsoft.com/library/en-us/shellcc/platform/commctls/listview/notifications/nm_customdraw_listview.asp


问三个问题,都是与IE有关的(VC/MFC HTML/XML )


我做了一个ActiveX控件,在网页中使用,现有三个问题想问一下,不知道能否实现:
1、能否调出IE的下在对话框下载文件,就像IE右键中的“目标另存为”
2、能否在控件里控制在新窗口中打开一个链接
3、能否控制IE的前进后退的历史列表


1 用一个隐藏的浏览器控件浏览到文件
2 http://www.codeproject.com/shell/AutomateShellWindow.asp
3 http://msdn.microsoft.com/workshop/browser/travellog/travellog.asp


产生不重复随机数的问题 (VB 基础类)


生成 1 到 250 的125个随机数,要求无重复数


You can shuffle an array of natural numbers between 1 and 250; however, you don't need to complete the shuffling since you merely need 125 numbers.

本文关键:Jiangsheng的CSDN Digest (Dec 2005)
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top