亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? dduallistmanager.h

?? 這個(gè)程序是有關(guān)于考勤的應(yīng)用系統(tǒng)
?? H
字號(hào):
///////////////////////////////////////////////////////////////////////////////
//
//  Filename:       DualListManager.h
//
//  AUTHOR     :    Copyright (C) Steve Aube, February 2000
//                  SteveAube@yahoo.com
//
//                  You can reuse and redistribute this code, provided this 
//                  header is kept as is.
//
//  Description:    This class is intended to handle moving item between two
//                  listboxes. One list represents the list of available items
//                  and the other represents the list of choosen items. This
//                  class is intended to be a member of CDialog, CFormView or
//                  CPropertyPage. All the parent class has to do is properly 
//                  initialize this class and call a couple of member functions
//                  and this class will take care of the following things:
//                  - If the "Add" button is pressed the selected item(s) are
//                    moved from the available list to the choosen list.
//                  - If the "Add All" button is pressed all of the items in
//                    are moved from the available list to the choosen list.
//                  - If the "Remove" button is pressed the selected item(s) 
//                    are moved from the choosen list to the available list.
//                  - If the "Remove All" button is pressed all of the items in
//                    are moved from the choosen list to the available list.
//                  - If the "Move Up" button is pressed the selected item(s)
//                    in the choosen list are moved up in the list by one.
//                    This button can be pressed repeatedly until all of the 
//                    selected items have reached the top of the list. When
//                    that occurs the button is disabled.
//                  - If the "Move Down" button is pressed the selected item(s)
//                    in the choosen list are moved down in the list by one.
//                  - Allows double clicking on an item to move it to the
//                    opposite list.
//                  - When item(s) are moved from one list to another the 
//                    item that was moved is selected in the list it was moved
//                    to. The list that had the item removed selects the item
//                    that is at the location of the first item that was moved.
//                    If the item at the bottom of the list is moved the item
//                    immediately above it is selected. If the last item in 
//                    the list is removed there is no selection.
//                  - Enabling/disabling of buttons - when items are moved 
//                    between lists and up and down in the choosen list the 
//                    availability of buttons changes. For instance if an item
//                    is moved to the top of the choosen list the "Move Up" 
//                    button doesn't make sense. When this occurs the "Move Up"
//                    button is automatically disabled.
//                  - Keyboard support - disabling a button that has the focus
//                    causes problems for keyboard users. This code checks to 
//                    see if a button has the focus before it disables it. If
//                    it does the focus is forwarded to the next avaiabled 
//                    control.
//                  
//                  How to use this class:
//                  - Add a member variable of this class type to the dialog
//                    box, property page or form view where you want to use it.
//                  - From the initialization method (OnInitDialog() for a 
//                    dialog box and a property page and OnInitialUpdate() for
//                    a view) do the following things in this order:
//                    - Add the items to the available and choosen lists with
//                      the calls AddItemToAvailableList(...) and 
//                      AddItemToChoosenList(...). The first parameter is the
//                      name of the item and the second parameter is a unique
//                      identifier for the item.
//                    - Call InitializeControls(...) with a pointer the parent
//                      window and the IDs of all of the controls.
//                  - Override OnCmdMsg(...) 
//                  
//                  Notes:
//                  - If you don't need certain features (like the ability to
//                    move an item up or down in the choosen list) simply
//                    provide a NULL value for that id. The rest of the class
//                    will continue work correctly. The IDs for the two lists
//                    are required since a dual list manager doesn't make sense
//                    unless it has two lists to work with.
//                  - This code will work with single, multiple and extended
//                    listboxes.
//                  - The order of the controls doesn't matter. You can put 
//                    the choosen list on the left, right, top or bottom of the
//                    selected list. Just make sure you supply the control IDs
//                    in the right order.
//                  
//                  Implementation details:
//                  This class keeps track of the items in both listboxes in
//                  internal CArrays. The names associated with the items
//                  are tracked in a CMap and the item data value is used as
//                  the key. Keeping these separate lists simplfies moving
//                  items and keeping track of selection state.
//
////////////////////////////////////////////////////////////////////////////////

#ifndef __DualListManager_H__
#define __DualListManager_H__

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include <afxtempl.h>

