OLE Datepicker control [message #443495] |
Sat, 25 September 2004 09:22  |
Eclipse User |
|
|
|
hi all,
i was looking for an datepicker control in swt and found two of them, which
was not that good looking. So, i thought i will go ahead and write my own
version of OLE datepicker, similar to the Browser control provided in the
swt package. i have exposed almost all the functionalities provided in
windows datepicker control, and was unable to figure out how to add
evenlisteners for the control. If anyone has any idea about how to hook
listeners to activex controls from SWT, kindly let me know, so that i will
be able to upgrade this control.
balaji kandan
w: http://www.orangescape.com
|
|
|
|
Re: OLE Datepicker control [message #443567 is a reply to message #443522] |
Tue, 28 September 2004 10:25   |
Eclipse User |
|
|
|
hi Tiberiu,
i looked at it, and it was not that impressive given the bugs and less
activity in the group. There are two plugins available, but the other opens
up a new window, and i need a combo like control.
and for the eventlisteners, if u look in to the Browser control, there will
be lot of constants declared with some hexa-decimal value. without knowing
where to find that information, i wont be able to implement evetlisteners.
btw, this control will work only if mscomct32.ocx is present in the system.
balaji
"Tiberiu Caprita" <capritat@hotmail.com> wrote in message
news:cj8huc$g4o$1@eclipse.org...
> Hi Balaji,
> if you are looking for a DatePicker in Windows, you can use those exposed
> by Microsoft:
> MSComCtl2.DTPicker or MSComCtl2.MonthView (found in MSCOMCT2.OCX).
>
> In order to kook event listeners, you have to use OleControlSite class.
>
> Tiberiu
> PS There is already a DatePicker written with SWT classes
> (http://sourceforge.net/projects/swt-datepicker).
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.08059 seconds