Re: DataTime Picker with API

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Stephen Lebans (ForEmailGotoMy.WebSite.-WWWdotlebansdotcom_at_linvalid.com)
Date: 05/21/04


Date: Fri, 21 May 2004 14:24:46 -0300

All I ever get is complaints from users wanting more functionality..this
is a first!<grin>

In the code module named "modCalendar" find the ShowMonthCalendar
function.
Scroll down to the API call to CreateWindowEx
Change the one line reading:
hMenu, _
instead to
0&, _

That's it. Save and compile the project. The Menus will not appear in
the MonthCalendar window.
:-)

--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Steve Conklin (Dev@UltraDNT)" <developer@ultradnt.com> wrote in message
news:eJg6rw0PEHA.3988@tk2msftngp13.phx.gbl...
> Newbie here ... if there is more appropriate list, let me know.
>
> I am trying to incorporate the DTP API into an Access app as per free
> download on www.lebans.com , however, it actually gives my users too
many
> options; I would like to hard code the properties and eliminate the
options
> menus, but I am unsure how to turn these off.
>
> TIA
>
>
>