Hi Larry,
You misunderstood me. Starting with Windows XP Windows comes with two
different versions of comctl32.dll: Version 5.8x which does not support
XP themes and is pretty much the same version as the one that was part
of Windows 2000. And there's version 6.x which is required if you want
your app to be themed. Version 6.x also supports many additional
features like list view groups.
By default your app will use version 5.8x. To make it use 6.x you need
to provide a manifest. See the docs for details. Newer versions of
Visual C++ will include this manifest into your app by default.
So what I tried to tell you is that you need to make sure that your app
uses version 6.x instead of 5.8x of comctl32.dll.
> Everything else in the structure is unchanged from zero, including
> hwndEdit and the other handles.
>
> I'm developing on Win 7, but many are using XP, and I'd like to be
> compatible with that OS.
>
> Is there a technique to find the edit window that works in XP and Win
> 7, or works at all?
Comctl32.dll 6.x is not redistributable and according to the docs the
DTM_GETDATETIMEPICKERINFO message has been introduced with Windows
Vista. So if your code has to work on Windows XP as well,
DTM_GETDATETIMEPICKERINFO cannot be used (at least not for XP - maybe
you could use it on Vista/7 and somehow emulate it for XP).
Regards