This is the mail archive of the cygwin@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
Re: DateTime Picker and MonthCal ctrl. under b20.
- To: Nirmal Prasad <nprasad@truept.com>
- Subject: Re: DateTime Picker and MonthCal ctrl. under b20.
- From: Anders Norlander <anorland@hem2.passagen.se>
- Date: Wed, 10 Mar 1999 08:29:06 +0100
- CC: cygwin@sourceware.cygnus.com
- Delivered-To: listarch-cygwin@sourceware.cygnus.com
- Delivered-To: mailing list cygwin@sourceware.cygnus.com
- Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
- References: <001401be6a78$1472cc00$bf6f1e26@np_home_pc>
- Sender: cygwin-owner@sourceware.cygnus.com
Nirmal Prasad wrote:
>
> Hi there,
>
> I happened to notice that there was no support for the Date-Time Picker and
> Month Control under gnu-win32 b20. Well i have put in the necessary message
> constants , macros and structures into the various files but i found that
> the CommonControl library (libComCtl32.a does not have an export called
> InitCommonControlsEx.) I have a comctl32.dll that has this exported function
> but my question is how was libcomctl32.a built. ( Pls. correct me if i am
> wrong .. i was looking for something like implib). It will be great if
> someone could tell me how i could build a new libcomctl32.a
InitCommonControlsEx and related things are new features of the win32
gui
and they are not (as you've noticed) in any headers or import libraries.
Get the .def file for comctl32.dll (comtl32.def) and add the line:
InitCommonControlsEx@4
To build the library execute:
dlltool -k --output-lib libcomtl32.a --dllname comctl32.dll --def
comctl32.def
You also have to add the prototype for InitCommonControlsEx to
commctrl.h
(don't forget WINAPI). Could you send me your patches?
Get the def file from the mingw32 package
http://www.fu.is.saga-u.ac.jp/~colin/gcc.html
or from the GNU Windows32 library
or from the cygwin source distribution.
Anders
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com