CreateWindow issue?

Bill Medland medbi01 at accpac.com
Thu Jun 28 17:45:29 CDT 2001


Can anyone shed any light on this?

1.
If I take Petzold's POPPAD1 project and slightly modify it so that the
style is
WS_CHILD | WS_BORDER | WS_VISIBLE | ES_AUTOHSCROLL
and then spy on the WM_NCCREATE and WM_CREATE it tells me that the style
passed in is
WS_OVERLAPPEDWINDOW | WS_CHILDWINDOW | WS_VISIBLE | ES_AUTOHSCROLL
which is not the same thing.

Does anyone know if
a. The Windows Spy++ is telling fibs
b. (Win95) CreateWindow patches them up in some way.


2. (Why I was even looking at 1)
In the application I am working on we open Edit controls almost as above
inside dialogs and they appear with a single pixel solid frame under
Windows whereas under Wine they appear with a 2-pixel sunken frame.  There
are several changes I can make in the controls/edit.c to get the same
behaviour under Wine but so far they all "mess up" normal sunken ones.

(Under windows the resulting windows end up with zero extended style and
50000088 style.)

Any thoughts would be appreciated.

Bill





More information about the wine-devel mailing list