calendar control
BlitzMax Forums/BlitzMax Beginners Area/calendar control| 
 | ||
| Hello, is possible to have the windows calendar control/calendar combo and date/time editor ? Maybe with the direct use of comctrl32.dll ? | 
| 
 | ||
| It is possible, but you would have to code it yourself. Or use wxMax? | 
| 
 | ||
| Or maybe try degac's calender gadget (MaxGui ProxyGadget): http://www.blitzbasic.com/Community/posts.php?topic=85151#962708 Should be cross-platform. | 
| 
 | ||
| Degac's is nice, but personally I'd still be interested in finding out how to use the native windows control as well... | 
| 
 | ||
| Somebody can help me ? I try that : but that don't work. Any idea ???? | 
| 
 | ||
| This modifed version shows the calender I had to change a few things in your code. One of the main ones being: ="CreateWindowExW@48" to ="CreateWindowExA@48" The other being: InitCommonControlsEx(Varptr (icex)) to InitCommonControlsEx(Byte Ptr (icex)) | 
| 
 | ||
| I have a calendar ! Thx to jim brown how to interact with ? Receive event ? I can't send message to change date... | 
| 
 | ||
| Your undefined variables in _systemtime are INT by default Change as follows to fix the SendMessage call to change the date Type _systemtime Field year:Short,month:Short,dayofweek:Short,day:Short Field hour:Short,minute:Short,second:Short,milliseconds:Short EndType I have no time at the moment to look at the event side of things though |