class CDualListManager 
//class CDualListManager : public CDialog
{
// Construction/Destruction
public:
    CDualListManager(void);
    ~CDualListManager(void);

    void AddItemToAvailableList(LPCTSTR lpszItem, long lItemData);
    void AddItemToChoosenList(LPCTSTR lpszItem, long lItemData);
	void InitializeControls(CWnd * pWndParent,
                            int    iIDAvailableList,
                            int    iIDChoosenList,
                            int    iIDAddButton,
                            int    iIDAddAllButton,
                            int    iIDRemoveButton,
                            int    iIDRemoveAllButton,
                            int    iIDMoveUpButton,
                            int    iIDMoveDownButton);
	BOOL ProcessCmdMsg(int nID, int nCode);

private:
    void    EnableButtons(void);
    void    EnableWindow(int iIDControl, BOOL bEnable);
    void    FillListboxes(CArray<long, long> * pSelectedArray = NULL, BOOL bRemoving = FALSE);
    void    MoveAll(CListBox & rLBFrom, CListBox & rLBTo, CArray<long, long> & rArrayFrom, CArray<long, long> & rArrayTo);
    void    MoveUpOrDown(BOOL bMovingUp);
    void    MoveSelected(CListBox & rLBFrom, CArray<long, long> & rArrayFrom, CArray<long, long> & rArrayTo, BOOL bRemoving);
    void    SelectLBItem(CListBox & rListBox, int iItem);

private:
    CMap  <long, long, CString, CString> m_KeyMap;
    CArray<long, long>                   m_ArrayChoosen;
    CArray<long, long>                   m_ArrayAvailable;
	CListBox	m_ctrlAvailableList;
	CListBox	m_ctrlChoosenList;
	int         m_iIDAvailableList;
	int         m_iIDChoosenList;
	int         m_iIDAddButton;
	int         m_iIDAddAllButton;
	int         m_iIDRemoveButton;
	int         m_iIDRemoveAllButton;
	int         m_iIDMoveUpButton;
	int         m_iIDMoveDownButton;
    CWnd  *     m_pWndParent;
	BOOL        m_bAvailableListSingleSelType;
	BOOL        m_bChoosenListSingleSelType;
//};

/////////////////////////////////////////////////////////////////////////////
// CDualListManager dialog

class CDualListDialog : public CDialog
{
// Construction
public:
	CDualListDialog(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CDualListManager)
	enum { IDD = IDD_DIALOG_DUAL_LIST_DEMO };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDualListManager)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDualListManager)
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

