Sign in to follow this  
Followers 0
ReFran

How to use "SysDateTimePick32" Control

4 posts in this topic

Hi,

does somebody know how to use it?

I don't can be called a dll expert. In this forum I found only an unanswered question.

Attached a use of it from the Internet, which I don't understand

Any help would be fine?

Best regards, Reinhard

Structure INITCOMMONCONTROLSEX 
  dwSize.l 
  dwICC.l 
EndStructure 

InitICC.INITCOMMONCONTROLSEX 
InitICC\dwSize = SizeOf(INITCOMMONCONTROLSEX) 
InitICC\dwICC = #ICC_DATE_CLASSES 

InitCommonControlsEx_(InitICC) 
OpenWindow(0,200,200,200,200,#PB_Window_SystemMenu,"test") 
If CreateGadgetList(WindowID()) 
picker1=CreateWindowEx_(0,"SysDateTimePick32","",#WS_CHILD|#WS_VISIBLE|12+2,10,10,100,25,WindowID(),0,GetModuleHandle_(0),0) 
  picker2=CreateWindowEx_(0,"SysDateTimePick32","",#WS_CHILD|#WS_VISIBLE|12,10,40,100,25,WindowID(),0,GetModuleHandle_(0),0) 
EndIf 
Repeat 
  EventID=WaitWindowEvent() 
Until EventID=#PB_EventCloseWindow 

CloseWindow(0)

Share this post


Link to post
Share on other sites



#4 ·  Posted (edited)

....... _GUICtrlDTP_Create

....... In Autoit is GUICtrlCreateDate() function.

Ohhh, I see.

I'm sure I used the top search function. The GUI I saw "SysDateTimePick23" (au3Info) looked a little bit different = with checkboxes for the datepick, so I thought it would be something special.

..... You may also use Koda for GUI creation.

I used it in the start up. But for a GUI with vert./horizontal splitter, with different tabs on tabs and resizable I found it's more simple to do it direct in Scite. Nearly all controlls are defined flexible, based on main GUI, so changes in development can be done easy.

Thanks both for the help,

Reinhard

Edited by ReFran

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0