Hey there!
I'm having trouble once again.
I'm currently trying to change the format of a DateTimeControl using the DTM_SETFORMAT message like this:
code:
var DTM_SETFORMAT = 0x1032;
Wnd.SendControlMessage('DatCDDate', DTM_SETFORMAT, 0, Language.WndSettings['DateFormat']);
where:
- Wnd is the PlusWnd object containing the control
- DatCDDate is the name of the DateTimeControl
- Language.WndSettings['DateFormat'] is a string containing the new format (e.g.: "dd'/'MM'/'yyyy")
And the problem? It doesn't work.
Information about this message can be found on this
MSDN page.
S.O.S.!