DataTime Picker with API

  • Thread starter Thread starter Steve Conklin \(Dev@UltraDNT\)
  • Start date Start date
S

Steve Conklin \(Dev@UltraDNT\)

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
 
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.
 
You don't know my users LOL ...

as far as the parameter --- THANK YOU !!
 
Back
Top