David Adam <david.adam.cnrs at gmail.com> wrote: > + default_style = WS_OVERLAPPEDWINDOW | WS_VISIBLE | WS_BORDER | WS_CHILD | always_set_style; WS_OVERLAPPEDWINDOW is a macro that includes many other window styles, please don't use it and test other used styles explicitly. -- Dmitry.