锘??xml version="1.0" encoding="utf-8" standalone="yes"?>欧美性天天影院,性欧美xxxx视频在线观看,久久久精品五月天http://www.shnenglu.com/amazon/category/8952.htmlzh-cnSat, 01 Oct 2011 07:42:49 GMTSat, 01 Oct 2011 07:42:49 GMT60"緙栫▼涔嬬編 - CPU鍗犵敤鐜?鎬葷粨http://www.shnenglu.com/amazon/archive/2009/08/31/94885.html榪滈榪滈Mon, 31 Aug 2009 07:49:00 GMThttp://www.shnenglu.com/amazon/archive/2009/08/31/94885.htmlhttp://www.shnenglu.com/amazon/comments/94885.htmlhttp://www.shnenglu.com/amazon/archive/2009/08/31/94885.html#Feedback0http://www.shnenglu.com/amazon/comments/commentRss/94885.htmlhttp://www.shnenglu.com/amazon/services/trackbacks/94885.html涓嬮潰鏄竴浜涗簡瑙e綋鍓嶇嚎紼?榪涚▼/緋葷粺鏁堣兘鐨凙PI錛屾墍鏈夋弿榪版潵鑷狹SDN鏂囨。錛屽叿浣撳涓嬶細

DWORD GetTickCount(void);
/*
Header: Winbase.h, include Windows.h
Link Library: Kernel32.lib
DLL: Dernel32.dll
Details:
The GetTickCount function retrieves the number of milliseconds that have elapsed since the system was started. It is limited to the resolution of the system timer. To obtain the system timer resolution, use the GetSystemTimeAdjustment function.
Remarks:
The elapsed time is stored as a DWORD value. Therefore, the time will wrap around to zero if the system is run continuously for 49.7 days.
Example Code:
The following example demonstrates how to use a this function to wait for a time interval to pass. Due to the nature of unsigned arithmetic, this code works correctly if the return value wraps one time. If the difference between the two calls to GetTickCount is more than 49.7 days, the return value could wrap more than one time and this code will not work.
DWORD dwStart = GetTickCount();
if( GetTickCount() - dwStart >= TIMELIMIT )
    Cancel();
*/

void Sleep(DWORD dwMilliseconds);
/*
Header: Winbase.h, include Windows.h
Library: Kernel32.lib
DLL: Kernel32.dll
Details:
This function suspends the execution of the current thread for a specified interval.
Parameters:
Specifies the time, in milliseconds, for which to suspend execution.
A value of zero causes the thread to relinquish the remainder of its time slice to any other thread of equal priority that is ready to run. If no other threads of equal priority are ready to run, the function returns immediately, and the thread continues execution.
A value of INFINITE causes an infinite delay.
Remarks:
You have to be careful when using Sleep and code that directly or indirectly creates windows. If a thread creates any windows, it must process messages. Message broadcasts are sent to all windows in the system. If you have a thread that uses Sleep with infinite delay, the system will deadlock. Therefore, if you have a thread that creates windows, use MsgWaitForMultipleObjects or MsgWaitForMultipleObjectsEx, rather than Sleep.
*/

DWORD WaitForSingleObject(HANDLE hHandle, DWORD dwMilliseconds);
/*
Header: Winbase.h, include Windows.h
Library: Kernel32.lib
DLL: Kernel32.dll
Details:
The WaitForSingleObject function returns when the specified object is in the signaled state or the time-out interval elapses.
Parameters:
hHandle:
Handle to the object. If this handle is closed while the wait is still pending, the function's behavior is undefined.
dwMilliseconds:
Time-out interval, in milliseconds. The function returns if the interval elapses, even if the object's state is nonsignaled. If dwMilliseconds is zero, the function tests the object's state and returns immediately. If dwMilliseconds is INFINITE, the function's time-out interval never elapses.
Return Values:
If the function succeeds, the return value indicates the event that caused the function to return. It can be one of the following values.
WAIT_ABANDONED錛氬綋hHandle涓簃utex鏃訛紝濡傛灉鎷ユ湁mutex鐨勭嚎紼嬪湪緇撴潫鏃舵病鏈夐噴鏀炬牳蹇冨璞′細寮曞彂姝よ繑鍥炲箋?br>WAIT_OBJECT_0錛氭牳蹇冨璞″凡琚縺媧?br>WAIT_TIMEOUT錛氱瓑寰呰秴鏃?br>WAIT_FAILED錛氬嚭鐜伴敊璇紝鍙氳繃GetLastError寰楀埌閿欒浠g爜
Remarks:
The WaitForSingleObject function checks the current state of the specified object. If the object's state is nonsignaled, the calling thread enters the wait state. It uses no processor time while waiting for the object state to become signaled or the time-out interval to elapse.
The function modifies the state of some types of synchronization objects. Modification occurs only for the object whose signaled state caused the function to return. For example, the count of a semaphore object is decreased by one.
*/

HRESULT GetProcessorInfo(WORD* pwProcessorArchitectureOut, WORD* pwProcessorLevelOut);
/*
DLL: Clcfgsrv.dll
Details:
The GetProcessorInfo method retrieves the processor information for the node.
Parameters:
pwProcessorArchitectureOut: Processor architecture information.
pwProcessorLevelOut: Processor level information.
*/

DWORD_PTR SetThreadAffinityMask(HANDLE hThread, DWORD_PTR dwThreadAffinityMask);
/*
Header: Winbase.h, include Windows.h
DLL: Kernel32.dll
Library: Kernel32.lib
Details:
The SetThreadAffinityMask function sets a processor affinity mask for the specified thread.
Return Values:
If the function succeeds, the return value is the thread's previous affinity mask. Windows Me/98/95: The return value is 1. To succeed, hThread must be valid and dwThreadAffinityMask must be 1.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
Remarks:
A thread affinity mask is a bit vector in which each bit represents the processors that a thread is allowed to run on.
A thread affinity mask must be a proper subset of the process affinity mask for the containing process of a thread. A thread is only allowed to run on the processors its process is allowed to run on.
*/

DWORD timeGetTime(VOID);
/*
Header: Mmsystem.h, include Windows.h
Library: Winmm.lib
Details:
The timeGetTime function retrieves the system time, in milliseconds. The system time is the time elapsed since Windows was started.
Remarks:
The only difference between this function and the timeGetSystemTime function is that timeGetSystemTime uses the MMTIME structure to return the system time. The timeGetTime function has less overhead than timeGetSystemTime.
Note that the value returned by the timeGetTime function is a DWORD value. The return value wraps around to 0 every 2^32 milliseconds, which is about 49.71 days. This can cause problems in code that directly uses the timeGetTime return value in computations, particularly where the value is used to control code execution. You should always use the difference between two timeGetTime return values in computations.
*/

MMRESULT timeGetSystemTime(LPMMTIME pmmt, UINT cbmmt);
/*
Header: Mmsystem.h, include Windows.h
Library: Winmm.lib
Details:
The timeGetSystemTime function retrieves the system time, in milliseconds. The system time is the time elapsed since Windows was started. This function works very much like the timeGetTime function. See timeGetTime for details of these functions' operation.
Parameters:
pmmt:  Pointer to an MMTIME structure.
cbmmt: Size, in bytes, of the MMTIME structure.
Return Values:
Returns TIMERR_NOERROR. The system time is returned in the ms member of the MMTIME structure.
*/

鍦ㄤ嬌鐢╓indows.h涓畾涔夛細
typedef unsigned long  DWORD;
typedef unsigned char  BYTE;
typedef unsigned short WORD;
typedef unsigned int UINT;



