Results for "Author: zhu jinyong"
This is my first attempt to deal with Unicode. Please remember that the code isn't intend to fully duplicate MS Combobox.It just fulfill my application.The purpose of this posting is to bring your attention how important Unicode is and to show you how to develop Unicode control based on MS ComCTL32.DLL. Tested on XP (EN) SP2 and VB6/SP6. Update 1:Add cImageList Class;Correct Paul's Self-Subclasser Unicode issue;A good Example is here. Update 2:Revised Demo Update 3:Heavily rewrite to 'almost' simulate MS Combo Update 4:Fixed 'Overflow' error when apply Font with Unicode Font name;Add FindItem_Unicode property (28/may/2007) Update 5:Removed Compilation condition 'Unicode=1' with auto detection of Windows Update 6: CreateWindowEx may fail if applied XP Theme with a MANIFEST file. (20/June/2007) Update 7: Use Paul's Updated Self-Subclass and LaVolpe's more robust Version to solve possible UserControl Terminate error. (20/April/2008)
---XPDualMonths DLL File Source Code--- Features: 1.Single Month display and Dual Months display. 2.Multi-selection with <shift> key,even using Mouse rectangling to do multiselection;Using <Ctrl> to de-select it. 3.Left,right,up,down,home,end key to move selected day. 4.Customerized visual styles.(Border style,color styles,Line styles...) 5.Selected dates can be rolled back. 6.DLL File attached to a Picturebox 7.Resizable 8.Easy to extend to 12 months Update June 6 2007 Add DrawArrow routine Update June 9 2007 Add PopUpMenu for fast Month and Year access,thanks for Randy Giese for his excellent PopUp Menu Tutorial (PSC ID=68311). Update April 20 2008 Full Unicode Support Update April 22 2008 Office 2003 Owner-Drawn Menu Update April 27 2008 Chinese Lunar Calendar for Commercial Update May 1st 2008 Demo optimized a bit. Update May 2nd 2008 Add FormatLocaleDate function to format date by Locale ID or your own Format,requested by ThePiper.
Multi-Column Combo using Listview
XPCalendar is a highly customizable built-in drop-down calendar that provides very sophisticated visual flexibility.It Provides the ability to highly customize the appearance of the control. All colors, border, and fonts can be modified to drastically change how the control looks.Border has up to 8 feathures,including [None], [Flat], [Raised Thin], [Sunken Thin], [Raised 3D], [Sunken 3D], [Etched] and [Bump] .The board color can choose with any Color.Free to set the H/V Gridline.The calendar Background can set to any color you like.: Not only does the control support placing an image or Grandient Color Box or simple Color Box to the the drop-down calendar's selected cell, it supports doing this is a variety of ways. You can tile,stretch the image with MaskColor.Defines the first day of the week, for determining which days are the weekend. This is completely separate from the Displayed Week Start which specifies which day of the week to place in the drop-down calendar's first column.You can draw transparent bitmap or Icon with Maskcolor to sign Today to make today alert.You can position this bitmap any where you like.Default Position is sychonized with the position of Today Text.Date Text can position any where inside the Cell.You can align the text Center,Left and Right plus X_Offset and Y_Offset.Use Arrow Left,Right,Up and Down to nagavite the Date and move the Focus Highligh Bitmap or Color Box.Use and to go back to the first day or the End day of Month respectively. Use and to increase or decrease one Month and don’t lose the “BookMark”. You can choose with one Mouse click or Double Click to collapse the Calendar. And,The Calendar has True HotTracking and Hover Selection Functionality!!! XPCalendar is totally designed for what your need!!!