Click here to Skip to main content
15,911,711 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hello All,

I am using DATETIMEPICK_CLASS class to draw DatetiemPicker control. By default I want it to be editable, later based on some condition I have to set it readonly/non-editable hence I can not pass WS_DISABLED to CreateWindowEx() method. ( while creation time)

can you please help me how to set DatetimePicker control readonly/non-editable after drawing it.
do we have any message that can be used?


Regards,
Joy
Posted

1 solution

Hi

This link is use ful for u.

http://forums.codeguru.com/showthread.php?79904-Enable-and-Disable-Date-Time-Picker
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900