榪滈 2009-08-31 15:49 鍙戣〃璇勮
]]>
VC涓璍istCtrl緇忛獙鎬葷粨銆愯漿杞姐?/title><link>http://www.shnenglu.com/amazon/archive/2008/11/29/68159.html</link><dc:creator>榪滈</dc:creator><author>榪滈</author><pubDate>Sat, 29 Nov 2008 06:27:00 GMT</pubDate><guid>http://www.shnenglu.com/amazon/archive/2008/11/29/68159.html</guid><wfw:comment>http://www.shnenglu.com/amazon/comments/68159.html</wfw:comment><comments>http://www.shnenglu.com/amazon/archive/2008/11/29/68159.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.shnenglu.com/amazon/comments/commentRss/68159.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/amazon/services/trackbacks/68159.html</trackback:ping><description><![CDATA[ListCtrl鍦ㄥ伐浣滀腑錛屽父甯哥敤鍒幫紝涔熷父甯哥湅鍒板ぇ瀹跺彂甯栭棶鎬庝箞鐢ㄨ繖涓帶浠訛紝鏁呮葷粨浜嗕竴涓嬭嚜宸辯殑浣跨敤緇忛獙錛屼互渚涘弬鑰冧嬌鐢ㄣ?br><br>鍏堟敞鏄庝竴涓嬶紝榪欓噷錛屾垜浠敤m_listctrl鏉ヨ〃紺轟竴涓狢ListCtrl鐨勭被瀵硅薄錛岀劧鍚庤繖閲屾垜浠殑ListCtrl閮芥槸report褰㈠紡錛岃嚦浜庡叾浠栫殑濡備粈涔堝ぇ鍥炬爣錛屽皬鍥炬爣鐨勬殏鏃朵笉璁詫紝姣曠珶report鏄ぇ浼楄瘽鐨勪嬌鐢ㄣ傚叾嬈★紝鎴戜滑榪欓噷鐢ㄦ潯嬈句竴錛屾潯嬈句簩鏉ユ弿榪扮涓鐐癸紝絎簩鐐癸紝榪欎釜鏄弬鐓с奅ffective C++銆嬬殑鍙硶錛屼亢瑙夊緱榪欎箞鍙瘮杈僀OOL :)<br><br><strong>鏉℃涓錛氳緗甃istCtrl鐨勯鏍?/strong><br><br>鍦–SDN涓婂父甯哥湅鍒版湁浜洪棶鎬庝箞璁劇疆椋庢牸鐨勶紝浠栦滑ListCtrl鐨勬牱瀛愭槸涓涓垪琛紝鏈夋í鏉″拰绔栨潯鍒嗙晫綰匡紝鐒跺悗閫変腑涓琛岋紝瑕佹暣涓琛岄兘閫変腑錛岃屼笉鏄彧鏈夋煇涓鍒楄閫変腑錛岀瓑絳夛紝榪欓噷緇欎竴涓瘮杈冨叏闈㈢殑璁劇疆鏂規(guī)硶銆?br><br>//鑾峰緱鍘熸湁椋庢牸<br>DWORD dwStyle = ::GetWindowLong(m_listctrl.m_hWnd, GWL_STYLE); <br>dwStyle &= ~(LVS_TYPEMASK);<br>dwStyle &= ~(LVS_EDITLABELS);<br>//璁劇疆鏂伴鏍?br>SetWindowLong(m_listctrl.m_hWnd, GWL_STYLE,dwStyle, |LVS_REPORT | LVS_NOLABELWRAP | LVS_SHOWSELALWAYS);<br>//璁劇疆鎵╁睍椋庢牸<br>DWORD styles = LVS_EX_FULLROWSELECT|LVS_EX_GRIDLINES|LVS_EX_CHECKBOXES;<br>ListView_SetExtendedListViewStyleEx(m_listctrl.m_hWnd, styles, styles );<br><br>鍏朵腑LVS_EX_FULLROWSELECT銆灝辨槸鍓嶉潰璇村緱鏁磋閫変腑<br>LVS_EX_GRIDLINES銆緗戞牸綰匡紙鍙傜敤涓巖eport椋庢牸鐨刲istctrl錛?br>LVS_EX_CHECKBOXES銆鍓嶉潰鍔犱釜checkbox<br>pListCtrl->SetExtendedStyle( m_listctrl.GetExtendedStyle() | LVS_EX_SUBITEMIMAGES);<br><br>榪欎篃鏄竴涓緢閲嶈鐨勫睘鎬э紝榪欐牱鐨勮瘽錛屽彲浠ュ湪鍒楄〃涓姞ICON錛岃寰梬indows鐨勪換鍔$鐞嗗櫒鍚楋紝浣犳兂鍋氬緱閭f牱錛岃繖涓睘鎬т篃瑕佸姞鍝︼紝榪欎釜鎴戜互鍚庝細璁茬殑锝?br><br><strong>鏉℃浜岋細鍔犲叆鍒楀ご<br><br></strong>榪欐槸涓涓瘮杈冨疄璐ㄧ殑涓滆タ錛岀粰鍒楄〃妗嗗垎鍒楋紝鐒跺悗鍔犱笂鍒楀ご錛屼唬鐮佽璇濓紝鏉ヤ簡<br><br>TCHAR rgtsz[2][10] = {_T("鍒楀ご1"), _T("鍒楀ご2")};<br>LV_COLUMN lvcolumn;<br>CRect rect;<br>m_listctrl.GetWindowRect(&rect);<br>for(int i=0;i<2;i++)<br>{<br>銆lvcolumn.mask = LVCF_FMT | LVCF_SUBITEM | LVCF_TEXT | LVCF_WIDTH | LVCF_ORDER;<br>銆lvcolumn.fmt = LVCFMT_LEFT;<br>銆lvcolumn.pszText = rgtsz[i];<br>銆lvcolumn.iSubItem = i;<br>銆lvcolumn.iOrder = i;<br>銆if(i==0)<br>銆{<br>       lvcolumn.cx = rect.Width()*3/5 ; <br>銆}<br>銆else<br>       lvcolumn.cx = rect.Width()*2/5;<br><br>    m_listctrl.InsertColumn(i, &lvcolumn);<br>}<br><br>榪欐槸鎻掑叆涓ゅ垪鐨勫仛娉曪紝浣犺鎻掑叆20鍒楋紵錛熼殢渚夸綘錛屼緷鏍風敾钁姦锝烇綖<br>lvcolumn.mask 涓偅涓猰ask鍙互鏈夊悇縐嶅睘鎬э紝鍏蜂綋鍘葷湅msdn鍚э紝<br><br><strong>鏉℃涓夛細鎶婅褰曪紝鎻掑叆鍒楄〃妗嗕腑<br><br></strong>int nIndex = m_listctrl.GetItemCount();<br>LV_ITEM   lvitemAdd = {0};<br>lvitemAdd.mask = LVIF_TEXT;<br>lvitemAdd.iItem = nIndex ;<br>lvitemAdd.iSubItem = 0;<br>lvitemAdd.pszText =_T("姣涙瘺1");;<br><br>if (m_listctrl.InsertItem(&lvitemAdd) != -1)<br>{ <br>   LV_ITEM lvitem = {0};<br>   lvitem.mask = LVIF_TEXT;<br>   lvitem.iItem = nIndex ;<br>   lvitem.iSubItem = 1;<br><br>   lvitem.pszText =_T("姣涙瘺2");<br>   m_listctrl.SetItem(&lvitem);   <br>}<br><br>nIndex 鏄綋鍓嶇殑琛屾暟錛岀劧鍚庢妸鏂扮殑涓琛岋紝鎻掑湪鏈涓嬮潰錛?br><br><strong>鏉℃鍥涳細緇欏垪琛ㄤ腑鎻掑叆鍥炬爣<br><br></strong>鍦╮eport鏍煎紡涓紝涔熻兘鎻掑叆鍥炬爣<br>緇х畫浠g爜璇磋瘽<br><br>m_image鏄釜CImageList瀵硅薄<br>m_image.Create(16,16, TRUE|ILC_COLOR24, 3, 1);<br>m_listctrl.SetImageList(&m_image,LVSIL_SMALL);<br><br>鐒跺悗璋冪敤CImageList鐨勬垚鍛樺嚱鏁癷nt CImageList::Add( HICON hIcon );<br>鎶奍CON鎻掑叆鍒癷magelist錛?br>鐒跺悗鍦ㄦ彃鍏ヨ褰曠殑鏃跺?br><br>lvitemAdd.mask = LVIF_TEXT;銆<br>lvitemAdd.mask = LVIF_TEXT|LVIF_IMAGE<br><br>鐒跺悗娣誨姞涓涓猯vitemAdd.iImage = n;<br>榪欎釜n鏄痠magelist涓殑搴忓彿錛岃〃紺烘槸鍏蜂綋鐨勫摢涓涓浘鏍囷紝list涔堬紝鍛靛懙<br><br><strong>鏉℃浜旓細鎻掑叆璁板綍鏃朵嬌鐢ㄩ澶栫殑淇℃伅錛宭Param 鐨勪嬌鐢?br><br></strong>鏈夋椂鍊欙紝浣犳兂瀵逛簬鏌愪竴琛岋紝鍔犲叆涓浜涢澶栫殑淇℃伅錛岄偅涔堝氨鍙互浣跨敤榪欎釜lParam<br>msdn鏄繖涔堟弿榪扮殑Specifies the 32-bit value of the item<br>鎴戜笂嬈℃槸涓轟簡鍦ㄦ煇涓琛屽姞鍏ヤ竴涓俊鎭紝紿楀彛鍙ユ焺錛岀劧鍚庢槸榪欎箞鍔犵殑錛?br><br>int nIndex = m_listctrl.GetItemCount();<br>LV_ITEM   lvitemAdd = {0};<br>lvitemAdd.mask = LVIF_TEXT|LVIF_IMAGE|LVIF_PARAM;<br>lvitemAdd.iItem = nIndex ;<br>lvitemAdd.iSubItem = 0;<br>lvitemAdd.pszText =_T("姣涙瘺1");;<br>lvitemAdd.iImage = n;<br>lvitemAdd.lParam = (LPARAM)hwnd;(鏌愪釜紿楀彛鐨勭獥鍙e彞鏌?<br><br>if (m_listctrl.InsertItem(&lvitemAdd) != -1)<br>{ <br>   LV_ITEM lvitem = {0};<br>   lvitem.mask = LVIF_TEXT;<br>   lvitem.iItem = nIndex ;<br>   lvitem.iSubItem = 1;<br><br>   lvitem.pszText =_T("姣涙瘺2");<br>   m_listctrl.SetItem(&lvitem);   <br>}<br><br>ok錛岃繖鏄竴涓瘮杈冨叏鐨勪緥瀛愮殑錛屽張鎻捍CON錛屽張浣跨敤PARAM鐨?br><br><strong>鏉℃鍏錛氥鐐瑰嚮鍒楄〃妗嗭紝鑾峰彇閫変腑琛屼俊鎭?br><br></strong>鍝嶅簲NM_CLICK娑堟伅錛屽鏋滀綘鏈塎SDN錛屽彲浠ョ湅鍒幫紝鏈変笓闂ㄥ叧浜巐istview鐨凬M_CLICK鐨勪粙緇?br><br>void CMyDlg::OnItemClick(NMHDR* pNMHDR, LRESULT* pResult) <br>{<br>   // TODO: Add your control notification handler code here<br>   int nItem = -1;<br><br>   LPNMITEMACTIVATE lpNMItemActivate = (LPNMITEMACTIVATE)pNMHDR;<br>   if(lpNMItemActivate != NULL)<br>   {<br>      nItem = lpNMItemActivate->iItem;<br>   }<br>}<br><br>鐜板湪nItem灝辨槸鐐瑰嚮閫変腑閭h鐨刬ndex浜嗭紝鏈変簡index錛岃幏鍙栭偅琛岀殑淇℃伅榪橀毦鍚?br>鎳掓眽璇達細闅撅紝鍥犱負浣犺繕娌¤錛屾檿錛岄偅灝辯戶緇<br><br><strong>鏉℃涓冿細銆鏍規(guī)嵁琛岀殑index錛岃幏鍙栬琛岀殑淇℃伅<br><br></strong>鐩存帴涓婁唬鐮佸惂<br><br>LV_ITEM lvitem = {0};<br>lvitem.iItem = nIndex;<br>lvitem.iSubItem = 0;<br>lvitem.mask = LVIF_TEXT|LVIF_IMAGE|LVIF_PARAM;<br>m_listctrl.GetItem(&lvitem)<br><br>榪欐牱錛屽氨鎶妌index,絎竴鍒楃殑淇℃伅鍙栧嚭鏉ヤ簡錛屽寘鎷垰鎵嶆垜浠姞鍏ョ殑ICON,鍜岄偅涓澶栦俊鎭紙紿楀彛鍙ユ焺錛夛紝姣斿鎴戣鑾峰彇紿楀彛鍙ユ焺錛屽氨鍙互hwnd = (HWND)lvitem.lParam;<br>mask 鐢ㄦ潵鎸囨槑浣犳兂鑾峰彇閭d簺淇℃伅<br>鍏蜂綋鍙互鏌sdn涓璍VITEM Structure鐨勫畾涔夊拰CListCtrl::GetItem<br><br><strong>鏉℃鍏細鐢ㄧ▼搴忛変腑鏌愪竴琛岋紝浣夸箣閫変腑<br><br></strong>閫変腑涔嬨<br>m_listctrl.SetItemState(nIndex,LVIS_SELECTED|LVIS_FOCUSED,LVIS_SELECTED|LVIS_FOCUSED);<br>涓嶉変腑錛屽彇娑堥変腑涔?br>m_listctrl.SetItemState(nIndex,0,LVIS_SELECTED|LVIS_FOCUSED);<br><br><strong>鏉℃涔?jié)锛氳幏鍙栧綋鍓嶆墍鏈夐変腑鐨勮錛堝閫夛級<br><br></strong>榪欎釜錛屼亢灝辨瘮杈冩噿浜嗭紝鎶刴sdn鐨勪唬鐮佸惂錛屽弽姝e緢綆鍗?br><br>// CListCtrl* pListCtrl = (CListCtrl*) GetDlgItem<br>(IDC_YOURLISTCONTROL);<br>ASSERT(pListCtrl != NULL); <p>POSITION pos = pList->GetFirstSelectedItemPosition();<br>if (pos == NULL)<br>   TRACE0("No items were selected!\n");<br>else<br>{<br>   while (pos)<br>   {<br>      int nItem = pList->GetNextSelectedItem(pos);<br>      TRACE1("Item %d was selected!\n", nItem);<br>      // you could do your own processing on nItem here<br>   }<br>}<br><br><strong>鏉℃鍗侊細鍒犻櫎鏉℃涔?jié)涓変腑鐨勮<br><br></strong>榪欎釜鐩稿鍓嶉潰涔?jié)涓潯娆炬槸姣旇緝楹荤儲鐨勫Q屽洜涓哄鏋滀綘瑕佸垹闄ゅ琛岀殑璇濓紝寰寰瑕佸嚭閿欍傛瘮濡傦紝鎴戠幇鍦ㄨ鍒犻櫎絎?琛屽拰絎?琛岋紙鍒楄〃鐨勮搴忓垪鏄粠0寮濮嬬殑錛?br>閭d箞濂藉晩銆傛垜鏉ュ垹浜?br><br>m_listctrl.DeleteItem(0)<br>m_listctrl.DeleteItem(1)<br><br>鎭枩浣狅紝閿欎簡錛屾垜濂藉紑蹇冨晩銆錛氾級<br>鍥犱負浣犲垹闄ょ0琛屼互鍚庯紝涓嬮潰鐨勮浼氬線涓婄Щ錛岄偅涔堝師鏉ョ殑絎?琛屽氨鍙樻垚浜嗙0琛岋紝閭d箞浣犲啀 m_listctrl.DeleteItem(1)錛岄偅涔堝垹闄ょ殑鏄師鏉ョ殑絎紥琛岋紝鐪熼夯鐑︼紝<br>鎵浠ワ紝鍙湁浠庝笅寰涓婂垹錛屾墠鏄畨鍏ㄧ殑錛屽厛鍒犵殑錛屼笉浼氬獎鍝嶅悗闈㈢殑鎿嶄綔錛?br><br>m_listctrl.DeleteItem(1)<br>m_listctrl.DeleteItem(0)<br><br>浣嗘湁鏃跺欙紝鎴戜滑涔熶笉鐭ラ亾瑕佸垹闄ゅ摢浜涜錛屽彧鐭ラ亾瑕佸垹闄ら変腑鐨勯偅浜涜錛屽儚鏉℃涔?jié)涓殑閭d?br>濡傛灉鎴戜滑榪樻槸鐢?br><br>POSITION pos = m_listctrl.GetFirstSelectedItemPosition();<br>if (pos == NULL)<br>   TRACE0("No items were selected!\n");<br>else<br>{<br>   while (pos)<br>   {<br>      int nItem = m_listctrl.GetNextSelectedItem(pos);<br>      m_listctrl.DeleteItem(nItem );</p> <p>   }<br>}<br><br>浣犲氨絳夌潃鏀跺案鍚?br>榪欐椂鍊欐垜浠氨瑕丅4寰蔣浜嗭紝涓鴻櫨綾蟲湪鏈塆etLastselectedItemPosition 鍜孏etPrevSelectedItem錛屽鍐欎竴瀵規(guī)垚鍛樺嚱鏁頒細姝誨晩銆:(<br>娌″姙娉曪紝鍔炴硶鑷繁鎯籌紝榪欓噷鏈変釜絎ㄥ姙娉?br><br>POSITION sSelPos = NULL;<br>while(sSelPos = m_listctrl.GetFirstSelectedItemPosition())<br>{<br>   int nSelItem = -1;<br>   nSelItem = m_listctrl.GetNextSelectedItem(sSelPos);<br>   if(nSelItem >= 0 && nSelItem<m_listctrl.GetItemCount())<br>   {<br>      //濂戒簡錛岃繖涓猲SelItem 灝辨槸鎴戜滑瑕佺殑DD<br>   }<br>}<br><br>GetNextSelectedItem榪欎釜鍑芥暟錛岀湅msdn鐨勭敤娉曪紝鍏跺疄鏄繑鍥炵涓涓殑index錛岀劧鍚庤蛋鍒頒笅涓涓変腑鐨勮鍘伙紝鎵浠ヨ繖涔堝仛涔熸槸瀹夊叏鐨勶紝鍦ㄥ疄闄呬腑錛屼亢涔熸槸榪欎箞鍋氱殑錛屾祴璇曚篃閫氳繃錛屾病闂鐨?br>褰撶劧錛岃繕鏈変釜鍔炴硶錛屽厛閫氳繃GetFirstSelectedItemPosition鍜孏etNextSelectedItem鏉ヨ幏鍙栨墍鏈夌殑閫変腑琛岀殑index錛岀劧鍚庢妸榪欎簺index鏀懼埌涓涓暟緇勯噷錛岀劧鍚庡啀浠庝笅寰涓婂垹<br>鍞夌湡楹葷儲鍟婏紝榪樿涓嶅畾鏁扮粍錛屼笉璇寸敤new鍦ㄥ爢涓婂紑鍚э紝閭d箞涓涓獀ector鎬繪槸瑕佺殑鍚э紝楹葷儲鍟婏紝鎵浠ユ垜鏆傛椂鏄敤涓婅堪鐨勫姙娉曟潵鍒犻櫎錛屼篃渚涘ぇ瀹跺弬鑰冿紝甯屾湜鑳芥壘鍒版洿濂界殑鍔炴硶銆?br><br>濂戒簡錛屼粖澶╁氨鏆傛椂鍏堟暣鐞嗕笂榪板崄鐐廣俵istctrl鍏朵粬楂樼駭鐨勭敤娉曪紝緗戜笂璧勬枡涔熷緢澶氾紝鎴戜篃鏆傛椂涓嶆葷粨錛屼互鍚庢湁鏈轟細鍐嶈鍚с?br></p> <img src ="http://www.shnenglu.com/amazon/aggbug/68159.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/amazon/" target="_blank">榪滈</a> 2008-11-29 14:27 <a href="http://www.shnenglu.com/amazon/archive/2008/11/29/68159.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>涓ф帶鍒跺璇濇涓婄殑鎺т歡鏄劇ず銆愯漿杞姐?/title><link>http://www.shnenglu.com/amazon/archive/2008/11/29/68155.html</link><dc:creator>榪滈</dc:creator><author>榪滈</author><pubDate>Sat, 29 Nov 2008 05:36:00 GMT</pubDate><guid>http://www.shnenglu.com/amazon/archive/2008/11/29/68155.html</guid><wfw:comment>http://www.shnenglu.com/amazon/comments/68155.html</wfw:comment><comments>http://www.shnenglu.com/amazon/archive/2008/11/29/68155.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/amazon/comments/commentRss/68155.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/amazon/services/trackbacks/68155.html</trackback:ping><description><![CDATA[<p>濡備綍涓ф帶鍒跺璇濇涓婄殑鎺т歡鏄劇ず錛熸秹鍙婂埌榪欐柟闈㈢殑鐭ヨ瘑瀹炲湪澶錛岄檺浜庝釜浜鴻兘鍔涳紝鎴戜篃涓嶈兘鍦ㄨ繖閲岄潪甯稿叏闈㈢殑浠嬬粛浜嗭紝鏈枃涓昏浠嬬粛鏃ュ父鏈甯哥敤鐨勫嚑涓姛鑳斤細鎺т歡鑳屾櫙鑹茶瀹氥佹帶浠跺瓧浣撴樉紺恒佹帶浠跺瓧鑹叉樉紺恒佹帶浠剁殑浜甛鐏版樉紺恒傝岃繖閲岀殑鎺т歡錛屼篃涓昏灝變粙緇嶉潤鎬佹帶浠躲佹枃鏈鎺т歡銆乧heck鎺т歡錛屾寜閽帶浠剁瓑銆?br><br>浼楁墍鍛ㄧ煡錛屽湪VC涓仛鐣岄潰鍑犱箮鏄墍鏈夊伐鍏蜂腑鏈鑹伴毦鐨勪竴縐嶏紙褰撶劧錛屽鏋滄槸楠ㄧ伆綰х殑楂樻墜錛岄偅灝卞彉鎴?#8220;VC鏄仛鐣岄潰鏈涓板瘜澶氬僵鐨勫紑鍙戝伐鍏?#8221;浜嗭紝鎴戣偗瀹氱閭e鐣岃繕鏈夊ソ鍑犱釜鍗佷竾鍏崈閲岋紒錛夈傝孷C涓殑鐣岄潰錛屽ぇ澶氱敱瀵硅瘽妗嗙晫闈㈢粍鎴愶紝鎵浠ュ寘鎷湰浜哄湪鍐咃紝鐩鎬俊寰堝浜洪兘鏈夋劅鎱紝瑕佹槸VC鐨勫璇濇鑳藉闅忓績鎵嬈茬殑瀹氬埗璇ュ濂藉晩錛燂紵鍦ㄥ埆鐨勫湴鏂逛篃鐪嬭繃涓浜涙崲鑲よ蔣浠訛紝鎬繪劅瑙変笉濂戒嬌錛屽綋鐒訛紝鐪嬪埌閲戝北銆佺憺鏄熼偅縐嶇晫闈㈠氨寰堝悜寰浜嗭紝鍙儨鏄彧鍙痀Y鎯充竴涓嬶紝灝辨垜涓漢鑰岃█錛屾槸涓嶅お鍙兘涓涓漢瀹炵幇鐨勩?br><br>璦褰掓浼狅紝灝辨垜涓漢鐨勪嬌鐢ㄥ拰瀹炶返鑰岃█錛屽湪瀵硅瘽妗嗕腑錛屼笉鍐欐淳鐢熺被鐨勬儏鍐典笅錛屽彲浠ョ畝鍗曞疄鐜頒竴浜涙帶浠剁殑鑳屾櫙鑹層佸瓧浣撴樉紺轟粈涔堢殑灞炴э紝闆墮浂宀佸瞾鐨勮楗頒竴涓嬶紝涔熷彲浠ョ◢寰編鍖栦竴涓嬫垜浠嚜宸辯殑杞歡鐣岄潰浜嗐備笅闈㈢畝鍗曡鏄庝竴涓嬪疄鐜拌繃紼嬶細<br><br>瀵硅瘽妗嗕腑鎵鏈夋帶浠訛紝鐫鑹叉樉紺洪兘闇瑕侀噸杞藉嚱鏁癢M_CTRCOLOR錛屽畠涓鑸敓鎴愪互涓嬬殑鎴愬憳鍑芥暟錛屽湪榪欎釜閲岄潰瀹炵幇鍑犱箮鎵鏈夋湰鏂囪璇村埌鐨勬帶浠舵搷浣溿?br>OnCtrColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) ;<br>鍙傛暟璇存槑錛?br>pDC鏄澶囨寚閽堬紱<br>pWnd鏄獥鍙f寚閽堬紱<br>nCtlColor鏄帶浠剁被鍨嬶紱<br><br>鍥犱負瀵硅瘽妗嗕腑鐨勬瘡涓帶浠墮兘浼氬搷搴斾竴嬈¤鍑芥暟錛屾墍浠ヤ竴鑸儏鍐典笅錛岃瀵規(guī)煇涓帶浠舵搷浣滐紝灝辮鍏堥氳繃璇彞<br>if (pWnd->GetDlgCtrlID() == IDC_STATIC_TITLE)  <br>鎵懼埌璇ユ帶浠訛紝鎴栬呴氳繃璇彞<br>if (nCtlColor == CTLCOLOR_BIN |  nCtlColor == CTLCOLOR_TEXT錛夛紱<br>鎵懼埌鎺т歡綾匯?br><br>鐒跺悗鍐嶉氳繃璁懼畾璁懼鐜鏉ヨ揪鍒版敼鍙樻帶浠舵樉紺哄睘鎬х殑鐩殑銆?br>鏀瑰彉鎺т歡鏄劇ず瀛椾綋錛岃鍏堝垱寤鴻嚜宸辯殑鐗瑰畾瀛椾綋錛屽啀閫夊叆璁懼<br>鏀瑰彉鎺т歡鑳屾櫙鑹詫紝瑕佸厛鍒涘緩鑷繁鐨勭壒瀹氱敾鍒鳳紝鍐嶉夊叆璁懼<br>鏀瑰彉鎺т歡鏄劇ず瀛椾綋鐨勯鑹詫紝鍙璁劇疆涓涓嬪氨鍙互浜?br><br>1.<br>      闈欐佹帶浠?br>      榪欏嚑涔庢槸鏈綆鍗曠殑浜嗭紝濡傛灉鎯蟲敼鍙樻煇涓狪D涓篒D_MY_SEL_STATIC闈欐佹帶浠剁殑鑳屾櫙鑹詫紝鍙璇彞<br>      HBRUSH CViewWaveparamDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) <br>      {<br>          HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor);<br>       <br>          if (pWnd->GetDlgCtrlID() == ID_MY_SEL_STATIC)  <br>         {  <br>             pDC->SetBkColor(RGB(0,0,255));//钃濊壊<br>             pDC->SetBkMode(TRANSPARENT);  //璋冪敤璇ヨ鍙ヤ富瑕佹槸涓轟簡鏄劇ず鏂囨湰鏃訛紝鏂囨湰鑳屾櫙渚濈劧鏄摑鑹?br>             return ::CreateSolidBrush(RGB(98,176,255));//榪斿洖鍒涘緩鐨勭敾鍒?br>         }<br>   <br>         return hbr;<br>      }<br><br>      濡傛灉鎯蟲敼鍙樿鎺т歡鐨勫瓧浣撻鑹詫紝鍙渶瑕佸湪涓婇潰鐨勫嚱鏁癷f璇彞涓姞鍏ヤ竴涓嬭鍙ュ氨鍙互浜?br>      pDC->SetTextColor(RGB(255,255,255));//鏄劇ず瀛椾綋涓虹櫧鑹?br>      濡傛灉瑕佹敼鍙樻帶浠剁殑瀛椾綋錛屽垯闇瑕佸湪瀵硅瘽妗嗙殑鍒濆鍑芥暟涓垱寤轟竴涓瓧浣擄紝鏈濂界敤鎴愬憳鍙橀噺錛涚劧鍚庢妸璇ュ瓧浣撻夊叆鐗瑰畾鐨勬帶浠剁殑璁懼鐜涓?br>      GetObject(::GetStockObject(DEFAULT_GUI_FONT),sizeof(m_logfont),&m_logfont); <br>      m_logfont.lfHeight = 16;<br>      m_logfont.lfWeight = 16;<br>      strcpy(m_logfont.lfFaceName, "榛戜綋");<br>      m_logfont.lfCharSet = GB2312_CHARSET;<br>      VERIFY(m_Textfont.CreateFontIndirect(&m_logfont));<br>      GetDlgItem(ID_MY_SEL_STATIC)->SetFont(&m_Textfont);<br><br>2.<br>      鏂囨湰鎺т歡銆乧heck鎺т歡絳夊熀鏈兘鏄繖鏍峰氨鍙互瀹炵幇浜嗐?br><br>3.<br>      鎸夐挳鎺т歡<br>      鎴戣搗鍒濅篃鍍忎笂闈㈣繖鏍鋒潵鍋氾紝鍙槸灝辨槸鏄劇ず鍑烘潵涓嶆槸閭d箞鍥炰簨錛屾垜鏌ヤ簡寰堝涔︾睄錛屾墠鍙戣錛屽師鏉ユ寜閽敤榪欎釜鏍峰瓙鏄仛涓嶅嚭鏉ョ殑銆傚繀欏繪淳鐢熺被錛屼粠CButton媧劇敓銆傜劧鍚庡湪媧劇敓綾諱腑閲嶈澆鍑芥暟OnDrawItem錛堬級錛屽彧鏈夎繖鏍鋒墠鑳藉疄鐜版湰鏂囨墍榪扮殑鍔熻兘銆?br>      娑夊強鍒版淳鐢燂紝鎴戞兂涓嶆槸鎴戜笁璦涓よ鑳借娓呮鐨勶紝鍦ㄦ鍙槸鎻愪釜鎬濊礬錛屾仌鍦ㄤ笅鏃犲姏錛佹帹鑽愪釜緗戜笂姣旇緝濂界殑浠ュ悗媧劇敓綾籆ButtonST.<br><br>      鍏跺疄鎴戣繖綃囨枃绔犲緢綺楁祬鐨勶紝浣嗘槸鎴戝笇鏈涜兘璧峰埌涓涓姏鐮栧紩鐜夌殑浣滅敤錛屾湁楂樻墜鐪嬪埌浜嗘湰鏂囷紝鎶婁綘鐨勮瑙e拰鏇村ソ鐨勫疄鐜版柟娉曡創(chuàng)涓婃潵錛屼緵涓嶄細鐨勬湅鍙嬪熼壌涓存懝涓涓嬨傚厛鍦ㄦ鎰熻阿浜嗭紒<br><br>婕忎簡涓鐐癸紝灝辨槸鏄劇ず鎺т歡鐨勪寒\鐏版帶鍒訛紝琛ヤ笂銆傦紙涓嶅ソ鎰忔濓紝瑙佽皡瑙佽皡錛?br><br>鍔犲叆鎺у埗ID涓篒D_MY_BUTTON鐨勬樉紺猴紝<br>鍦ㄦ湰瀵硅瘽妗嗙被涓疄鐜扮敤璇彞<br>GetDlgItem(ID_MY_BUTTON)->EnableWindow(false);<br>鍦ㄩ潪鏈璇濇綾諱腑瀹炵幇鐢ㄨ鍙?br>HWND Ctrlhwnd, dlghwnd;<br>GetDlgItem(IDD_BASE_DIALOG, &dlghwnd);<br>VERIFY(dlghwnd);<br>Ctrlhwnd = ::GetDlgItem(dlghwnd, ID_MY_BUTTON錛?<br>VERIFY(Ctrlhwnd);<br>::EnableWindow(Ctrlhwnd, true); </p> <img src ="http://www.shnenglu.com/amazon/aggbug/68155.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/amazon/" target="_blank">榪滈</a> 2008-11-29 13:36 <a href="http://www.shnenglu.com/amazon/archive/2008/11/29/68155.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鍒╃敤ODBC鏁版嵁婧愪笌Access鏁版嵁搴撹繛鎺ョ殑涓ょ鏂規(guī)硶http://www.shnenglu.com/amazon/archive/2008/11/29/68149.html榪滈榪滈Sat, 29 Nov 2008 05:08:00 GMThttp://www.shnenglu.com/amazon/archive/2008/11/29/68149.htmlhttp://www.shnenglu.com/amazon/comments/68149.htmlhttp://www.shnenglu.com/amazon/archive/2008/11/29/68149.html#Feedback0http://www.shnenglu.com/amazon/comments/commentRss/68149.htmlhttp://www.shnenglu.com/amazon/services/trackbacks/68149.html浠ccess鏂囦歡浣滀負鏁版嵁搴撹繘琛岃繛鎺ワ紝涓鑸彲浠ヤ嬌鐢∣DBC鎺ュ彛錛屽湪榪欓噷鎴戜滑浣跨敤MFC鐨凜Database綾伙紝璇ョ被鏄SQLConnect絳塐DBC鐨凙PI鐨勫皝瑁呫傞渶瑕佸寘鍚?span style="COLOR: red">afxdb.h澶存枃浠?/span>銆傚埄鐢∣DBC鏁版嵁婧愯繘琛屾暟鎹簱榪炴帴鏈変袱縐嶆柟娉曪細涓縐嶆槸鑷姩鎴栨墜宸ラ厤緗甇DBC鏁版嵁婧愬悗榪炴帴錛屼竴縐嶆槸涓嶇敤閰嶇疆ODBC鏁版嵁婧愶紝鑰屾槸鐩存帴鏍規(guī)嵁Access鏂囦歡鐨勮礬寰勮繘琛岃繛鎺ャ?br>
鍦∕FC涓紝涓篛DBC棰勫畾涔変簡鍑犱釜綾伙紝鍏朵腑涓昏鐨勬槸鏁版嵁搴?span style="BACKGROUND-COLOR: #ffffff">綾?CDatabase)鍜岃褰曢泦鍚堢被(CRecoredset)銆傝繖涓や釜綾繪棦鏈夎仈緋誨張鏈夊尯鍒紝鍦ㄥ簲鐢ㄧ▼搴忎腑錛屽彲浠ュ垎鍒嬌鐢紝涔熷彲浠ュ悓鏃朵嬌鐢紝姣忎竴綾諱篃鍙互鍚屾椂瀛樺湪澶氫釜瀵硅薄銆侰Database鐨?/span>姣忎竴涓璞′唬琛ㄤ簡涓涓暟鎹簮鐨勮繛鎺ワ紝CRecordset鐨勬瘡涓涓璞′唬琛ㄤ簡浠庝竴涓暟鎹〃涓寜棰勫畾鐨勬煡璇㈡潯浠惰幏寰楃殑璁板綍鐨勯泦鍚堬紝涓鑸鏉ワ紝鍓嶈呴傚疁浜庡鏁版嵁婧愪笅鐨勬煇涓暟鎹〃鏍艱繘琛屾暣浣撴搷浣滐紝鍚庤呯敤浜庡鎵閫夌殑璁板綍闆嗗悎榪涜澶勭悊銆?br>
涓ょ鏂規(guī)硶涓昏鏍規(guī)嵁CDatabase綾葷殑Open鍑芥暟鑰屾潵錛?br>