private:
    CDualListManager  m_DualListManager;

};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99久久精品一区二区| av激情综合网| 美日韩一级片在线观看| 亚洲综合免费观看高清完整版| 7777精品伊人久久久大香线蕉经典版下载 | 亚洲天堂a在线| 欧美一区二区三区四区高清| eeuss鲁片一区二区三区在线看| 午夜精彩视频在线观看不卡| 极品瑜伽女神91| 日本午夜精品视频在线观看 | 欧美日韩一二区| 欧美日韩一区三区| 欧美电影影音先锋| 亚洲精品一区二区在线观看| 911精品产国品一二三产区| 亚洲人成精品久久久久| 色婷婷综合久久久中文一区二区| 成人av中文字幕| 在线一区二区视频| 91蜜桃免费观看视频| 欧美日韩亚洲综合在线| 精品国产乱码久久久久久夜甘婷婷 | 欧美日韩不卡一区| 欧美大片在线观看| 国产精品久久久久四虎| 亚洲成av人**亚洲成av**| 狠狠色丁香婷婷综合| 国产精品正在播放| 成人国产在线观看| 69av一区二区三区| 国产精品热久久久久夜色精品三区 | 日韩亚洲欧美在线观看| 欧美韩日一区二区三区四区| 午夜精品成人在线视频| 波多野结衣一区二区三区| 欧美一级高清片在线观看| 国产精品女主播av| 午夜私人影院久久久久| 成人手机电影网| 欧美zozozo| 天天影视涩香欲综合网| 91麻豆国产在线观看| 欧美另类久久久品| 综合av第一页| 成人激情小说网站| 日韩美女在线视频 | 99久久婷婷国产综合精品电影| 欧美精品日韩精品| 亚洲二区视频在线| 丰满岳乱妇一区二区三区| 日韩久久精品一区| 免费在线成人网| 欧美欧美欧美欧美| 天堂成人免费av电影一区| 欧美最新大片在线看| 国产精品天天摸av网| 成人手机电影网| 国产欧美日韩精品一区| 国产麻豆视频一区二区| 欧美丰满美乳xxx高潮www| 亚洲成av人片在www色猫咪| 欧美综合一区二区三区| 亚洲小说欧美激情另类| 欧美绝品在线观看成人午夜影视| 亚洲精品福利视频网站| 欧美最新大片在线看| 性做久久久久久久免费看| 欧美理论片在线| 韩国v欧美v日本v亚洲v| 精品国精品自拍自在线| 久久综合九色综合欧美亚洲| 婷婷久久综合九色国产成人| 91精品国产综合久久久蜜臀图片| 亚洲欧洲精品一区二区精品久久久| 国内久久精品视频| 亚洲老司机在线| 欧美一区二区三区成人| 国产成人免费视频一区| 亚洲国产综合视频在线观看| 日韩三级电影网址| 波多野结衣欧美| 日韩不卡在线观看日韩不卡视频| 国产亚洲人成网站| 欧美色精品天天在线观看视频| 紧缚捆绑精品一区二区| 亚洲卡通动漫在线| 国产日韩欧美综合一区| 欧美精品粉嫩高潮一区二区| 91美女精品福利| 懂色av一区二区三区免费观看| 午夜电影网亚洲视频| 亚洲视频在线一区观看| 中文一区二区在线观看| 日韩亚洲欧美一区| 欧美性大战久久| 99久久精品国产一区二区三区| 激情成人综合网| 另类小说色综合网站| 亚洲高清免费观看高清完整版在线观看 | 久久综合九色综合欧美98| 欧美久久免费观看| 欧美性受极品xxxx喷水| 欧美在线视频全部完| 91丨porny丨国产入口| 99久久精品免费精品国产| 成人av在线影院| www.综合网.com| 色综合久久久久网| 在线影院国内精品| 欧美日韩电影一区| 欧美日韩一区二区三区四区| 一本久久综合亚洲鲁鲁五月天 | 97se亚洲国产综合自在线| 日韩高清国产一区在线| 国产精品福利一区二区三区| 在线视频欧美精品| 欧美日韩国产综合一区二区| 8x福利精品第一导航| 欧美草草影院在线视频| 日韩欧美成人激情| 久久久精品影视| 亚洲欧美偷拍三级| 日韩黄色小视频| 91亚洲男人天堂| 日韩欧美视频在线| 日韩一区在线播放| 秋霞电影一区二区| a4yy欧美一区二区三区| 日韩午夜在线影院| 亚洲欧美在线视频观看| 美女性感视频久久| zzijzzij亚洲日本少妇熟睡| 777色狠狠一区二区三区| 国产精品蜜臀av| 麻豆国产欧美日韩综合精品二区| 99久久精品国产一区| 久久久久久久久久久久电影| 同产精品九九九| 欧美在线视频日韩| 亚洲日本护士毛茸茸| 国产一区二区女| 精品奇米国产一区二区三区| 首页国产欧美日韩丝袜| 91视频国产观看| 国产精品视频看| 麻豆91在线看| 欧美日韩dvd在线观看| 亚洲免费观看高清完整版在线观看熊| 美女视频免费一区| 欧美最猛性xxxxx直播| 日韩天堂在线观看| 三级在线观看一区二区| 欧美性大战xxxxx久久久| 国产精品国产三级国产普通话蜜臀 | 欧美男女性生活在线直播观看| 亚洲丝袜制服诱惑| 国产真实乱偷精品视频免| 91丨九色丨尤物| 亚洲视频在线一区| av亚洲产国偷v产偷v自拍| 久久久91精品国产一区二区精品 | 91在线无精精品入口| 自拍偷在线精品自拍偷无码专区| 国产精选一区二区三区| 久久综合色婷婷| 成人国产精品免费网站| 国产日本欧洲亚洲| 成人国产精品视频| 亚洲免费视频中文字幕| 欧美私模裸体表演在线观看| 亚洲一区二区3| 欧美日韩国产免费| 一区二区三国产精华液| 欧美一区永久视频免费观看| 视频一区中文字幕| 精品国产欧美一区二区| 成人免费视频caoporn| 亚洲激情成人在线| 欧美欧美欧美欧美| 香蕉久久夜色精品国产使用方法| 日韩欧美电影一二三| 国产成人在线视频网站| 一区免费观看视频| 日韩欧美不卡一区| 高潮精品一区videoshd| 亚洲柠檬福利资源导航| 91福利在线免费观看| 国产麻豆日韩欧美久久| 亚洲人妖av一区二区| 欧美三级中文字幕在线观看| 国产一区在线观看视频| 亚洲婷婷在线视频| 欧美一级欧美三级| 国产99久久久久久免费看农村| 午夜精品福利视频网站| 日本一区二区成人| 欧美一区二区在线观看| 欧美色爱综合网| 99久久亚洲一区二区三区青草|