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

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

?? duallistmanager.h

?? 這是一個(gè)經(jīng)典畢業(yè)設(shè)計(jì)
?? 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>
#include "attendanceDlg.h"

class CDualListManager 
//class CDualListManager : public CDialog
{
// Construction/Destruction
public:
	bool m_bIsCur;
	void GetChoosenItem(CAttendanceDlg* pDlg);
    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	bIsCur);
	BOOL ProcessCmdMsg(int nID, int nCode);

private:
    void    EnableButtons(bool bIsCur);
    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;
};

#endif

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲国产成人91porn| 欧美伊人久久久久久午夜久久久久| 三级精品在线观看| 一区二区三区视频在线看| 国产精品视频你懂的| 国产亚洲欧洲一区高清在线观看| 久久这里只有精品首页| 久久午夜老司机| 欧美国产精品专区| 国产精品久久777777| 亚洲欧美色综合| 亚洲综合色网站| 亚洲成人三级小说| 日韩电影在线一区| 久久疯狂做爰流白浆xx| 国产精品一区在线观看乱码| 国产电影一区在线| 97久久精品人人做人人爽50路| 色综合天天性综合| 欧美性猛交xxxx黑人交| 在线播放一区二区三区| 日韩一区二区三区电影| 久久久精品2019中文字幕之3| 亚洲国产精品二十页| 最新不卡av在线| 亚洲成人三级小说| 久久99国产精品久久| 国产成人av一区二区三区在线观看| 丁香六月久久综合狠狠色| 色中色一区二区| 欧美丰满一区二区免费视频| 精品国产1区二区| 国产日韩三级在线| 一区二区三区四区在线播放| 日本va欧美va精品发布| 国产一区 二区| 色婷婷香蕉在线一区二区| 91精品国产一区二区三区香蕉| 久久久精品日韩欧美| 亚洲欧美成aⅴ人在线观看| 亚洲va韩国va欧美va| 激情成人午夜视频| 99久久99久久综合| 69久久夜色精品国产69蝌蚪网| 久久久久久久综合狠狠综合| 国产精品成人免费| 丝袜美腿一区二区三区| 国产99久久久精品| 欧美日韩精品免费观看视频| 欧美精品一区二区久久婷婷| 亚洲精品视频在线观看免费 | 国产精品夜夜嗨| 色94色欧美sute亚洲13| 日韩欧美国产系列| 亚洲欧美日韩久久精品| 韩国av一区二区三区| 欧洲视频一区二区| 久久久久久久电影| 日韩激情视频在线观看| 99久久精品国产一区| 欧美一级午夜免费电影| 亚洲天堂久久久久久久| 精品亚洲成a人在线观看| 日本高清不卡视频| 国产午夜三级一区二区三| 午夜视频在线观看一区二区| 成人午夜电影久久影院| 欧美α欧美αv大片| 亚洲精品国产成人久久av盗摄| 国产福利电影一区二区三区| 在线综合+亚洲+欧美中文字幕| 亚洲色图欧洲色图婷婷| 国产成人综合亚洲网站| 欧美成人一区二区三区在线观看| 亚洲精品国久久99热| 成人免费观看av| 久久色在线视频| 蜜桃av一区二区三区| 欧美伦理视频网站| 一区二区三区精品在线观看| 成人av在线资源| 久久色在线观看| 久久99最新地址| 91精品国产麻豆| 午夜精品一区二区三区免费视频| 91丨porny丨户外露出| 国产欧美综合色| 国产一本一道久久香蕉| 日韩三级.com| 蜜桃免费网站一区二区三区| 欧美日韩国产高清一区二区三区 | 欧美一区二区三区视频在线| 亚洲美女免费在线| 99久久99久久精品国产片果冻| 国产日韩在线不卡| 国产精品一区久久久久| 久久久久亚洲综合| 久久精品国产精品亚洲红杏| 日韩一区国产二区欧美三区| 日本亚洲欧美天堂免费| 欧美一区二区三区免费在线看| 肉色丝袜一区二区| 欧美精品欧美精品系列| 日韩电影免费一区| 在线综合+亚洲+欧美中文字幕| 婷婷开心激情综合| 欧美精品日日鲁夜夜添| 美日韩黄色大片| 久久综合国产精品| 国产成人一区二区精品非洲| 久久精品视频免费观看| 粉嫩av亚洲一区二区图片| 中文字幕av免费专区久久| 成人网男人的天堂| 国产精品国产三级国产普通话蜜臀 | 欧美喷水一区二区| 日韩国产在线观看一区| 日韩欧美一级片| 国产乱子伦视频一区二区三区| 久久婷婷成人综合色| 成人午夜免费视频| 亚洲精品国产高清久久伦理二区| 欧洲精品一区二区三区在线观看| 午夜欧美一区二区三区在线播放| 欧美日韩国产另类一区| 久久精品理论片| 国产欧美一区二区精品性色超碰| 成人免费视频一区| 亚洲综合激情网| 在线91免费看| 国产呦精品一区二区三区网站| 国产视频一区二区在线观看| 99re热这里只有精品免费视频| 亚洲国产日韩av| 日韩一区二区在线播放| 国产91精品入口| 一区二区三区加勒比av| 欧美一级片在线看| 国产成人免费在线视频| 亚洲精品视频在线| 日韩欧美www| aa级大片欧美| 日本视频在线一区| 国产精品麻豆网站| 欧美高清精品3d| 丁香婷婷综合网| 亚洲va天堂va国产va久| 国产欧美日韩一区二区三区在线观看 | 国产精品18久久久久久vr| 亚洲精品你懂的| 欧美本精品男人aⅴ天堂| 91在线精品一区二区| 美日韩一级片在线观看| 亚洲欧美激情小说另类| 26uuu久久天堂性欧美| 在线观看日韩国产| 国产成人免费网站| 免费成人你懂的| 伊人婷婷欧美激情| 欧美国产日本韩| 日韩欧美一级二级| 欧美系列一区二区| 99视频一区二区| 国产一区二区精品久久99| 亚洲国产一区在线观看| 国产精品久久久一本精品 | 国产精品理伦片| 欧美一区二区三区视频免费播放 | 亚洲成a人在线观看| 久久久高清一区二区三区| 在线免费观看不卡av| 午夜伊人狠狠久久| 亚洲图片另类小说| 欧美xxx久久| 色综合天天视频在线观看 | 在线观看视频一区二区欧美日韩| 国产自产高清不卡| 亚洲午夜精品在线| 中文字幕av不卡| 欧美日韩视频在线第一区| 99久久精品国产麻豆演员表| 久久99精品久久久久婷婷| 亚洲欧美日韩在线播放| 欧美一区二区视频在线观看2020| 成人免费视频免费观看| 免费在线欧美视频| 亚洲一区二区五区| 一区二区三区四区中文字幕| 国产亚洲精久久久久久| 制服丝袜日韩国产| 色猫猫国产区一区二在线视频| 狠狠色狠狠色合久久伊人| 亚洲国产精品欧美一二99| 国产精品色婷婷| 国产精品热久久久久夜色精品三区| 在线一区二区三区做爰视频网站| 国产乱子伦视频一区二区三区 | 成人久久视频在线观看| 韩国女主播成人在线| 男女性色大片免费观看一区二区|