BOOL CDatabase::Open(
                                          LPCTSTR lpszDSN, 
                                          BOOL bExclusive 
= FALSE,
                                          BOOL bReadonly 
= FALSE, 
                                          LPCTSTR lpszConnect 
= _T("ODBC;"),
                                          BOOL bUseCursorLib 
= TRUE );

鍙傛暟璇存槑濡備笅錛?br>(1)lpszDSN錛氳榪炴帴鐨勬暟鎹簮鐨勫悕瀛楋紝濡傛灉lpszDSN = NULL涓攍pszConnect涓篃娌℃湁鎸囨槑鏁版嵁婧愬悕錛屽垯璇ヨ皟鐢ㄤ細鑷姩鍑虹幇涓涓璇濇鍒楀嚭鎵鏈夊彲鐢ㄧ殑鏁版嵁婧?鍚?錛岃鐢ㄦ埛閫夋嫨銆?br>(2)bExclusive錛氬彧鏀寔“鍋?#8221;(False)鍊鹼紝琛ㄧず涓哄叡浜?share)鏂瑰紡榪炴帴銆傚洜姝わ紝搴旂敤紼嬪簭鍦ㄨ繍琛屽墠錛屼竴瀹氳瑁呭叆share.exe鎴栧湪Windows鐨剆ystem.ini涓鍏share.386銆?浠涔堟剰鎬濅笉澶噦......)
(3)ReadOnly錛氭寚鏄庢暟鎹簮鎿嶄綔鏂瑰紡鏄?#8220;鍙”榪樻槸鍙互淇敼銆?br>(4)lpszConnect:錛氭寚鏄庤繛鎺ュ瓧絎︿覆錛屽寘鎷暟鎹簮鍚嶃佺敤鎴鋒爣璇嗙爜銆佸彛浠ょ瓑淇℃伅銆傝瀛楃涓插繀欏諱互“ODBC;”寮澶達紝琛ㄧず璇ヨ繛鎺ユ槸涓庝竴涓狾DBC鏁版嵁婧愮殑榪炴帴(鑰冭檻浠ュ悗鐗堟湰鏀寔闈濷DBC鏁版嵁婧?銆?br>
1.鏍規(guī)嵁Access鏂囦歡鐨勮礬寰勮繘琛岃繛鎺?/strong>

 

