Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get control type in a dialog procedure
#1
I wonder whether there exists a way to get the class of a control within a dialog procedure. Precisely, I would like to know if the class of a control with a given id number is a SysDateTimePick32 control. Many thanks in advance.

Workaround which it worked :

Function tempf09
Code:
Copy      Help
int w=win("Calculate Span in Days" "#32770")
int c=id(3 w)
int j=childtest(c "" "SysDateTimePick32")
out j
#2
int j=WinTest(c "SysDateTimePick32")

or

str s
s.getwinclass( c )


Forum Jump:


Users browsing this thread: 1 Guest(s)