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

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鐨勭嚎紼嬪湪緇撴潫鏃舵病鏈夐噴鏀炬牳蹇?jī)瀵硅薄浼?xì)寮曞彂姝よ繑鍥炲箋?br>WAIT_OBJECT_0錛氭牳蹇?jī)瀵硅薄宸茶婵媧?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涓畾涔夛細(xì)
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://m.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://m.shnenglu.com/amazon/archive/2008/11/29/68159.html</guid><wfw:comment>http://m.shnenglu.com/amazon/comments/68159.html</wfw:comment><comments>http://m.shnenglu.com/amazon/archive/2008/11/29/68159.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://m.shnenglu.com/amazon/comments/commentRss/68159.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/amazon/services/trackbacks/68159.html</trackback:ping><description><![CDATA[ListCtrl鍦ㄥ伐浣滀腑錛屽父甯哥敤鍒幫紝涔熷父甯哥湅鍒板ぇ瀹跺彂甯栭棶鎬庝箞鐢ㄨ繖涓帶浠訛紝鏁呮葷粨浜?jiǎn)涓涓嬭嚜宸辯殑浣跨敤緇忛獙錛屼互渚涘弬鑰冧嬌鐢ㄣ?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>榪欎篃鏄竴涓緢閲嶈鐨勫睘鎬э紝榪欐牱鐨勮瘽錛屽彲浠ュ湪鍒楄〃涓姞I(yíng)CON錛岃寰梬indows鐨勪換鍔$鐞嗗櫒鍚楋紝浣犳兂鍋氬緱閭f牱錛岃繖涓睘鎬т篃瑕佸姞鍝︼紝榪欎釜鎴戜互鍚庝細(xì)璁茬殑锝?br><br><strong>鏉℃浜岋細(xì)鍔犲叆鍒楀ご<br><br></strong>榪欐槸涓涓瘮杈冨疄璐ㄧ殑涓滆タ錛岀粰鍒楄〃妗嗗垎鍒楋紝鐒跺悗鍔犱笂鍒楀ご錛屼唬鐮佽璇濓紝鏉ヤ簡(jiǎn)<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鍒楋紵錛熼殢渚夸綘錛屼緷鏍風(fēng)敾钁姦锝烇綖<br>lvcolumn.mask 涓偅涓猰ask鍙互鏈夊悇縐嶅睘鎬э紝鍏蜂綋鍘葷湅msdn鍚э紝<br><br><strong>鏉℃涓夛細(xì)鎶婅褰曪紝鎻掑叆鍒楄〃妗嗕腑<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>鏉℃鍥涳細(xì)緇欏垪琛ㄤ腑鎻掑叆鍥炬爣<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>鏉℃浜旓細(xì)鎻掑叆璁板綍鏃朵嬌鐢ㄩ澶栫殑淇℃伅錛宭Param 鐨勪嬌鐢?br><br></strong>鏈夋椂鍊欙紝浣犳兂瀵逛簬鏌愪竴琛岋紝鍔犲叆涓浜涢澶栫殑淇℃伅錛岄偅涔堝氨鍙互浣跨敤榪欎釜lParam<br>msdn鏄繖涔堟弿榪扮殑Specifies the 32-bit value of the item<br>鎴戜笂嬈℃槸涓轟簡(jiǎn)鍦ㄦ煇涓琛屽姞鍏ヤ竴涓俊鎭紝紿楀彛鍙ユ焺錛岀劧鍚庢槸榪欎箞鍔犵殑錛?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浜?jiǎn)锛屾湁浜?jiǎn)index錛岃幏鍙栭偅琛岀殑淇℃伅榪橀毦鍚?br>鎳掓眽璇達(dá)細(xì)闅撅紝鍥犱負(fù)浣犺繕娌¤錛屾檿錛岄偅灝辯戶緇<br><br><strong>鏉℃涓冿細(xì)銆鏍規(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,絎竴鍒楃殑淇℃伅鍙栧嚭鏉ヤ簡(jiǎn)錛屽寘鎷垰鎵嶆垜浠姞鍏ョ殑ICON,鍜岄偅涓澶栦俊鎭紙紿楀彛鍙ユ焺錛夛紝姣斿鎴戣鑾峰彇紿楀彛鍙ユ焺錛屽氨鍙互hwnd = (HWND)lvitem.lParam;<br>mask 鐢ㄦ潵鎸囨槑浣犳兂鑾峰彇閭d簺淇℃伅<br>鍏蜂綋鍙互鏌sdn涓璍VITEM Structure鐨勫畾涔夊拰CListCtrl::GetItem<br><br><strong>鏉℃鍏細(xì)鐢ㄧ▼搴忛変腑鏌愪竴琛岋紝浣夸箣閫変腑<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é)锛?xì)鑾峰彇褰撳墠鎵鏈夐変腑鐨勮錛堝閫夛級(jí)<br><br></strong>榪欎釜錛屼亢灝辨瘮杈冩噿浜?jiǎn)锛屾妱msdn鐨勪唬鐮佸惂錛屽弽姝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>鏉℃鍗侊細(xì)鍒犻櫎鏉℃涔?jié)涓変腑鐨勮<br><br></strong>榪欎釜鐩稿鍓嶉潰涔?jié)涓潯娆炬槸姣旇緝楹荤儲(chǔ)鐨勫Q屽洜涓哄鏋滀綘瑕佸垹闄ゅ琛岀殑璇濓紝寰寰瑕佸嚭閿欍傛瘮濡傦紝鎴戠幇鍦ㄨ鍒犻櫎絎?琛屽拰絎?琛岋紙鍒楄〃鐨勮搴忓垪鏄粠0寮濮嬬殑錛?br>閭d箞濂藉晩銆傛垜鏉ュ垹浜?br><br>m_listctrl.DeleteItem(0)<br>m_listctrl.DeleteItem(1)<br><br>鎭枩浣狅紝閿欎簡(jiǎn)錛屾垜濂藉紑蹇?jī)鍟娿錛氾級(jí)<br>鍥犱負(fù)浣犲垹闄ょ0琛屼互鍚庯紝涓嬮潰鐨勮浼?xì)寰涓婄Щ錛岄偅涔堝師鏉ョ殑絎?琛屽氨鍙樻垚浜?jiǎn)绗?琛岋紝閭d箞浣犲啀 m_listctrl.DeleteItem(1)錛岄偅涔堝垹闄ょ殑鏄師鏉ョ殑絎紥琛岋紝鐪熼夯鐑?chǔ)锛?br>鎵浠ワ紝鍙湁浠庝笅寰涓婂垹錛屾墠鏄畨鍏ㄧ殑錛屽厛鍒犵殑錛屼笉浼?xì)濯?jiǎng)鍝嶅悗闈㈢殑鎿嶄綔錛?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寰蔣浜?jiǎn)锛屼给櫃揪c蟲湪鏈塆etLastselectedItemPosition 鍜孏etPrevSelectedItem錛屽鍐欎竴瀵規(guī)垚鍛樺嚱鏁頒細(xì)姝誨晩銆:(<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>      //濂戒簡(jiǎn)錛岃繖涓猲SelItem 灝辨槸鎴戜滑瑕佺殑DD<br>   }<br>}<br><br>GetNextSelectedItem榪欎釜鍑芥暟錛岀湅msdn鐨勭敤娉曪紝鍏跺疄鏄繑鍥炵涓涓殑index錛岀劧鍚庤蛋鍒頒笅涓涓変腑鐨勮鍘伙紝鎵浠ヨ繖涔堝仛涔熸槸瀹夊叏鐨勶紝鍦ㄥ疄闄呬腑錛屼亢涔熸槸榪欎箞鍋氱殑錛屾祴璇曚篃閫氳繃錛屾病闂鐨?br>褰撶劧錛岃繕鏈変釜鍔炴硶錛屽厛閫氳繃GetFirstSelectedItemPosition鍜孏etNextSelectedItem鏉ヨ幏鍙栨墍鏈夌殑閫変腑琛岀殑index錛岀劧鍚庢妸榪欎簺index鏀懼埌涓涓暟緇勯噷錛岀劧鍚庡啀浠庝笅寰涓婂垹<br>鍞夌湡楹葷儲(chǔ)鍟婏紝榪樿涓嶅畾鏁扮粍錛屼笉璇寸敤new鍦ㄥ爢涓婂紑鍚э紝閭d箞涓涓獀ector鎬繪槸瑕佺殑鍚э紝楹葷儲(chǔ)鍟婏紝鎵浠ユ垜鏆傛椂鏄敤涓婅堪鐨勫姙娉曟潵鍒犻櫎錛屼篃渚涘ぇ瀹跺弬鑰冿紝甯屾湜鑳芥壘鍒版洿濂界殑鍔炴硶銆?br><br>濂戒簡(jiǎn)錛屼粖澶╁氨鏆傛椂鍏堟暣鐞嗕笂榪板崄鐐廣俵istctrl鍏朵粬楂樼駭鐨勭敤娉曪紝緗戜笂璧勬枡涔熷緢澶氾紝鎴戜篃鏆傛椂涓嶆葷粨錛屼互鍚庢湁鏈轟細(xì)鍐嶈鍚с?br></p> <img src ="http://m.shnenglu.com/amazon/aggbug/68159.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/amazon/" target="_blank">榪滈</a> 2008-11-29 14:27 <a href="http://m.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://m.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://m.shnenglu.com/amazon/archive/2008/11/29/68155.html</guid><wfw:comment>http://m.shnenglu.com/amazon/comments/68155.html</wfw:comment><comments>http://m.shnenglu.com/amazon/archive/2008/11/29/68155.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/amazon/comments/commentRss/68155.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/amazon/services/trackbacks/68155.html</trackback:ping><description><![CDATA[<p>濡備綍涓ф帶鍒跺璇濇涓婄殑鎺т歡鏄劇ず錛熸秹鍙?qiáng)鍒皹q欐柟闈㈢殑鐭ヨ瘑瀹炲湪澶錛岄檺浜庝釜浜鴻兘鍔涳紝鎴戜篃涓嶈兘鍦ㄨ繖閲岄潪甯稿叏闈㈢殑浠嬬粛浜?jiǎn)锛屾湰鏂囦富瑕佷粙缁嶆棩甯告渶甯哥敤鐨勫嚑涓姛鑳斤細(xì)鎺т歡鑳屾櫙鑹茶瀹氥佹帶浠跺瓧浣撴樉紺恒佹帶浠跺瓧鑹叉樉紺恒佹帶浠剁殑浜甛鐏版樉紺恒傝岃繖閲岀殑鎺т歡錛屼篃涓昏灝變粙緇嶉潤(rùn)鎬佹帶浠躲佹枃鏈鎺т歡銆乧heck鎺т歡錛屾寜閽帶浠剁瓑銆?br><br>浼楁墍鍛ㄧ煡錛屽湪VC涓仛鐣岄潰鍑犱箮鏄墍鏈夊伐鍏蜂腑鏈鑹伴毦鐨勪竴縐嶏紙褰撶劧錛屽鏋滄槸楠ㄧ伆綰х殑楂樻墜錛岄偅灝卞彉鎴?#8220;VC鏄仛鐣岄潰鏈涓板瘜澶氬僵鐨勫紑鍙戝伐鍏?#8221;浜?jiǎn)锛屾垜鑲畾绂婚偅澧冪晫杩樻湁濂藉嚑涓崄涓囧叓鍗冮噷锛佸Q夈傝孷C涓殑鐣岄潰錛屽ぇ澶氱敱瀵硅瘽妗嗙晫闈㈢粍鎴愶紝鎵浠ュ寘鎷湰浜哄湪鍐咃紝鐩鎬俊寰堝浜洪兘鏈夋劅鎱紝瑕佹槸VC鐨勫璇濇鑳藉闅忓績(jī)鎵嬈茬殑瀹氬埗璇ュ濂藉晩錛燂紵鍦ㄥ埆鐨勫湴鏂逛篃鐪嬭繃涓浜涙崲鑲よ蔣浠訛紝鎬繪劅瑙変笉濂戒嬌錛屽綋鐒?dòng)灱岀湅鍒伴噾灞便佺憺鏄熼偅縐嶇晫闈㈠氨寰堝悜寰浜?jiǎn)锛屽彲鎯滄槸鍙彲YY鎯充竴涓嬶紝灝辨垜涓漢鑰岃█錛屾槸涓嶅お鍙兘涓涓漢瀹炵幇鐨勩?br><br>璦褰掓浼狅紝灝辨垜涓漢鐨勪嬌鐢ㄥ拰瀹炶返鑰岃█錛屽湪瀵硅瘽妗嗕腑錛屼笉鍐欐淳鐢熺被鐨勬儏鍐典笅錛屽彲浠ョ畝鍗曞疄鐜頒竴浜涙帶浠剁殑鑳屾櫙鑹層佸瓧浣撴樉紺轟粈涔堢殑灞炴э紝闆墮浂宀佸瞾鐨勮楗頒竴涓嬶紝涔熷彲浠ョ◢寰編鍖栦竴涓嬫垜浠嚜宸辯殑杞歡鐣岄潰浜?jiǎn)銆備笅闈㈢畝鍗曡鏄庝竴涓嬪疄鐜拌繃紼嬶細(xì)<br><br>瀵硅瘽妗嗕腑鎵鏈夋帶浠訛紝鐫鑹叉樉紺洪兘闇瑕侀噸杞藉嚱鏁癢M_CTRCOLOR錛屽畠涓鑸敓鎴愪互涓嬬殑鎴愬憳鍑芥暟錛屽湪榪欎釜閲岄潰瀹炵幇鍑犱箮鎵鏈夋湰鏂囪璇村埌鐨勬帶浠舵搷浣溿?br>OnCtrColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) ;<br>鍙傛暟璇存槑錛?br>pDC鏄澶囨寚閽堬紱<br>pWnd鏄獥鍙f寚閽堬紱<br>nCtlColor鏄帶浠剁被鍨嬶紱<br><br>鍥犱負(fù)瀵硅瘽妗嗕腑鐨勬瘡涓帶浠墮兘浼?xì)鍝嶅簲涓嬈¤鍑芥暟錛屾墍浠ヤ竴鑸儏鍐典笅錛岃瀵規(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>      闈?rùn)鎬佹帶浠?br>      榪欏嚑涔庢槸鏈綆鍗曠殑浜?jiǎn)锛屽鏋滄兿x敼鍙樻煇涓狪D涓篒D_MY_SEL_STATIC闈?rùn)鎬佹帶浠剁殑鑳屾櫙鑹詫紝鍙璇彞<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);  //璋冪敤璇ヨ鍙ヤ富瑕佹槸涓轟簡(jiǎn)鏄劇ず鏂囨湰鏃訛紝鏂囨湰鑳屾櫙渚濈劧鏄摑鑹?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鎺т歡絳夊熀鏈兘鏄繖鏍峰氨鍙互瀹炵幇浜?jiǎn)銆?br><br>3.<br>      鎸夐挳鎺т歡<br>      鎴戣搗鍒濅篃鍍忎笂闈㈣繖鏍鋒潵鍋氾紝鍙槸灝辨槸鏄劇ず鍑烘潵涓嶆槸閭d箞鍥炰簨錛屾垜鏌ヤ簡(jiǎn)寰堝涔︾睄錛屾墠鍙戣錛屽師鏉ユ寜閽敤榪欎釜鏍峰瓙鏄仛涓嶅嚭鏉ョ殑銆傚繀欏繪淳鐢熺被錛屼粠CButton媧劇敓銆傜劧鍚庡湪媧劇敓綾諱腑閲嶈澆鍑芥暟OnDrawItem錛堬級(jí)錛屽彧鏈夎繖鏍鋒墠鑳藉疄鐜版湰鏂囨墍榪扮殑鍔熻兘銆?br>      娑夊強(qiáng)鍒版淳鐢燂紝鎴戞兂涓嶆槸鎴戜笁璦涓よ鑳借娓呮鐨勶紝鍦ㄦ鍙槸鎻愪釜鎬濊礬錛屾仌鍦ㄤ笅鏃犲姏錛佹帹鑽愪釜緗戜笂姣旇緝濂界殑浠ュ悗媧劇敓綾籆ButtonST.<br><br>      鍏跺疄鎴戣繖綃囨枃绔犲緢綺楁祬鐨勶紝浣嗘槸鎴戝笇鏈涜兘璧峰埌涓涓姏鐮栧紩鐜夌殑浣滅敤錛屾湁楂樻墜鐪嬪埌浜?jiǎn)鏈枃锛屾妸浣犵殑瑙佽В鍜屾洿濂界殑瀹炵幇鏂规硶鑴?chuàng)涓婃潵錛屼緵涓嶄細(xì)鐨勬湅鍙嬪熼壌涓存懝涓涓嬨傚厛鍦ㄦ鎰熻阿浜?jiǎn)锛?br><br>婕忎簡(jiǎn)涓鐐癸紝灝辨槸鏄劇ず鎺т歡鐨勪寒\鐏版帶鍒訛紝琛ヤ笂銆傦紙涓嶅ソ鎰忔濓紝瑙佽皡瑙佽皡錛?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://m.shnenglu.com/amazon/aggbug/68155.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/amazon/" target="_blank">榪滈</a> 2008-11-29 13:36 <a href="http://m.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://m.shnenglu.com/amazon/archive/2008/11/29/68149.html榪滈榪滈Sat, 29 Nov 2008 05:08:00 GMThttp://m.shnenglu.com/amazon/archive/2008/11/29/68149.htmlhttp://m.shnenglu.com/amazon/comments/68149.htmlhttp://m.shnenglu.com/amazon/archive/2008/11/29/68149.html#Feedback0http://m.shnenglu.com/amazon/comments/commentRss/68149.htmlhttp://m.shnenglu.com/amazon/services/trackbacks/68149.html浠ccess鏂囦歡浣滀負(fù)鏁版嵁搴撹繘琛岃繛鎺ワ紝涓鑸彲浠ヤ嬌鐢∣DBC鎺ュ彛錛屽湪榪欓噷鎴戜滑浣跨敤MFC鐨凜Database綾伙紝璇ョ被鏄SQLConnect絳塐DBC鐨凙PI鐨勫皝瑁呫傞渶瑕佸寘鍚?span style="COLOR: red">afxdb.h澶存枃浠?/span>銆傚埄鐢∣DBC鏁版嵁婧愯繘琛屾暟鎹簱榪炴帴鏈変袱縐嶆柟娉曪細(xì)涓縐嶆槸鑷姩鎴栨墜宸ラ厤緗甇DBC鏁版嵁婧愬悗榪炴帴錛屼竴縐嶆槸涓嶇敤閰嶇疆ODBC鏁版嵁婧愶紝鑰屾槸鐩存帴鏍規(guī)嵁Access鏂囦歡鐨勮礬寰勮繘琛岃繛鎺ャ?br>
鍦∕FC涓紝涓篛DBC棰勫畾涔変簡(jiǎn)鍑犱釜綾伙紝鍏朵腑涓昏鐨勬槸鏁版嵁搴?span style="BACKGROUND-COLOR: #ffffff">綾?CDatabase)鍜岃褰曢泦鍚堢被(CRecoredset)銆傝繖涓や釜綾繪棦鏈夎仈緋誨張鏈夊尯鍒紝鍦ㄥ簲鐢ㄧ▼搴忎腑錛屽彲浠ュ垎鍒嬌鐢紝涔熷彲浠ュ悓鏃朵嬌鐢紝姣忎竴綾諱篃鍙互鍚屾椂瀛樺湪澶氫釜瀵硅薄銆侰Database鐨?/span>姣忎竴涓璞′唬琛ㄤ簡(jiǎn)涓涓暟鎹簮鐨勮繛鎺ワ紝CRecordset鐨勬瘡涓涓璞′唬琛ㄤ簡(jiǎn)浠庝竴涓暟鎹〃涓寜棰勫畾鐨勬煡璇㈡潯浠惰幏寰楃殑璁板綍鐨勯泦鍚堬紝涓鑸鏉ワ紝鍓嶈呴傚疁浜庡鏁版嵁婧愪笅鐨勬煇涓暟鎹〃鏍艱繘琛屾暣浣撴搷浣滐紝鍚庤呯敤浜庡鎵閫夌殑璁板綍闆嗗悎榪涜澶勭悊銆?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涓篃娌℃湁鎸囨槑鏁版嵁婧愬悕錛屽垯璇ヨ皟鐢ㄤ細(xì)鑷姩鍑虹幇涓涓璇濇鍒楀嚭鎵鏈夊彲鐢ㄧ殑鏁版嵁婧?鍚?錛岃鐢ㄦ埛閫夋嫨銆?br>(2)bExclusive錛氬彧鏀寔“鍋?#8221;(False)鍊鹼紝琛ㄧず涓哄叡浜?share)鏂瑰紡榪炴帴銆傚洜姝わ紝搴旂敤紼嬪簭鍦ㄨ繍琛屽墠錛屼竴瀹氳瑁呭叆share.exe鎴栧湪Windows鐨剆ystem.ini涓鍏share.386銆?浠涔堟剰鎬濅笉澶噦......)
(3)ReadOnly錛氭寚鏄庢暟鎹簮鎿嶄綔鏂瑰紡鏄?#8220;鍙”榪樻槸鍙互淇敼銆?br>(4)lpszConnect:錛氭寚鏄庤繛鎺ュ瓧絎︿覆錛屽寘鎷暟鎹簮鍚嶃佺敤鎴鋒爣璇嗙爜銆佸彛浠ょ瓑淇℃伅銆傝瀛楃涓插繀欏諱互“ODBC;”寮澶達(dá)紝琛ㄧず璇ヨ繛鎺ユ槸涓庝竴涓狾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://m.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://m.shnenglu.com/amazon/archive/2008/11/28/68042.html</guid><wfw:comment>http://m.shnenglu.com/amazon/comments/68042.html</wfw:comment><comments>http://m.shnenglu.com/amazon/archive/2008/11/28/68042.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://m.shnenglu.com/amazon/comments/commentRss/68042.html</wfw:commentRss><trackback:ping>http://m.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(...)鐨勫疄鐜幫細(xì)<br>    鍩烘湰瑕佹眰: 璁〤SortList鏍規(guī)嵁Item榪涜鎺掑簭錛岃屼笌鏁版嵁婧愭棤鍏熾?褰撶劧榪欐牱涔熸湁涓嶈凍涔嬪錛屽氨鏄帓搴忓彧鑳芥寜鏂囨湰鎺掑簭浜?jiǎn)銆傚鏋滀綘闇瑕佹寜鏁板瓧鎺掑簭鐨勮瘽錛岄偅灝卞彧鏈夌壒孌婂鐞嗕簡(jiǎn)銆?</p> <p>   榪欓噷娑夊強(qiáng)鍒扮殑鏈涓昏鐨勫嚱鏁版槸錛?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鐨勫師鍨嬶細(xì)浼犲叆鐨勫弬鏁發(fā)Param1,lParam2鏄浉搴斾袱琛岀殑ItemData錛?br>   (2)FindItem鏍規(guī)嵁lParam1,lParam2寰楀埌鐩稿簲鐨処tem錛?br>   FindItem鏈夊縐嶆煡鎵炬柟寮?鏌ユ壘鏂瑰紡閫氳繃LVFINDINFO->flags榪涜璁劇疆)錛岃繖閲屽彧鏄牴鎹甀temData榪涜鏌ユ壘銆?br>   (3)鍐嶇敤GetItemText寰楀埌鎺掑簭鍒楃殑ItemText錛?br>   (4)鏈鍚庡氨鏄瘮杈僆temText浜?jiǎn)銆?br><br>涓嬮潰鏄簮浠g爜錛?br>鍙湁涓や釜鏂囦歡錛欳SortListCtrl.H, CSortListCtrl.cpp<br>鐩存帴鎶婅繖涓や釜鏂囦歡鏀懼埌欏圭洰閲屽氨鍙互浜?jiǎn)銆?br><a href="http://m.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://m.shnenglu.com/Images/OutliningIndicators/None.gif"><span style="COLOR: #000000">CSortListCtrl m_test;<br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://m.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://m.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://m.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://m.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://m.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://m.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://m.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://m.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://m.shnenglu.com/Images/OutliningIndicators/None.gif"> ListView_SetExtendedListViewStyleEx(m_test.m_hWnd, styles, styles);<br><img align=top src="http://m.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://m.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"> HDITEM headerItem;<br><img align=top src="http://m.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://m.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://m.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://m.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://m.shnenglu.com/Images/OutliningIndicators/None.gif"> <img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif">.<br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif">..<br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://m.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://m.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://m.shnenglu.com/Images/OutliningIndicators/None.gif"> <img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif">.<br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif"><img src="http://m.shnenglu.com/Images/dot.gif">..<br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"></span></div> <p><br> </p> <img src ="http://m.shnenglu.com/amazon/aggbug/68042.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/amazon/" target="_blank">榪滈</a> 2008-11-28 00:43 <a href="http://m.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://m.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://m.shnenglu.com/amazon/archive/2008/11/27/68024.html</guid><wfw:comment>http://m.shnenglu.com/amazon/comments/68024.html</wfw:comment><comments>http://m.shnenglu.com/amazon/archive/2008/11/27/68024.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://m.shnenglu.com/amazon/comments/commentRss/68024.html</wfw:commentRss><trackback:ping>http://m.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鍑芥暟涓彲浠ユ坊鍔犲涓嬩唬鐮侊細(xì)<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://m.shnenglu.com/Images/OutliningIndicators/None.gif"><span style="COLOR: #000000">CBitButtonNL m_btnSearch;    <br><img align=top src="http://m.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://m.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://m.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://m.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #000000"> m_btnSearch.SetBitmaps(<br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif">                                          IDB_BITMAP_OTHER_NORMAL, <br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif">                                          IDB_BITMAP_OTHER_DOWN, <br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif">                                          IDB_BITMAP_OTHER_UP, <br><img align=top src="http://m.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://m.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://m.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://m.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://m.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://m.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">鎼滅儲(chǔ)</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://m.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://m.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://m.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://m.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #000000"> m_btnSearch<br><img align=top src="http://m.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://m.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://m.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闃村獎(jiǎng)棰滆壊</span><span style="COLOR: #008000"><br><img align=top src="http://m.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://m.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://m.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://m.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">婧愪唬鐮佸涓嬶細(xì)</span><br><a href="http://m.shnenglu.com/Files/amazon/CBitButtonNL.rar">/Files/amazon/CBitButtonNL.rar</a> <img src ="http://m.shnenglu.com/amazon/aggbug/68024.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/amazon/" target="_blank">榪滈</a> 2008-11-27 20:34 <a href="http://m.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://m.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://m.shnenglu.com/amazon/archive/2008/11/26/67938.html</guid><wfw:comment>http://m.shnenglu.com/amazon/comments/67938.html</wfw:comment><comments>http://m.shnenglu.com/amazon/archive/2008/11/26/67938.html#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://m.shnenglu.com/amazon/comments/commentRss/67938.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/amazon/services/trackbacks/67938.html</trackback:ping><description><![CDATA[<p> ODBC錛圤pen Database Conectivity錛夊嵆寮鏀懼紡鏁版嵁搴撲簰鑱旓紝浣滀負(fù)Windows寮鏀炬х粨鏋勭殑涓涓噸瑕侀儴鍒嗗凡緇忎負(fù)寰堝鐨刉indows紼嬪簭鍛樻墍鐔熸?zhèn)夊Q孫DBC鐨勫伐浣滀緷璧栦簬鏁版嵁搴撳埗閫犲晢鎻愪緵鐨勯┍鍔ㄧ▼搴忥紝浣跨敤ODBC API鐨勬椂鍊欙紝W(xué)indows鐨凮DBC綆$悊紼嬪簭錛屾妸鏁版嵁搴撹闂殑璇鋒眰浼犻掔粰姝g‘鐨勯┍鍔ㄧ▼搴忥紝椹卞姩紼嬪簭鍐嶄嬌鐢⊿QL璇彞鎸囩ずDBMS瀹屾垚鏁版嵁搴撹闂伐浣溿?/p> <p>涓鑸潵璇達(dá)紝瀹炵幇鏁版嵁搴撳埌ODBC椹卞姩紼嬪簭綆$悊鍣ㄧ殑娉ㄥ唽鏈変互涓嬩袱縐嶆柟娉曪細(xì)涓鏄紪紼嬫椂鎵嬪伐閰嶇疆ODBC鏁版嵁婧愶紝鍙戝竷鏃朵嬌鐢↖nstallShield絳夊畨瑁呭埗浣滆蔣浠惰嚜鍔ㄩ厤緗甇DBC鏁版嵁婧愶紱浜屾槸鑰冭檻鐢ㄧ▼搴忔浛鐢ㄦ埛瀹屾垚榪欎簺閰嶇疆宸ヤ綔錛屽疄鐜扮殑鏂規(guī)硶鏈夊嚑縐嶏紝涓縐嶅姙娉曟槸鐢ㄧ▼搴忎慨鏀筗indows娉ㄥ唽琛紝紼嬪簭鍛樺彲浠ョ敤Windows API鍑芥暟澧炴敼HKEY_LOCAL_MACHINE\Software\ODBC\ODBC.INI涓殑閿鹼紝榪欑鏂規(guī)硶姣旇緝鐑?chǔ)鐞愬Q屽彟涓縐嶆槸鍦ㄧ▼搴忎腑浣跨敤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彞鏌勩傚鏋滃彞鏌勪負(fù)NULL錛屽皢涓嶄細(xì)鏄劇ず涓浜涙湁鍏崇殑瀵硅瘽妗嗐傚鏋滃弬鏁?IpszAttributes鎻愪緵鐨勪俊鎭笉澶熷畬鍠勶紝鍦ㄥ垱寤鴻繃紼嬩腑灝變細(xì)鍑虹幇瀵硅瘽妗嗚姹傜敤鎴鋒彁渚涚浉搴斾俊鎭?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鐨勫簲鐢ㄦ潯浠訛細(xì)<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>渚嬶細(xì)</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://m.shnenglu.com/Images/OutliningIndicators/None.gif"><span style="COLOR: #000000">SQLConfigDataSource(<br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif">                        NULL,<br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif">                        ODBC_ADD_SYS_DSN,<br><img align=top src="http://m.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://m.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://m.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://m.shnenglu.com/Images/OutliningIndicators/None.gif">                        );</span></div> <p> </p> <img src ="http://m.shnenglu.com/amazon/aggbug/67938.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/amazon/" target="_blank">榪滈</a> 2008-11-26 23:24 <a href="http://m.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://m.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://cl6m.com" target="_blank">亚洲欧美日韩直播</a>| <a href="http://www-137999.com" target="_blank">欧美日韩免费观看中文</a>| <a href="http://www37999.com" target="_blank">久久色在线播放</a>| <a href="http://444398.com" target="_blank">久久国产精品黑丝</a>| <a href="http://asanny.com" target="_blank">亚洲欧美日韩精品久久亚洲区</a>| <a href="http://wwwsfsf11.com" target="_blank">99国产精品</a>| <a href="http://609t.com" target="_blank">亚洲视频一二三</a>| <a href="http://g2000vip.com" target="_blank">中日韩美女免费视频网站在线观看</a>| <a href="http://22127c.com" target="_blank">99热在线精品观看</a>| <a href="http://44cgcg.com" target="_blank">亚洲一区二区在线播放</a>| <a href="http://whdzjc.com" target="_blank">亚洲午夜视频在线</a>| <a href="http://959425.com" target="_blank">亚洲欧美一区二区三区极速播放</a>| <a href="http://wb2014.com" target="_blank">欧美伊人久久久久久久久影院</a>| <a href="http://8090567.com" target="_blank">欧美在线www</a>| <a href="http://123hiba.com" target="_blank">毛片精品免费在线观看</a>| <a href="http://110673.com" target="_blank">亚洲国产婷婷香蕉久久久久久</a>| <a href="http://dacellflex.com" target="_blank">久久久久久91香蕉国产</a>| <a href="http://zhengnuoxin.com" target="_blank">久久久亚洲欧洲日产国码αv </a>| <a href="http://1515t.com" target="_blank">亚洲免费视频成人</a>| <a href="http://actinview.com" target="_blank">欧美一级视频一区二区</a>| <a href="http://zjkgjt.com" target="_blank">久久综合婷婷</a>| <a href="http://www90aaa.com" target="_blank">亚洲精品女av网站</a>| <a href="http://10669p.com" target="_blank">亚洲日韩视频</a>| <a href="http://proenhub.com" target="_blank">校园激情久久</a>| <a href="http://777777hd.com" target="_blank">美女脱光内衣内裤视频久久影院</a>| <a href="http://69kun.com" target="_blank">欧美日韩三级</a>| <a href="http://233116.com" target="_blank">在线日本高清免费不卡</a>| <a href="http://www24699.com" target="_blank">一区二区三区精品国产</a>| <a href="http://spvicarb.com" target="_blank">久久精品一区二区三区不卡</a>| <a href="http://sdtricoop.com" target="_blank">免费成人网www</a>| <a href="http://yyyy456.com" target="_blank">国产精品99久久99久久久二8 </a>| <a href="http://zyjdxx.com" target="_blank">在线视频国产日韩</a>| <a href="http://555yye.com" target="_blank">亚洲综合导航</a>| <a href="http://jqnyc.com" target="_blank">欧美激情一区二区三区在线视频</a>| <a href="http://jzsp101.com" target="_blank">一区二区三区欧美亚洲</a>| <a href="http://chunhuigk.com" target="_blank">久久久精品日韩</a>| <a href="http://chongpiapia.com" target="_blank">欧美性片在线观看</a>| <a href="http://haohetour.com" target="_blank">在线不卡免费欧美</a>| <a href="http://jgj230230.com" target="_blank">欧美一区二区三区视频</a>| <a href="http://78757a.com" target="_blank">亚洲激情影视</a>| <a href="http://xian369.com" target="_blank">久久精品一区二区三区四区</a>| <a href="http://pgpg520.com" target="_blank">欧美日韩视频在线观看一区二区三区 </a>| <a href="http://3737520.com" target="_blank">国产欧美日本一区二区三区</a>| <a href="http://www-55125.com" target="_blank">久久综合九色99</a>| <a href="http://7282789.com" target="_blank">欧美特黄一区</a>| <a href="http://aabbcc11.com" target="_blank">亚洲国产精品视频</a>| <a href="http://qiezisp2.com" target="_blank">久久精品成人</a>| <a href="http://mytopvogue.com" target="_blank">中文日韩欧美</a>| <a href="http://dusenborg.com" target="_blank">欧美日韩亚洲三区</a>| <a href="http://345fz.com" target="_blank">亚洲精品乱码视频</a>| <a href="http://www-544778.com" target="_blank">久久免费国产精品</a>| <a href="http://maiiyou.com" target="_blank">性感少妇一区</a>| <a href="http://52wenxiu.com" target="_blank">国产精品视频第一区</a>| <a href="http://cxjzcl.com" target="_blank">99精品久久久</a>| <a href="http://725443.com" target="_blank">亚洲黑丝在线</a>| <a href="http://lyminghang.com" target="_blank">欧美gay视频激情</a>| <a href="http://xhamtube.com" target="_blank">亚洲国产精品美女</a>| <a href="http://131397.com" target="_blank">欧美xxx成人</a>| <a href="http://bjygp.com" target="_blank">老鸭窝毛片一区二区三区</a>| <a href="http://by3180.com" target="_blank">国产欧美日韩</a>| <a href="http://8eya.com" target="_blank">久久国产精彩视频</a>| <a href="http://318823.com" target="_blank">亚洲欧美资源在线</a>| <a href="http://huohuoglobal.com" target="_blank">国产精品入口日韩视频大尺度</a>| <a href="http://www49853b.com" target="_blank">亚洲一级在线观看</a>| <a href="http://unrealcopgmail.com" target="_blank">日韩午夜电影在线观看</a>| <a href="http://787282.com" target="_blank">欧美视频中文字幕</a>| <a href="http://sg-lxs.com" target="_blank">午夜在线一区</a>| <a href="http://www5xzz1.com" target="_blank">欧美一区二区视频网站</a>| <a href="http://neudlac.com" target="_blank">黑人一区二区</a>| <a href="http://3dpasion.com" target="_blank">欧美国产日韩一区二区三区</a>| <a href="http://dmzjz.com" target="_blank">欧美大香线蕉线伊人久久国产精品</a>| <a href="http://49vvvv.com" target="_blank">91久久在线</a>| <a href="http://99cheats.com" target="_blank">99re这里只有精品6</a>| <a href="http://phitris.com" target="_blank">国产精品videosex极品</a>| <a href="http://155fck.com" target="_blank">欧美一区二区三区四区在线观看地址 </a>| <a href="http://x2b2.com" target="_blank">国产精品久久77777</a>| <a href="http://621767.com" target="_blank">午夜视频在线观看一区</a>| <a href="http://603445.com" target="_blank">欧美一区二区视频免费观看 </a>| <a href="http://niu96.com" target="_blank">欧美揉bbbbb揉bbbbb</a>| <a href="http://811914.com" target="_blank">亚洲欧美成人</a>| <a href="http://127mingdao.com" target="_blank">午夜久久黄色</a>| <a href="http://pmref.com" target="_blank">亚洲电影视频在线</a>| <a href="http://51-express.com" target="_blank">亚洲国产精选</a>| <a href="http://621939.com" target="_blank">国产精品久久久久aaaa九色</a>| <a href="http://227002.com" target="_blank">久久国产加勒比精品无码</a>| <a href="http://cm168168.com" target="_blank">欧美在线视频a</a>| <a href="http://maomi54.com" target="_blank">91久久在线观看</a>| <a href="http://tk263.com" target="_blank">中日韩高清电影网</a>| <a href="http://woshinannan741.com" target="_blank">国产午夜精品麻豆</a>| <a href="http://569658.com" target="_blank">欧美成人国产va精品日本一级</a>| <a href="http://lutube666.com" target="_blank">欧美激情一区二区三级高清视频</a>| <a href="http://329aaa.com" target="_blank">亚洲一区二区三区国产</a>| <a href="http://ccltb.com" target="_blank">久久国产福利</a>| <a href="http://henhenai1.com" target="_blank">亚洲手机视频</a>| <a href="http://292q.com" target="_blank">久久精品一区二区国产</a>| <a href="http://www47011.com" target="_blank">夜夜嗨av一区二区三区四季av</a>| <a href="http://0773ye.com" target="_blank">亚洲一区日韩在线</a>| <a href="http://cgnwp.com" target="_blank">91久久综合亚洲鲁鲁五月天</a>| <a href="http://ccc159.com" target="_blank">999亚洲国产精</a>| <a href="http://ydpszcn.com" target="_blank">中文网丁香综合网</a>| <a href="http://5588207.com" target="_blank">伊人久久大香线蕉av超碰演员</a>| <a href="http://gztgo.com" target="_blank">亚洲精品在线视频观看</a>| <a href="http://zhaosaoz.com" target="_blank">国产美女精品视频免费观看</a>| <a href="http://hhbz518.com" target="_blank">鲁大师成人一区二区三区</a>| <a href="http://di4see.com" target="_blank">欧美日韩国产精品一卡</a>| <a href="http://caoxiu33.com" target="_blank">久久野战av</a>| <a href="http://caoliu2022.com" target="_blank">国产精品久久久久久久电影 </a>| <a href="http://cc1024.com" target="_blank">日韩视频―中文字幕</a>| <a href="http://ssss96.com" target="_blank">午夜精品福利电影</a>| <a href="http://www-yh6.com" target="_blank">99成人在线</a>| <a href="http://quoviajes.com" target="_blank">久久久99爱</a>| <a href="http://16355t.com" target="_blank">午夜精品久久久久久久99水蜜桃 </a>| <a href="http://3188m.com" target="_blank">模特精品裸拍一区</a>| <a href="http://www3344xz.com" target="_blank">欧美午夜电影在线观看</a>| <a href="http://72966t.com" target="_blank">美乳少妇欧美精品</a>| <a href="http://www17727.com" target="_blank">国产精品久久久久99</a>| <a href="http://ccltb.com" target="_blank">亚洲国产精品999</a>| <a href="http://www-e2222.com" target="_blank">国产欧美日韩免费看aⅴ视频</a>| <a href="http://56667r.com" target="_blank">91久久综合亚洲鲁鲁五月天</a>| <a href="http://naturalgiftfashion.com" target="_blank">国产精品系列在线</a>| <a href="http://107766a.com" target="_blank">一区二区三区免费在线观看</a>| <a href="http://by66336.com" target="_blank">亚洲人永久免费</a>| <a href="http://778kb.com" target="_blank">老牛国产精品一区的观看方式</a>| <a href="http://778kb.com" target="_blank">欧美一区二区福利在线</a>| <a href="http://621767.com" target="_blank">欧美日韩国产一区二区三区</a>| <a href="http://173881.com" target="_blank">欧美国产精品</a>| <a href="http://oksousou.com" target="_blank">激情成人中文字幕</a>| <a href="http://www-kkjj88.com" target="_blank">欧美一二三区精品</a>| <a href="http://clgtzz.com" target="_blank">久久精品99国产精品</a>| <a href="http://scratbag.com" target="_blank">国产精品久久久久久av下载红粉</a>| <a href="http://www35353.com" target="_blank">日韩五码在线</a>| <a href="http://98956888.com" target="_blank">亚洲视频一起</a>| <a href="http://278538.com" target="_blank">欧美日韩美女一区二区</a>| <a href="http://aidou28.com" target="_blank">亚洲激情综合</a>| <a href="http://wanzhixue.com" target="_blank">亚洲免费激情</a>| <a href="http://luqintang.com" target="_blank">欧美激情视频一区二区三区免费 </a>| <a href="http://www-442336.com" target="_blank">久久综合精品一区</a>| <a href="http://m72722.com" target="_blank">国产一区二区三区丝袜</a>| <a href="http://5917t.com" target="_blank">性做久久久久久久免费看</a>| <a href="http://sdxinqi.com" target="_blank">午夜精品一区二区三区电影天堂</a>| <a href="http://www473333.com" target="_blank">欧美日韩亚洲一区二区三区在线</a>| <a href="http://p5555ww.com" target="_blank">亚洲激情欧美激情</a>| <a href="http://sxxawef.com" target="_blank">亚洲最新合集</a>| <a href="http://china391.com" target="_blank">欧美性猛交视频</a>| <a href="http://fs-nanxiang.com" target="_blank">中日韩男男gay无套</a>| <a href="http://qkspvip.com" target="_blank">亚洲午夜视频在线观看</a>| <a href="http://pabjzz.com" target="_blank">欧美性做爰毛片</a>| <a href="http://8x27.com" target="_blank">欧美一区二区精品久久911</a>| <a href="http://3s3v.com" target="_blank">欧美有码视频</a>| <a href="http://cbb188.com" target="_blank">激情综合自拍</a>| <a href="http://www-44899.com" target="_blank">欧美电影打屁股sp</a>| <a href="http://my1315.com" target="_blank">99国内精品</a>| <a href="http://fengboll.com" target="_blank">亚洲欧美日韩国产成人</a>| <a href="http://gbandal.com" target="_blank">国产亚洲欧洲</a>| <a href="http://16kkkk.com" target="_blank">乱码第一页成人</a>| <a href="http://www89999.com" target="_blank">亚洲激情成人在线</a>| <a href="http://imaben.com" target="_blank">亚洲免费视频中文字幕</a>| <a href="http://9511331.com" target="_blank">国产女主播视频一区二区</a>| <a href="http://797298.com" target="_blank">午夜伦欧美伦电影理论片</a>| <a href="http://chenyirong.com" target="_blank">久久天天躁狠狠躁夜夜爽蜜月</a>| <a href="http://551692.com" target="_blank">你懂的亚洲视频</a>| <a href="http://24kshopss.com" target="_blank">亚洲国产天堂久久综合网</a>| <a href="http://36seaa.com" target="_blank">一区二区成人精品</a>| <a href="http://youminwang.com" target="_blank">国产精品狼人久久影院观看方式</a>| <a href="http://gbandal.com" target="_blank">亚洲一区尤物</a>| <a href="http://www-440447.com" target="_blank">麻豆亚洲精品</a>| <a href="http://5566kan.com" target="_blank">一本色道综合亚洲</a>| <a href="http://musicshq.com" target="_blank">国产精品理论片</a>| <a href="http://zzztt04.com" target="_blank">久久另类ts人妖一区二区</a>| <a href="http://poqsoft.com" target="_blank">亚洲二区在线</a>| <a href="http://687989.com" target="_blank">性欧美1819性猛交</a>| <a href="http://8xxjj.com" target="_blank">1204国产成人精品视频</a>| <a href="http://www473333.com" target="_blank">欧美视频中文在线看</a>| <a href="http://chufengguanye.com" target="_blank">久久国产精品久久久久久电车</a>| <a href="http://v58q.com" target="_blank">欧美激情一区二区三区</a>| <a href="http://118626cc.com" target="_blank">亚洲欧美一区二区原创</a>| <a href="http://aijiaoji.com" target="_blank">在线欧美一区</a>| <a href="http://133868.com" target="_blank">国产精品一区在线观看你懂的</a>| <a href="http://aimashe.com" target="_blank">久久亚洲不卡</a>| <a href="http://www-kj8777.com" target="_blank">亚洲影院在线观看</a>| <a href="http://aaa211.com" target="_blank">亚洲国产欧美一区</a>| <a href="http://3534m.com" target="_blank">久久久噜噜噜久久久</a>| <a href="http://778hao.com" target="_blank">中文av字幕一区</a>| <a href="http://www227ee.com" target="_blank">1024成人</a>| <a href="http://6k7a.com" target="_blank">狠狠色狠狠色综合日日tαg</a>| <a href="http://www930666.com" target="_blank">欧美日韩在线免费观看</a>| <a href="http://roujizz.com" target="_blank">久久精品中文字幕一区二区三区</a>| <a href="http://301110.com" target="_blank">亚洲精品激情</a>| <a href="http://o74sokyoss.com" target="_blank">久久人人爽人人爽</a>| <a href="http://avse69.com" target="_blank">小黄鸭精品aⅴ导航网站入口</a>| <a href="http://naturalgiftfashion.com" target="_blank">亚洲成色777777在线观看影院</a>| <a href="http://4446666.com" target="_blank">国产精品美女主播</a>| <a href="http://emu160.com" target="_blank">欧美激情一区二区三区全黄 </a>| <a href="http://7171152.com" target="_blank">亚洲男人影院</a>| <a href="http://jx963.com" target="_blank">亚洲三级免费</a>| <a href="http://www-ss777.com" target="_blank">欧美成人免费小视频</a>| <a href="http://bosengame.com" target="_blank">久久狠狠亚洲综合</a>| <a href="http://khc83.com" target="_blank">亚洲综合色丁香婷婷六月图片</a>| <a href="http://pgpg520.com" target="_blank">亚洲国产精品一区二区第一页 </a>| <a href="http://987527.com" target="_blank">亚洲一级黄色</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>