CString strConnect;
strConnect 
= _T("ODBC;DRIVER={MICROSOFT ACCESS DRIVER(*.mdb)};UID=;PWD=;DBQ=D:\\MusicSearch.mdb");
CDatabase db;
if(!db.Open(NULL, FALSE, FALSE, strConnect))
{
   
return TRUE;
}


CString strSQL;
strSQL 
= _T("select TOP 100 * from Music");
CRecordset rs(
&db);
rs.Open(CRecordset::forwardOnly, strSQL);

CString strValue;
int i = 0;
while(!rs.IsEOF())
{
   
//娣誨姞鍔熻兘

   rs.MoveNext();
   i
++;
}
 

rs.Close();
db.Close();


2.閰嶇疆ODBC鏁版嵁婧愬悗榪炴帴

 

CDatabase db;
if(!db.Open(_T("MusicSearch")))
{
   
return TRUE;
}


CString strSQL;
strSQL 
= _T("select TOP 100 * from Music");
CRecordset rs(
&db);
rs.Open(CRecordset::forwardOnly, strSQL);

//浠ヤ笅娣誨姞鍔熻兘



 



榪滈 2008-11-29 13:08 鍙戣〃璇勮
]]>
ListCtrl鎺掑簭鎵╁睍綾?-CSortListCtrl銆愯漿杞姐?/title><link>http://www.shnenglu.com/amazon/archive/2008/11/28/68042.html</link><dc:creator>榪滈</dc:creator><author>榪滈</author><pubDate>Thu, 27 Nov 2008 16:43:00 GMT</pubDate><guid>http://www.shnenglu.com/amazon/archive/2008/11/28/68042.html</guid><wfw:comment>http://www.shnenglu.com/amazon/comments/68042.html</wfw:comment><comments>http://www.shnenglu.com/amazon/archive/2008/11/28/68042.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.shnenglu.com/amazon/comments/commentRss/68042.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/amazon/services/trackbacks/68042.html</trackback:ping><description><![CDATA[<p>1. CSortList鏄疌ListCtrl鐨勬淳鐢熺被銆?/p> <p>2. 瑕佽CSortList鑷鎺掑簭錛屽綋鐒跺緱璁〤SortList鑷繁澶勭悊LVN_COLUMNCLICK娑堟伅</p> <p>    ON_NOTIFY_REFLECT(LVN_COLUMNCLICK, OnLvnColumnclick)<br>    OnLvnColumnclick鐨勪綔鐢ㄥ氨鏄緗帓搴忓垪錛屾帓搴忔柟寮忥紝鏈鍚庤皟鐢⊿ortItems()銆?/p> <p>3. 鎺掑簭鐨勫叿浣撳疄鐜幫紝涔熷氨鏄疌ALLBACK ListCompare(...)鐨勫疄鐜幫細<br>    鍩烘湰瑕佹眰: 璁〤SortList鏍規(guī)嵁Item榪涜鎺掑簭錛岃屼笌鏁版嵁婧愭棤鍏熾?褰撶劧榪欐牱涔熸湁涓嶈凍涔嬪錛屽氨鏄帓搴忓彧鑳芥寜鏂囨湰鎺掑簭浜嗐傚鏋滀綘闇瑕佹寜鏁板瓧鎺掑簭鐨勮瘽錛岄偅灝卞彧鏈夌壒孌婂鐞嗕簡銆?</p> <p>   榪欓噷娑夊強鍒扮殑鏈涓昏鐨勫嚱鏁版槸錛?br>   (1)ListCompare - 瀹炵幇鎺掑簭鐨勫洖璋冨嚱鏁?br>   int CALLBACK CSortList::ListCompare(LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort)錛?br>   (2)CListCtrl::FindItem - 鏌ユ壘鐩稿簲鐨処tem, 鏌ユ壘鏂瑰紡鍙寚瀹?br>   int FindItem( LVFINDINFO* pFindInfo, int nStart = -1 ) const;<br>   FindItem鐨勫叿浣撶粏鑺傝鍙傝僊SDN.<br>   <br>   鍩烘湰鎬濊礬錛?br>   (1)ListCompare鐨勫師鍨嬶細浼犲叆鐨勫弬鏁發(fā)Param1,lParam2鏄浉搴斾袱琛岀殑ItemData錛?br>   (2)FindItem鏍規(guī)嵁lParam1,lParam2寰楀埌鐩稿簲鐨処tem錛?br>   FindItem鏈夊縐嶆煡鎵炬柟寮?鏌ユ壘鏂瑰紡閫氳繃LVFINDINFO->flags榪涜璁劇疆)錛岃繖閲屽彧鏄牴鎹甀temData榪涜鏌ユ壘銆?br>   (3)鍐嶇敤GetItemText寰楀埌鎺掑簭鍒楃殑ItemText錛?br>   (4)鏈鍚庡氨鏄瘮杈僆temText浜嗐?br><br>涓嬮潰鏄簮浠g爜錛?br>鍙湁涓や釜鏂囦歡錛欳SortListCtrl.H, CSortListCtrl.cpp<br>鐩存帴鎶婅繖涓や釜鏂囦歡鏀懼埌欏圭洰閲屽氨鍙互浜嗐?br><a href="http://www.shnenglu.com/Files/amazon/CSortListCtrl.rar">/Files/amazon/CSortListCtrl.rar</a><br><br>鍦ㄥ璇濇紼嬪簭C***Dlg涓紝鍙坊鍔犲涓嬪垵濮嬪寲淇℃伅錛岃緗帶浠剁殑椋庢牸鍜屾墿灞曢鏍箋傛敞鎰忚鏍規(guī)嵁HDITEM綾誨瀷鍙橀噺鍜孋HeaderCtrl::SetItem鍑芥暟璁劇疆鍒楃殑綾誨瀷灞炴с?br></p> <div style="BORDER-BOTTOM: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; PADDING-BOTTOM: 4px; BACKGROUND-COLOR: #eeeeee; PADDING-LEFT: 4px; WIDTH: 98%; PADDING-RIGHT: 5px; FONT-SIZE: 13px; WORD-BREAK: break-all; BORDER-TOP: #cccccc 1px solid; BORDER-RIGHT: #cccccc 1px solid; PADDING-TOP: 4px"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"><span style="COLOR: #000000">CSortListCtrl m_test;<br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">鍒濆鍖栨帶浠?/span><span style="COLOR: #008000"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #000000"> DWORD dwStyle </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> ::GetWindowLong(m_test.m_hWnd, GWL_STYLE); <br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"> dwStyle </span><span style="COLOR: #000000">&=</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">~</span><span style="COLOR: #000000">(LVS_TYPEMASK);<br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"> dwStyle </span><span style="COLOR: #000000">&=</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">~</span><span style="COLOR: #000000">(LVS_EDITLABELS);<br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"> </span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">璁劇疆鏂伴鏍?/span><span style="COLOR: #008000"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #000000"> SetWindowLongW(m_test.m_hWnd, GWL_STYLE, dwStyle</span><span style="COLOR: #000000">|</span><span style="COLOR: #000000">LVS_REPORT</span><span style="COLOR: #000000">|</span><span style="COLOR: #000000">LVS_NOLABELWRAP</span><span style="COLOR: #000000">|</span><span style="COLOR: #000000">LVS_SHOWSELALWAYS);<br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"> </span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">璁劇疆鎵╁睍椋庢牸</span><span style="COLOR: #008000"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #000000"> DWORD styles </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> LVS_EX_FULLROWSELECT</span><span style="COLOR: #000000">|</span><span style="COLOR: #000000">LVS_EX_GRIDLINES</span><span style="COLOR: #000000">|</span><span style="COLOR: #000000">LVS_EX_CHECKBOXES;<br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"> ListView_SetExtendedListViewStyleEx(m_test.m_hWnd, styles, styles);<br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"> m_test.SetExtendedStyle(m_test.GetExtendedStyle() </span><span style="COLOR: #000000">|</span><span style="COLOR: #000000"> LVS_EX_SUBITEMIMAGES);<br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"> HDITEM headerItem;<br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"> headerItem.mask </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> HDI_LPARAM;<br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"> CHeaderCtrl</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000"> pHeaderCtrl </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> m_test.GetHeaderCtrl( );<br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"> m_test.InsertColumn(</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">, _T(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">姝屾洸</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">), LVCFMT_LEFT, </span><span style="COLOR: #000000">150</span><span style="COLOR: #000000">);<br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"> <img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif">.<br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif">..<br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"> headerItem.lParam </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> CSortListCtrl::DATA_TYPE::STRING_TYPE;<br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"> pHeaderCtrl</span><span style="COLOR: #000000">-></span><span style="COLOR: #000000">SetItem(</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">, </span><span style="COLOR: #000000">&</span><span style="COLOR: #000000">headerItem);<br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"> <img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif">.<br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif"><img src="http://www.shnenglu.com/Images/dot.gif">..<br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"></span></div> <p><br> </p> <img src ="http://www.shnenglu.com/amazon/aggbug/68042.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/amazon/" target="_blank">榪滈</a> 2008-11-28 00:43 <a href="http://www.shnenglu.com/amazon/archive/2008/11/28/68042.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鑷畾涔塀utton鎺т歡--CBitButtonNL銆愯漿杞姐?/title><link>http://www.shnenglu.com/amazon/archive/2008/11/27/68024.html</link><dc:creator>榪滈</dc:creator><author>榪滈</author><pubDate>Thu, 27 Nov 2008 12:34:00 GMT</pubDate><guid>http://www.shnenglu.com/amazon/archive/2008/11/27/68024.html</guid><wfw:comment>http://www.shnenglu.com/amazon/comments/68024.html</wfw:comment><comments>http://www.shnenglu.com/amazon/archive/2008/11/27/68024.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.shnenglu.com/amazon/comments/commentRss/68024.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/amazon/services/trackbacks/68024.html</trackback:ping><description><![CDATA[<p>CBitButtonNL緇ф壙鑷狢Button鎺т歡綾伙紝鑳藉疄鐜伴紶鏍囩儹鏁忥紝鏄劇ず3d鏂囧瓧錛屽彲鏍規(guī)嵁鎸夐敭鐨勮仛鐒︺佹寜涓嬨佺儹鎬併佸け鏁堢瓑鎿嶄綔鏄劇ず涓嶅悓鎸夐敭浣嶅浘錛岃揪鍒板姩鎬佹晥鏋溿傚ソ涓滆タ瑕佸ソ濂戒繚瀛樼潃錛屼互澶囦笉鏃朵箣闇锝?br><br>鍦ㄥ伐紼嬩腑鍔犲叆BitButtonNL.h鍜孊itButtonNL.cpp鏂囦歡錛岀劧鍚庝究鍙嬌鐢ㄨ綾繪彁渚涚殑鍑芥暟榪涜鎿嶄綔銆備緥濡傦紝鍦ㄥ璇濇綾籆***Dlg.cpp鐨凮nInitDialog鍑芥暟涓彲浠ユ坊鍔犲涓嬩唬鐮侊細<br><br></p> <div style="BORDER-BOTTOM: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; PADDING-BOTTOM: 4px; BACKGROUND-COLOR: #eeeeee; PADDING-LEFT: 4px; WIDTH: 98%; PADDING-RIGHT: 5px; FONT-SIZE: 13px; WORD-BREAK: break-all; BORDER-TOP: #cccccc 1px solid; BORDER-RIGHT: #cccccc 1px solid; PADDING-TOP: 4px"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"><span style="COLOR: #000000">CBitButtonNL m_btnSearch;    <br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif">CString strFontName </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> _T(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">瀹嬩綋</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">);<br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">set bitmap</span><span style="COLOR: #008000"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #000000"> m_btnSearch.SetBitmaps(<br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif">                                          IDB_BITMAP_OTHER_NORMAL, <br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif">                                          IDB_BITMAP_OTHER_DOWN, <br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif">                                          IDB_BITMAP_OTHER_UP, <br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif">                                          IDB_BITMAP_OTHER_NO);     </span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">鎸夐挳鐨勫洓縐嶄綅鍥?/span><span style="COLOR: #008000"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #000000"> m_btnSearch.SetForceColor(RGB(</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">, </span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">, </span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">), RGB(</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">, </span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">, </span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">), RGB(</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">, </span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">, </span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">));     </span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">鏂囧瓧棰滆壊</span><span style="COLOR: #008000"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #000000"> m_btnSearch.SetSound(MAKEINTRESOURCE(IDR_WAVEMOVE), ::GetModuleHandle(NULL));     </span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">鑱氱劍澹伴煶</span><span style="COLOR: #008000"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #000000"> m_btnSearch.SetSound(MAKEINTRESOURCE(IDR_WAVECLICK), ::GetModuleHandle(NULL), TRUE);    </span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">鎸変笅澹伴煶</span><span style="COLOR: #008000"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #000000"> m_btnSearch.SizeToContent();             </span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">鎸夐挳鑷姩閫傚簲絎竴涓浘鐗囧ぇ灝?/span><span style="COLOR: #008000"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #000000"> m_btnSearch.SetWindowText(TEXT(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">鎼滅儲</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">));         </span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">鏀瑰彉鎸夐挳鏄劇ず鏂囧瓧</span><span style="COLOR: #008000"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #000000"> m_btnSearch.SetBtnCursor(IDC_CURSOR_HAND, FALSE);         </span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">鎸夐挳榧犳爣綾誨瀷</span><span style="COLOR: #008000"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #000000"> m_btnSearch.SetTextAlign(NL_ALIGN_CENTER, FALSE);            </span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">璁劇疆鏂囧瓧鎺掑垪鏂瑰紡<br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"> </span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">set font</span><span style="COLOR: #008000"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #000000"> m_btnSearch<br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif">  .SetDrawText(TRUE, FALSE)            </span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">鏄惁鏄劇ず鎸夐挳鏂囧瓧</span><span style="COLOR: #008000"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #000000">  .SetFont3D(FALSE, </span><span style="COLOR: #000000">3</span><span style="COLOR: #000000">, </span><span style="COLOR: #000000">2</span><span style="COLOR: #000000">, FALSE)      </span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">鏄劇ず鏂囧瓧3d鏁堟灉</span><span style="COLOR: #008000"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #000000">  .SetText3DBKColor(RGB(</span><span style="COLOR: #000000">95</span><span style="COLOR: #000000">, </span><span style="COLOR: #000000">95</span><span style="COLOR: #000000">, </span><span style="COLOR: #000000">95</span><span style="COLOR: #000000">))        </span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">3d闃村獎棰滆壊</span><span style="COLOR: #008000"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #000000">  .SetFontBold(TRUE, FALSE)       </span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">綺椾綋</span><span style="COLOR: #008000"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #000000">  .SetFontSize(</span><span style="COLOR: #000000">10</span><span style="COLOR: #000000">, FALSE)              </span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">瀛椾綋澶у皬</span><span style="COLOR: #008000"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #000000">  .SetFontName(strFontName)         </span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">瀛椾綋鍚嶇О</span><span style="COLOR: #008000"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #000000">  ;</span></div> <br>鍏朵腑錛?br>(1)IDB_BITMAP_OTHER_NORMAL銆両DB_BITMAP_OTHER_DOWN銆両DB_BITMAP_OTHER_UP銆両DB_BITMAP_OTHER_NO鍒嗗埆鏄寜閿粯璁ゃ佹寜涓嬨佺儹鎬併佸け鏁堟椂鐨勪綅鍥捐祫婧怚D錛?br>(2)IDR_WAVEMOVE鍜孖DR_WAVECLICK鏄?wav闊抽璧勬簮ID錛?br>(3)IDC_CURSOR_HAND鏄痗ursor璧勬簮ID銆?br><br><span style="COLOR: #000000">婧愪唬鐮佸涓嬶細</span><br><a href="http://www.shnenglu.com/Files/amazon/CBitButtonNL.rar">/Files/amazon/CBitButtonNL.rar</a> <img src ="http://www.shnenglu.com/amazon/aggbug/68024.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/amazon/" target="_blank">榪滈</a> 2008-11-27 20:34 <a href="http://www.shnenglu.com/amazon/archive/2008/11/27/68024.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>浣跨敤SqlConfigDataSource瀹炵幇ODBC鏁版嵁婧愰厤緗?/title><link>http://www.shnenglu.com/amazon/archive/2008/11/26/67938.html</link><dc:creator>榪滈</dc:creator><author>榪滈</author><pubDate>Wed, 26 Nov 2008 15:24:00 GMT</pubDate><guid>http://www.shnenglu.com/amazon/archive/2008/11/26/67938.html</guid><wfw:comment>http://www.shnenglu.com/amazon/comments/67938.html</wfw:comment><comments>http://www.shnenglu.com/amazon/archive/2008/11/26/67938.html#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://www.shnenglu.com/amazon/comments/commentRss/67938.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/amazon/services/trackbacks/67938.html</trackback:ping><description><![CDATA[<p> ODBC錛圤pen Database Conectivity錛夊嵆寮鏀懼紡鏁版嵁搴撲簰鑱旓紝浣滀負Windows寮鏀炬х粨鏋勭殑涓涓噸瑕侀儴鍒嗗凡緇忎負寰堝鐨刉indows紼嬪簭鍛樻墍鐔熸?zhèn)夊Q孫DBC鐨勫伐浣滀緷璧栦簬鏁版嵁搴撳埗閫犲晢鎻愪緵鐨勯┍鍔ㄧ▼搴忥紝浣跨敤ODBC API鐨勬椂鍊欙紝Windows鐨凮DBC綆$悊紼嬪簭錛屾妸鏁版嵁搴撹闂殑璇鋒眰浼犻掔粰姝g‘鐨勯┍鍔ㄧ▼搴忥紝椹卞姩紼嬪簭鍐嶄嬌鐢⊿QL璇彞鎸囩ずDBMS瀹屾垚鏁版嵁搴撹闂伐浣溿?/p> <p>涓鑸潵璇達紝瀹炵幇鏁版嵁搴撳埌ODBC椹卞姩紼嬪簭綆$悊鍣ㄧ殑娉ㄥ唽鏈変互涓嬩袱縐嶆柟娉曪細涓鏄紪紼嬫椂鎵嬪伐閰嶇疆ODBC鏁版嵁婧愶紝鍙戝竷鏃朵嬌鐢↖nstallShield絳夊畨瑁呭埗浣滆蔣浠惰嚜鍔ㄩ厤緗甇DBC鏁版嵁婧愶紱浜屾槸鑰冭檻鐢ㄧ▼搴忔浛鐢ㄦ埛瀹屾垚榪欎簺閰嶇疆宸ヤ綔錛屽疄鐜扮殑鏂規(guī)硶鏈夊嚑縐嶏紝涓縐嶅姙娉曟槸鐢ㄧ▼搴忎慨鏀筗indows娉ㄥ唽琛紝紼嬪簭鍛樺彲浠ョ敤Windows API鍑芥暟澧炴敼HKEY_LOCAL_MACHINE\Software\ODBC\ODBC.INI涓殑閿鹼紝榪欑鏂規(guī)硶姣旇緝鐑︾悙錛屽彟涓縐嶆槸鍦ㄧ▼搴忎腑浣跨敤ODBC API鐨勬柟娉曪紝紼嬪簭鍛樺彲浠ュ湪浠諱綍鏃跺欓兘鍙互鐢╒isual C++緙栧啓鐨勭▼搴忚皟鐢ㄨ繖浜汚PI鍑芥暟鏉ヨ緗甇DBC鏁版嵁婧愩?br><br>鍒涘緩ODBC鏁版嵁婧愬彲浠ヨ皟鐢╓indows緋葷粺瀛愮洰褰曚笅鐨勫姩鎬侀摼鎺ュ簱<font color=#ff0000>ODBCCP32.DLL</font>涓殑鍑芥暟SQLConfigDataSource()錛岃鍑芥暟鍙互鍔ㄦ佸湴澧炲姞銆佷慨鏀瑰拰鍒犻櫎鏁版嵁婧愩?br><br>SQLConfigDataSource()鐨勫師鍨嬪涓?<br><br><span style="COLOR: red">BOOL SQLConfigDataSource(HWND hwndParent, UINT fRequest, LPCSTR IpszDriver, LPCSTR IpszAttributes);<br></span>鍏朵腑鍥涗釜鍙傛暟鐨勭敤娉曞涓?<br>鈼忓弬鏁癶wndPwent鏄埗綰х獥鍙e彞鏌勩傚鏋滃彞鏌勪負NULL錛屽皢涓嶄細鏄劇ず涓浜涙湁鍏崇殑瀵硅瘽妗嗐傚鏋滃弬鏁?IpszAttributes鎻愪緵鐨勪俊鎭笉澶熷畬鍠勶紝鍦ㄥ垱寤鴻繃紼嬩腑灝變細鍑虹幇瀵硅瘽妗嗚姹傜敤鎴鋒彁渚涚浉搴斾俊鎭?br>鈼忓弬鏁癴Request鍙互璁劇疆涓轟笅闈㈢殑鏁板間箣涓:<br>ODBC_ADD_DSN: 澧炲姞錛夸釜鏂版暟鎹簮<br>ODBC_CONHG_DSN: 閰嶇疆錛堜慨鏀?涓涓凡緇忓瓨鍦ㄧ殑鏁版嵁婧?br>ODBC_REMOVE_DSN: 鍒犻櫎涓涓凡緇忓瓨鍦ㄧ殑鏁版嵁婧?br>ODBC_ADD_SYS_DSN: 澧炲姞涓涓柊鐨勭郴緇熸暟鎹簮<br>ODBC_CONFIG_SYS_DSN: 鏇存敼涓涓凡緇忓瓨鍦ㄧ殑緋葷粺鏁版嵁婧?br>ODBC_REMOVE_SYS_DSN: 鍒犻櫎涓涓凡緇忓瓨鍦ㄧ殑緋葷粺鏁版嵁婧?br>鈼忓弬鏁發(fā)pszDriver鏄暟鎹簱寮曟搸鍚嶇О錛屽彲浠ュ弬瑙丱DBC綆$悊鍣ㄤ腑瀵筄DBC椹卞姩紼嬪簭鐨勬弿榪般傛瘮濡傝鍔犺澆鐨勬槸Excel鏁版嵁搴擄紝閭d箞鏁版嵁搴撳紩鎿庡悕縐板氨涓篗icrosoft Excel Driver(*.xls)<br>鈼忓弬鏁發(fā)pszAttributes涓轟竴榪炰覆鐨?KeyName=value"瀛楃涓詫紝姣忎袱涓狵eyName鍊間箣闂寸敤\0""瀛楃闅斿紑(鎴栬匼0闅斿紑鍗沖彲)銆侹eyName涓昏鏄柊鏁版嵁婧愮己鐪佺殑椹卞姩紼嬪簭娉ㄥ唽璇存槑錛屽叾涓渶涓昏鐨勫叧閿瓧鏄?DSN"(鏂版暟鎹簮鐨勫悕縐?鍜?DBQ"(鏁版嵁婧愮殑鍦板潃)錛屽叾浣欏叧閿瓧鍒欐牴鎹笉鍚岀殑鏁版嵁婧愭湁涓嶅悓瑕佹眰銆傚叧浜巐pszAttributes鍙傛暟鐨勫叿浣撹緗紝璇︾粏鍙互鍙傝僕indows緋葷粺鐩綍涓嬪府鍔╂枃浠禣dbcjtn.hlp涓婚鐩綍鏍囩涓殑"ODBC API鍑芥暟鏀瑰彉|SQLConfigDatasource"鏉$洰銆?br><br>SqlConfigDataSource鐨勫簲鐢ㄦ潯浠訛細<br><br><span style="COLOR: red">浣跨敤SqlConfigDataSource鍑芥暟涔嬪墠錛屽繀欏繪妸ODBCINST.H鏂囦歡鍖呭惈鍦ㄥ伐紼嬪ご鏂囦歡涓紝灝哋DBCCP32.LIB鍔犲叆宸ョ▼錛屽悓鏃朵繚璇丱DBCCP32.DLL榪愯鏃跺浜庣郴緇熷瓙鐩綍涓嬨?br></span>鑻ヤ嬌鐢╒C6.0錛屽湪瀹夎鐩綍涓殑Lib鏂囦歡澶逛笅瀵繪壘ODBCCP32.LIB騫舵坊鍔犲埌宸ョ▼涓紱鑻ヤ嬌鐢ㄧ殑鏄疺C2005錛岃矊浼煎畨瑁呯洰褰曠殑lib鏂囦歡澶逛笅娌℃湁璇ib鏂囦歡錛屽彧鑳戒嬌鐢╒C6.0涓嬬殑......<br><br>渚嬶細</p> <div style="BORDER-BOTTOM: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; PADDING-BOTTOM: 4px; BACKGROUND-COLOR: #eeeeee; PADDING-LEFT: 4px; WIDTH: 98%; PADDING-RIGHT: 5px; FONT-SIZE: 13px; WORD-BREAK: break-all; BORDER-TOP: #cccccc 1px solid; BORDER-RIGHT: #cccccc 1px solid; PADDING-TOP: 4px"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"><span style="COLOR: #000000">SQLConfigDataSource(<br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif">                        NULL,<br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif">                        ODBC_ADD_SYS_DSN,<br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif">                        </span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Microsoft Access Driver (*.mdb)</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">,<br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif">                        </span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">DSN=TryDB\0</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif">                        </span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">DBQ=D:\\TryDB.mdb\0</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif">                        );</span></div> <p> </p> <img src ="http://www.shnenglu.com/amazon/aggbug/67938.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/amazon/" target="_blank">榪滈</a> 2008-11-26 23:24 <a href="http://www.shnenglu.com/amazon/archive/2008/11/26/67938.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <a href="http://www.shnenglu.com/">青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品</a> <div style="position:fixed;left:-9000px;top:-9000px;"><font id="pjuwb"></font><button id="pjuwb"><pre id="pjuwb"></pre></button><sub id="pjuwb"></sub><tbody id="pjuwb"><var id="pjuwb"><address id="pjuwb"></address></var></tbody><listing id="pjuwb"><label id="pjuwb"><strong id="pjuwb"></strong></label></listing><wbr id="pjuwb"><small id="pjuwb"><tbody id="pjuwb"></tbody></small></wbr><ins id="pjuwb"><xmp id="pjuwb"></xmp></ins><style id="pjuwb"></style><label id="pjuwb"><em id="pjuwb"><li id="pjuwb"></li></em></label><samp id="pjuwb"></samp><menu id="pjuwb"><input id="pjuwb"></input></menu><pre id="pjuwb"><tbody id="pjuwb"><tfoot id="pjuwb"><button id="pjuwb"></button></tfoot></tbody></pre><form id="pjuwb"></form><i id="pjuwb"><style id="pjuwb"><label id="pjuwb"><sup id="pjuwb"></sup></label></style></i><li id="pjuwb"><table id="pjuwb"><abbr id="pjuwb"></abbr></table></li><video id="pjuwb"></video><dfn id="pjuwb"></dfn><progress id="pjuwb"></progress><strong id="pjuwb"></strong><mark id="pjuwb"></mark><em id="pjuwb"></em><tbody id="pjuwb"><p id="pjuwb"><strike id="pjuwb"><acronym id="pjuwb"></acronym></strike></p></tbody><option id="pjuwb"></option><strike id="pjuwb"></strike><u id="pjuwb"></u><td id="pjuwb"><center id="pjuwb"><tr id="pjuwb"></tr></center></td><em id="pjuwb"><mark id="pjuwb"><em id="pjuwb"><tt id="pjuwb"></tt></em></mark></em><strong id="pjuwb"></strong><wbr id="pjuwb"></wbr><s id="pjuwb"></s><strong id="pjuwb"></strong><legend id="pjuwb"></legend><nav id="pjuwb"></nav><dl id="pjuwb"><th id="pjuwb"><dl id="pjuwb"></dl></th></dl><noframes id="pjuwb"><ins id="pjuwb"></ins></noframes><font id="pjuwb"></font><strike id="pjuwb"><i id="pjuwb"><style id="pjuwb"><label id="pjuwb"></label></style></i></strike><output id="pjuwb"></output><thead id="pjuwb"><pre id="pjuwb"></pre></thead><source id="pjuwb"></source><menuitem id="pjuwb"><wbr id="pjuwb"></wbr></menuitem><pre id="pjuwb"><span id="pjuwb"><pre id="pjuwb"><big id="pjuwb"></big></pre></span></pre><cite id="pjuwb"><fieldset id="pjuwb"><s id="pjuwb"><rt id="pjuwb"></rt></s></fieldset></cite><big id="pjuwb"><progress id="pjuwb"><big id="pjuwb"></big></progress></big><samp id="pjuwb"><delect id="pjuwb"></delect></samp><dl id="pjuwb"></dl><strike id="pjuwb"><nav id="pjuwb"><dl id="pjuwb"><strong id="pjuwb"></strong></dl></nav></strike><tbody id="pjuwb"><b id="pjuwb"><optgroup id="pjuwb"><rp id="pjuwb"></rp></optgroup></b></tbody><em id="pjuwb"></em><xmp id="pjuwb"><blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote></xmp> <i id="pjuwb"><abbr id="pjuwb"><i id="pjuwb"><abbr id="pjuwb"></abbr></i></abbr></i><center id="pjuwb"><acronym id="pjuwb"><center id="pjuwb"></center></acronym></center><pre id="pjuwb"></pre><ul id="pjuwb"><thead id="pjuwb"></thead></ul><blockquote id="pjuwb"><pre id="pjuwb"><sup id="pjuwb"></sup></pre></blockquote><acronym id="pjuwb"></acronym><big id="pjuwb"><s id="pjuwb"></s></big><th id="pjuwb"></th><th id="pjuwb"></th><tbody id="pjuwb"></tbody><thead id="pjuwb"><strike id="pjuwb"></strike></thead><th id="pjuwb"><dl id="pjuwb"><wbr id="pjuwb"></wbr></dl></th><dl id="pjuwb"><strong id="pjuwb"></strong></dl><abbr id="pjuwb"><noframes id="pjuwb"><noscript id="pjuwb"></noscript></noframes></abbr><td id="pjuwb"><ol id="pjuwb"></ol></td><li id="pjuwb"><noscript id="pjuwb"><abbr id="pjuwb"></abbr></noscript></li><small id="pjuwb"><bdo id="pjuwb"><nav id="pjuwb"></nav></bdo></small><style id="pjuwb"></style><optgroup id="pjuwb"><table id="pjuwb"></table></optgroup><center id="pjuwb"><tr id="pjuwb"><dfn id="pjuwb"></dfn></tr></center><th id="pjuwb"></th><u id="pjuwb"></u><tfoot id="pjuwb"><legend id="pjuwb"><i id="pjuwb"></i></legend></tfoot><mark id="pjuwb"></mark><meter id="pjuwb"></meter><nav id="pjuwb"></nav><acronym id="pjuwb"><pre id="pjuwb"><acronym id="pjuwb"><ul id="pjuwb"></ul></acronym></pre></acronym><acronym id="pjuwb"><pre id="pjuwb"><acronym id="pjuwb"><ul id="pjuwb"></ul></acronym></pre></acronym><nobr id="pjuwb"></nobr><sub id="pjuwb"><th id="pjuwb"><menuitem id="pjuwb"><wbr id="pjuwb"></wbr></menuitem></th></sub><thead id="pjuwb"><sub id="pjuwb"></sub></thead><ul id="pjuwb"><address id="pjuwb"><menuitem id="pjuwb"><meter id="pjuwb"></meter></menuitem></address></ul><dfn id="pjuwb"></dfn><pre id="pjuwb"></pre><input id="pjuwb"><cite id="pjuwb"><fieldset id="pjuwb"></fieldset></cite></input><u id="pjuwb"><form id="pjuwb"><u id="pjuwb"></u></form></u><kbd id="pjuwb"><em id="pjuwb"><mark id="pjuwb"></mark></em></kbd><tr id="pjuwb"></tr><del id="pjuwb"><form id="pjuwb"><address id="pjuwb"></address></form></del><tfoot id="pjuwb"><legend id="pjuwb"><ol id="pjuwb"><dl id="pjuwb"></dl></ol></legend></tfoot><menu id="pjuwb"><nobr id="pjuwb"><th id="pjuwb"><nobr id="pjuwb"></nobr></th></nobr></menu><fieldset id="pjuwb"></fieldset><pre id="pjuwb"><blockquote id="pjuwb"><samp id="pjuwb"></samp></blockquote></pre><xmp id="pjuwb"><sup id="pjuwb"><pre id="pjuwb"></pre></sup></xmp><span id="pjuwb"><progress id="pjuwb"></progress></span><font id="pjuwb"></font><var id="pjuwb"><abbr id="pjuwb"></abbr></var><strong id="pjuwb"><label id="pjuwb"><i id="pjuwb"><legend id="pjuwb"></legend></i></label></strong><tr id="pjuwb"><em id="pjuwb"><em id="pjuwb"><output id="pjuwb"></output></em></em></tr><thead id="pjuwb"><strike id="pjuwb"></strike></thead> <acronym id="pjuwb"></acronym><i id="pjuwb"></i><tt id="pjuwb"></tt><rt id="pjuwb"><source id="pjuwb"><rt id="pjuwb"></rt></source></rt><strike id="pjuwb"><acronym id="pjuwb"></acronym></strike><del id="pjuwb"></del><font id="pjuwb"><output id="pjuwb"><ins id="pjuwb"><output id="pjuwb"></output></ins></output></font><kbd id="pjuwb"><tr id="pjuwb"><kbd id="pjuwb"></kbd></tr></kbd><pre id="pjuwb"><sup id="pjuwb"><delect id="pjuwb"><samp id="pjuwb"></samp></delect></sup></pre><samp id="pjuwb"></samp><track id="pjuwb"></track><tr id="pjuwb"></tr><center id="pjuwb"></center><fieldset id="pjuwb"></fieldset><i id="pjuwb"></i><td id="pjuwb"></td><rt id="pjuwb"></rt><object id="pjuwb"></object><pre id="pjuwb"><progress id="pjuwb"><sub id="pjuwb"><thead id="pjuwb"></thead></sub></progress></pre><kbd id="pjuwb"><tr id="pjuwb"><option id="pjuwb"></option></tr></kbd><output id="pjuwb"><ins id="pjuwb"></ins></output><ol id="pjuwb"></ol><source id="pjuwb"></source><strong id="pjuwb"></strong><ruby id="pjuwb"></ruby><sub id="pjuwb"><meter id="pjuwb"><menuitem id="pjuwb"><meter id="pjuwb"></meter></menuitem></meter></sub><pre id="pjuwb"></pre><center id="pjuwb"></center><tr id="pjuwb"><tbody id="pjuwb"><xmp id="pjuwb"><dd id="pjuwb"></dd></xmp></tbody></tr><video id="pjuwb"></video><pre id="pjuwb"></pre><form id="pjuwb"><optgroup id="pjuwb"></optgroup></form><samp id="pjuwb"></samp><kbd id="pjuwb"></kbd><strong id="pjuwb"><option id="pjuwb"></option></strong><object id="pjuwb"></object><abbr id="pjuwb"><noframes id="pjuwb"><abbr id="pjuwb"></abbr></noframes></abbr><ul id="pjuwb"><del id="pjuwb"><button id="pjuwb"><pre id="pjuwb"></pre></button></del></ul><abbr id="pjuwb"></abbr><strong id="pjuwb"><code id="pjuwb"><strong id="pjuwb"></strong></code></strong><option id="pjuwb"></option><optgroup id="pjuwb"><bdo id="pjuwb"><code id="pjuwb"></code></bdo></optgroup><mark id="pjuwb"><em id="pjuwb"><font id="pjuwb"></font></em></mark><acronym id="pjuwb"><code id="pjuwb"></code></acronym><dl id="pjuwb"></dl><em id="pjuwb"></em><object id="pjuwb"><input id="pjuwb"><object id="pjuwb"></object></input></object><output id="pjuwb"><dd id="pjuwb"></dd></output><option id="pjuwb"><button id="pjuwb"><option id="pjuwb"></option></button></option><small id="pjuwb"></small></div> <a href="http://22abb.com" target="_blank">99视频精品</a>| <a href="http://02326a.com" target="_blank">亚洲欧美日韩一区二区三区在线观看 </a>| <a href="http://pear9.com" target="_blank">欧美成年网站</a>| <a href="http://av2027.com" target="_blank">久久久久综合一区二区三区</a>| <a href="http://www-893333.com" target="_blank">国产午夜精品视频免费不卡69堂</a>| <a href="http://xuduoshu.com" target="_blank">欧美一区二区黄色</a>| <a href="http://xiaocao-av.com" target="_blank">欧美一区亚洲二区</a>| <a href="http://fc3332.com" target="_blank">一区二区在线观看视频</a>| <a href="http://hg98688.com" target="_blank">免费久久久一本精品久久区</a>| <a href="http://feiniao168.com" target="_blank">美女网站在线免费欧美精品</a>| <a href="http://guanghezixun.com" target="_blank">亚洲人成网站999久久久综合</a>| <a href="http://wtoykd.com" target="_blank">亚洲激情专区</a>| <a href="http://wltaste.com" target="_blank">欧美三级精品</a>| <a href="http://www492002.com" target="_blank">久久久精品国产免费观看同学</a>| <a href="http://486be.com" target="_blank">久久久久久电影</a>| <a href="http://hjk56.com" target="_blank">亚洲看片网站</a>| <a href="http://arielteam.com" target="_blank">亚洲欧美日韩精品久久</a>| <a href="http://www99mmnn.com" target="_blank">激情综合久久</a>| <a href="http://by4425.com" target="_blank">亚洲蜜桃精久久久久久久</a>| <a href="http://yidaiban.com" target="_blank">国产精品丝袜久久久久久app</a>| <a href="http://wwwmm7777.com" target="_blank">久久国产99</a>| <a href="http://www-5888c.com" target="_blank">欧美成人高清</a>| <a href="http://4488269.com" target="_blank">欧美一区二区观看视频</a>| <a href="http://1194123.com" target="_blank">久久综合久久综合久久综合</a>| <a href="http://xvideoav99.com" target="_blank">一区二区三欧美</a>| <a href="http://x1317.com" target="_blank">性欧美大战久久久久久久久</a>| <a href="http://x2b2.com" target="_blank">亚洲免费观看高清在线观看</a>| <a href="http://xzvaz.com" target="_blank">亚洲尤物影院</a>| <a href="http://phdy999.com" target="_blank">亚洲美女一区</a>| <a href="http://zhipiao998.com" target="_blank">久久精品国产在热久久</a>| <a href="http://xxdd51.com" target="_blank">亚洲午夜在线观看视频在线</a>| <a href="http://123yongjiu.com" target="_blank">欧美一区免费</a>| <a href="http://vvvv81.com" target="_blank">一区二区三区国产</a>| <a href="http://yy306.com" target="_blank">久久九九精品</a>| <a href="http://02326a.com" target="_blank">亚洲欧美日韩在线</a>| <a href="http://hbdxzx.com" target="_blank">女女同性精品视频</a>| <a href="http://188267.com" target="_blank">久久久久免费视频</a>| <a href="http://avtb2068.com" target="_blank">国产精品成人av性教育</a>| <a href="http://1069024.com" target="_blank">免费日韩视频</a>| <a href="http://080973.com" target="_blank">国产综合色产在线精品</a>| <a href="http://f9494.com" target="_blank">日韩一级精品</a>| <a href="http://ss2ssc.com" target="_blank">亚洲日韩欧美视频</a>| <a href="http://choaoxing.com" target="_blank">久久本道综合色狠狠五月</a>| <a href="http://www515678.com" target="_blank">亚洲一二区在线</a>| <a href="http://yytaotu.com" target="_blank">欧美freesex交免费视频</a>| <a href="http://wwwmm131.com" target="_blank">久久国产一二区</a>| <a href="http://xss521.com" target="_blank">国产精品黄视频</a>| <a href="http://cancerrxa.com" target="_blank">亚洲精品国产日韩</a>| <a href="http://www-9694.com" target="_blank">亚洲激情欧美</a>| <a href="http://www-438686.com" target="_blank">久久视频在线视频</a>| <a href="http://cechi8.com" target="_blank">久久深夜福利免费观看</a>| <a href="http://yp77741.com" target="_blank">国产精品每日更新</a>| <a href="http://17kfe.com" target="_blank">一区二区三区日韩</a>| <a href="http://tuokuba520.com" target="_blank">日韩视频在线观看</a>| <a href="http://www48929.com" target="_blank">欧美大片免费观看</a>| <a href="http://www-772773.com" target="_blank">欧美成人免费网站</a>| <a href="http://www4466k.com" target="_blank">伊人伊人伊人久久</a>| <a href="http://17vx.com" target="_blank">久久久精品动漫</a>| <a href="http://www224558.com" target="_blank">久久久久一区二区三区四区</a>| <a href="http://toomicsvip.com" target="_blank">国产精品色一区二区三区</a>| <a href="http://3dmh133.com" target="_blank">日韩一级免费</a>| <a href="http://1355456.com" target="_blank">亚洲午夜91</a>| <a href="http://91chaopron.com" target="_blank">欧美涩涩视频</a>| <a href="http://lao64.com" target="_blank">一本久久青青</a>| <a href="http://ykk7.com" target="_blank">亚洲欧美大片</a>| <a href="http://carboarm.com" target="_blank">国产精品美女久久久久久2018</a>| <a href="http://2996611.com" target="_blank">亚洲乱码国产乱码精品精98午夜 </a>| <a href="http://chinagreetown.com" target="_blank">欧美国产日本韩</a>| <a href="http://wewe520.com" target="_blank">噜噜噜噜噜久久久久久91 </a>| <a href="http://guanghezixun.com" target="_blank">欧美日韩ab</a>| <a href="http://lovehefei.com" target="_blank">亚洲黄色三级</a>| <a href="http://yjdm139.com" target="_blank">一本色道久久综合</a>| <a href="http://988tz.com" target="_blank">欧美日韩一区在线播放</a>| <a href="http://cz-sensor.com" target="_blank">99亚洲一区二区</a>| <a href="http://bixiuge.com" target="_blank">亚洲综合电影</a>| <a href="http://changjiucf.com" target="_blank">国产啪精品视频</a>| <a href="http://739822.com" target="_blank">欧美一级片在线播放</a>| <a href="http://www90aaa.com" target="_blank">久久精品一区二区三区不卡</a>| <a href="http://110673.com" target="_blank">国产亚洲制服色</a>| <a href="http://4c8x.com" target="_blank">久久亚洲高清</a>| <a href="http://vvv3939.com" target="_blank">亚洲啪啪91</a>| <a href="http://ktokt.com" target="_blank">亚洲午夜在线观看</a>| <a href="http://czhqwy.com" target="_blank">国产欧美日韩一区</a>| <a href="http://vvvv81.com" target="_blank">久久久久国产精品一区三寸</a>| <a href="http://bocfdj.com" target="_blank">欧美激情aⅴ一区二区三区</a>| <a href="http://44779c.com" target="_blank">亚洲欧洲日产国产综合网</a>| <a href="http://9885888.com" target="_blank">欧美欧美午夜aⅴ在线观看</a>| <a href="http://5b6c.com" target="_blank">亚洲视频一区</a>| <a href="http://395493.com" target="_blank">久久午夜羞羞影院免费观看</a>| <a href="http://wallypanel.com" target="_blank">亚洲国产精品一区在线观看不卡</a>| <a href="http://huangsedy.com" target="_blank">欧美成人激情视频免费观看</a>| <a href="http://737sihu.com" target="_blank">亚洲美女黄网</a>| <a href="http://lzklpc.com" target="_blank">久久久精品五月天</a>| <a href="http://www47777.com" target="_blank">亚洲福利视频一区二区</a>| <a href="http://cnlbogs.com" target="_blank">欧美日韩激情小视频</a>| <a href="http://phitris.com" target="_blank">亚洲欧美日本在线</a>| <a href="http://337795.com" target="_blank">亚洲高清三级视频</a>| <a href="http://6aaee.com" target="_blank">午夜视黄欧洲亚洲</a>| <a href="http://hengbang50.com" target="_blank">在线欧美一区</a>| <a href="http://621768.com" target="_blank">国产精品男女猛烈高潮激情</a>| <a href="http://xing69.com" target="_blank">久久久www成人免费精品</a>| <a href="http://hhh699.com" target="_blank">亚洲欧洲日本mm</a>| <a href="http://899399com.com" target="_blank">久久gogo国模啪啪人体图</a>| <a href="http://97sgg.com" target="_blank">亚洲国产精品久久久久秋霞影院</a>| <a href="http://sese750.com" target="_blank">欧美色综合天天久久综合精品</a>| <a href="http://zgztby.com" target="_blank">欧美在线91</a>| <a href="http://tjpzgs.com" target="_blank">9国产精品视频</a>| <a href="http://1392266.com" target="_blank">免费亚洲电影在线观看</a>| <a href="http://789583.com" target="_blank">亚洲一区视频</a>| <a href="http://123273.com" target="_blank">亚洲精品1区2区</a>| <a href="http://nbpacking.com" target="_blank">国产日韩欧美亚洲一区</a>| <a href="http://www-699603.com" target="_blank">欧美成人午夜影院</a>| <a href="http://798814.com" target="_blank">欧美一二三区在线观看</a>| <a href="http://9uu91.com" target="_blank">亚洲精品欧美一区二区三区</a>| <a href="http://221080.com" target="_blank">久久久免费观看视频</a>| <a href="http://sihu1515hh.com" target="_blank">亚洲无吗在线</a>| <a href="http://7sscc.com" target="_blank">亚洲精品社区</a>| <a href="http://xindefalv.com" target="_blank">在线成人中文字幕</a>| <a href="http://gztgo.com" target="_blank">国产精品日韩精品</a>| <a href="http://6133c.com" target="_blank">欧美日韩亚洲精品内裤</a>| <a href="http://fxsdcj.com" target="_blank">久久久综合网站</a>| <a href="http://www-919198.com" target="_blank">亚洲男女自偷自拍</a>| <a href="http://zjjieda.com" target="_blank">日韩视频永久免费</a>| <a href="http://www47755.com" target="_blank">亚洲国产1区</a>| <a href="http://278538.com" target="_blank">女生裸体视频一区二区三区 </a>| <a href="http://lutube666.com" target="_blank">国模吧视频一区</a>| <a href="http://xianconnector.com" target="_blank">欧美日韩国产bt</a>| <a href="http://2ejj.com" target="_blank">免费人成网站在线观看欧美高清</a>| <a href="http://830085.com" target="_blank">香蕉久久国产</a>| <a href="http://kpd034.com" target="_blank">亚洲天堂第二页</a>| <a href="http://0773ye.com" target="_blank">日韩网站在线观看</a>| <a href="http://aijiaoji.com" target="_blank">欧美华人在线视频</a>| <a href="http://zhiuh.com" target="_blank">免费亚洲视频</a>| <a href="http://aabbcc11.com" target="_blank">六月婷婷一区</a>| <a href="http://ccc36-com.com" target="_blank">榴莲视频成人在线观看</a>| <a href="http://486be.com" target="_blank">久久久久久国产精品mv</a>| <a href="http://777888789.com" target="_blank">欧美一区二区三区视频在线观看</a>| <a href="http://278538.com" target="_blank">99热这里只有精品8</a>| <a href="http://jiajianpei.com" target="_blank">亚洲人成网站在线观看播放</a>| <a href="http://2589999.com" target="_blank">在线看无码的免费网站</a>| <a href="http://www92y.com" target="_blank">在线欧美视频</a>| <a href="http://www-57549.com" target="_blank">亚洲国产精品v</a>| <a href="http://337791.com" target="_blank">在线成人中文字幕</a>| <a href="http://tavbao.com" target="_blank">亚洲国产精品成人综合</a>| <a href="http://www-787333.com" target="_blank">在线激情影院一区</a>| <a href="http://www280999.com" target="_blank">…久久精品99久久香蕉国产</a>| <a href="http://aberyco.com" target="_blank">影音先锋久久资源网</a>| <a href="http://016889.com" target="_blank">●精品国产综合乱码久久久久</a>| <a href="http://598327.com" target="_blank">激情久久影院</a>| <a href="http://8eeeccc.com" target="_blank">亚洲国产精品热久久</a>| <a href="http://www92994.com" target="_blank">亚洲高清在线观看一区</a>| <a href="http://65kf.com" target="_blank">亚洲理论在线</a>| <a href="http://555346.com" target="_blank">亚洲一区日本</a>| <a href="http://cczm4.com" target="_blank">欧美中文字幕不卡</a>| <a href="http://hg98688.com" target="_blank">久久久久久亚洲精品中文字幕</a>| <a href="http://sh738.com" target="_blank">久久国产精品久久久</a>| <a href="http://www11111111.com" target="_blank">久久精品中文</a>| <a href="http://www979vv.com" target="_blank">欧美国产精品人人做人人爱</a>| <a href="http://x946.com" target="_blank">欧美激情中文不卡</a>| <a href="http://jinlijun.com" target="_blank">亚洲日本一区二区三区</a>| <a href="http://833077.com" target="_blank">一区二区冒白浆视频</a>| <a href="http://www-438686.com" target="_blank">亚洲永久在线</a>| <a href="http://my6557.com" target="_blank">久久久噜噜噜久久久</a>| <a href="http://118017.com" target="_blank">欧美h视频在线</a>| <a href="http://www278999.com" target="_blank">国产精品99免费看</a>| <a href="http://ximaimicro.com" target="_blank">国产日韩欧美三级</a>| <a href="http://o74sokyoss.com" target="_blank">尤物在线精品</a>| <a href="http://www-06654.com" target="_blank">中文日韩欧美</a>| <a href="http://www-78733.com" target="_blank">香蕉成人啪国产精品视频综合网</a>| <a href="http://seqing9.com" target="_blank">久久国产手机看片</a>| <a href="http://8x29ft.com" target="_blank">欧美韩日亚洲</a>| <a href="http://sp106.com" target="_blank">亚洲女ⅴideoshd黑人</a>| <a href="http://576193.com" target="_blank">久久精品理论片</a>| <a href="http://zhongqingshiye.com" target="_blank">欧美成人一区二区三区</a>| <a href="http://94wr.com" target="_blank">国产精品国产三级国产普通话三级 </a>| <a href="http://www-188445.com" target="_blank">国产乱码精品1区2区3区</a>| <a href="http://743627.com" target="_blank">黄色成人片子</a>| <a href="http://414670.com" target="_blank">在线亚洲伦理</a>| <a href="http://000695.com" target="_blank">久久婷婷国产综合尤物精品</a>| <a href="http://5138555.com" target="_blank">亚洲欧洲精品成人久久奇米网</a>| <a href="http://wnboke.com" target="_blank">亚洲网友自拍</a>| <a href="http://978769.com" target="_blank">免费高清在线一区</a>| <a href="http://aaa211.com" target="_blank">国产精品久久久久久久久久久久 </a>| <a href="http://3644688.com" target="_blank">欧美成人精品一区二区三区</a>| <a href="http://48488a.com" target="_blank">欧美日韩一区免费</a>| <a href="http://www-tk3333.com" target="_blank">国产真实乱子伦精品视频</a>| <a href="http://0070571.com" target="_blank">亚洲激情成人网</a>| <a href="http://666cmc.com" target="_blank">欧美一区午夜精品</a>| <a href="http://1235656.com" target="_blank">亚洲国产精品嫩草影院</a>| <a href="http://xingba999.com" target="_blank">午夜一区在线</a>| <a href="http://pabjzz.com" target="_blank">欧美午夜免费影院</a>| <a href="http://ximaimicro.com" target="_blank">91久久精品一区二区三区</a>| <a href="http://7755mm.com" target="_blank">亚洲欧美激情在线视频</a>| <a href="http://playav111.com" target="_blank">欧美电影在线</a>| <a href="http://winkwink333.com" target="_blank">亚洲欧美在线免费</a>| <a href="http://124909.com" target="_blank">欧美日韩三级在线</a>| <a href="http://kk66mm.com" target="_blank">亚洲激情在线播放</a>| <a href="http://by5130.com" target="_blank">久久亚洲私人国产精品va</a>| <a href="http://wanyoulipin.com" target="_blank">日韩一级免费</a>| <a href="http://lzklpc.com" target="_blank">欧美极品aⅴ影院</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>