Why are there incompatible Window Style's set?

Does anyone know why there are incompatible Window Styles set in a default clarion window?

So Clarion Properties set are

Window WINDOW('Window Title'),AT(,,260,180),CENTER,SYSTEM,GRAY,DOUBLE

Below is what windows is reporting for the Window style.

Loc:StyleDefaultOriginal    = ISWA_GetWindowLongA( Loc:WindowHandle, ISEQ:WindowStyle:GWL_STYLE)  ! Sets/Gets a new window style.

Loc:DWS:WS_BORDER           = Band(Loc:StyleDefaultOriginal, ISEQ:WS_BORDER ) ! Set
Loc:DWS:WS_CAPTION          = Band(Loc:StyleDefaultOriginal, ISEQ:WS_CAPTION ) ! Set
Loc:DWS:WS_CHILD            = Band(Loc:StyleDefaultOriginal, ISEQ:WS_CHILD )
Loc:DWS:WS_CHILDWINDOW      = Band(Loc:StyleDefaultOriginal, ISEQ:WS_CHILDWINDOW )
Loc:DWS:WS_CLIPCHILDREN     = Band(Loc:StyleDefaultOriginal, ISEQ:WS_CLIPCHILDREN ) ! Set
Loc:DWS:WS_CLIPSIBLINGS     = Band(Loc:StyleDefaultOriginal, ISEQ:WS_CLIPSIBLINGS ) ! Set
Loc:DWS:WS_DISABLED         = Band(Loc:StyleDefaultOriginal, ISEQ:WS_DISABLED )
Loc:DWS:WS_DLGFRAME         = Band(Loc:StyleDefaultOriginal, ISEQ:WS_DLGFRAME ) ! Set
Loc:DWS:WS_GROUP            = Band(Loc:StyleDefaultOriginal, ISEQ:WS_GROUP )
Loc:DWS:WS_HSCROLL          = Band(Loc:StyleDefaultOriginal, ISEQ:WS_HSCROLL )
Loc:DWS:WS_ICONIC           = Band(Loc:StyleDefaultOriginal, ISEQ:WS_ICONIC )
Loc:DWS:WS_MAXIMIZE         = Band(Loc:StyleDefaultOriginal, ISEQ:WS_MAXIMIZE )
Loc:DWS:WS_MAXIMIZEBOX      = Band(Loc:StyleDefaultOriginal, ISEQ:WS_MAXIMIZEBOX )
Loc:DWS:WS_MINIMIZE         = Band(Loc:StyleDefaultOriginal, ISEQ:WS_MINIMIZE )
Loc:DWS:WS_MINIMIZEBOX      = Band(Loc:StyleDefaultOriginal, ISEQ:WS_MINIMIZEBOX )
Loc:DWS:WS_OVERLAPPED       = Band(Loc:StyleDefaultOriginal, ISEQ:WS_OVERLAPPED )
Loc:DWS:WS_POPUP            = Band(Loc:StyleDefaultOriginal, ISEQ:WS_POPUP ) ! Set
Loc:DWS:WS_SIZEBOX          = Band(Loc:StyleDefaultOriginal, ISEQ:WS_SIZEBOX )
Loc:DWS:WS_SYSMENU          = Band(Loc:StyleDefaultOriginal, ISEQ:WS_SYSMENU ) ! Set
Loc:DWS:WS_TABSTOP          = Band(Loc:StyleDefaultOriginal, ISEQ:WS_TABSTOP )
Loc:DWS:WS_THICKFRAME       = Band(Loc:StyleDefaultOriginal, ISEQ:WS_THICKFRAME )
Loc:DWS:WS_TILED            = Band(Loc:StyleDefaultOriginal, ISEQ:WS_TILED )
Loc:DWS:WS_VISIBLE          = Band(Loc:StyleDefaultOriginal, ISEQ:WS_VISIBLE ) ! Set
Loc:DWS:WS_VSCROLL          = Band(Loc:StyleDefaultOriginal, ISEQ:WS_VSCROLL )


!ISEQ:WS_BORDER               EQUATE(000800000h)   ! The window has a thin-line border.
!ISEQ:WS_CAPTION              EQUATE(000C00000h)   ! The window has a title bar (includes WS_BORDER).
!ISEQ:WS_CHILD                EQUATE(040000000h)   ! The window is a child window; cannot have a menu bar.
!ISEQ:WS_CHILDWINDOW          EQUATE(040000000h)   ! Same as WS_CHILD.
!ISEQ:WS_CLIPCHILDREN         EQUATE(002000000h)   ! Excludes child window areas when drawing parent.
!ISEQ:WS_CLIPSIBLINGS         EQUATE(004000000h)   ! Clips overlapping child windows during WM_PAINT.
!ISEQ:WS_DISABLED             EQUATE(008000000h)   ! Window is initially disabled.
!ISEQ:WS_DLGFRAME             EQUATE(000400000h)   ! Dialog-style border; no title bar.
!ISEQ:WS_GROUP                EQUATE(000020000h)   ! First control in a group; used for navigation.
!ISEQ:WS_HSCROLL              EQUATE(000100000h)   ! Horizontal scroll bar.
!ISEQ:WS_ICONIC               EQUATE(020000000h)   ! Initially minimized (same as WS_MINIMIZE).
!ISEQ:WS_MAXIMIZE             EQUATE(001000000h)   ! Initially maximized.
!ISEQ:WS_MAXIMIZEBOX          EQUATE(000010000h)   ! Maximize button; requires WS_SYSMENU.
!ISEQ:WS_MINIMIZE             EQUATE(020000000h)   ! Initially minimized (same as WS_ICONIC).
!ISEQ:WS_MINIMIZEBOX          EQUATE(000020000h)   ! Minimize button; requires WS_SYSMENU.
!ISEQ:WS_OVERLAPPED           EQUATE(000000000h)   ! Overlapped window (same as WS_TILED).
!ISEQ:WS_POPUP                EQUATE(080000000h)   ! Pop-up window; incompatible with WS_CHILD.
!ISEQ:WS_SIZEBOX              EQUATE(000040000h)   ! Sizing border (same as WS_THICKFRAME).
!ISEQ:WS_SYSMENU              EQUATE(000080000h)   ! Window menu on title bar; requires WS_CAPTION.
!ISEQ:WS_TABSTOP              EQUATE(000010000h)   ! Control can receive focus via TAB key.
!ISEQ:WS_THICKFRAME           EQUATE(000040000h)   ! Sizing border (same as WS_SIZEBOX).
!ISEQ:WS_TILED                EQUATE(000000000h)   ! Overlapped window (same as WS_OVERLAPPED).
!ISEQ:WS_VISIBLE              EQUATE(010000000h)   ! Window is initially visible.
!ISEQ:WS_VSCROLL              EQUATE(000200000h)   ! Vertical scroll bar.

So if WS_CAPTION is set, then it sets WS_BORDER. Fair enough.
But then WS_DLGFRAME is set which is "Dialog-style border; no title bar.", thus conflicting with WS_CAPTION.

The comments for the equates were generated by co-pilot, which is why it says "incompatible". Its handy for cutting and pasting tables from msdn and converting them into clarion formats. Much quicker than I could cut'n'paste or type them out.

Any ideas?

TIA

Interesting stuff and we will no doubt soon discover as AI Claude has generated a CPP bindable for formatting WIN32 API Controls and we will soon see what styles and format clarion win32 controls conform to for styling.. If you dont have old clarion code platforms its really problematic to use clarion for New projects.. Azure since 2021 support serverless containers (linux) and you can host anything you like let AI generate your code and placing it in the cloud… Really only left for the likes of products like clarion are desktop apps… calls into question developing using windows tools… The Linux side of our develop took over simply because it had superior tools in a high tech new technology developed by R&D… an emulation binding software machine…bye bye windows develop… had to move to the linux side..

Where is this?

I saw this on HN the other day.

Seems they have had a bit of Ai to bolt in for a while, this blog post is from Aug 2021.

The way forward is multi platform development. C/C++ devs have had an advantage in being able to port their code to multi platforms, where as Clarion is the runtime which is tied to Windows.

My code generator, which I had been developing using the appgen and templates would have solved that problem, as I wrote it to produce code for any platform, but my backups got wiped in Feb and I’ve still not been able to get in off the streets to spend some time doing a forensic data recovery. Even the street sleeping homeless, like me, are used as examples to help push up house prices in this country, by being that example to others to work harder, and I’d have been housed more quickly and paid more benefits if I committed a crime and went to prison, the British state has incentivised crime!

Once the code for styling the controls that CLAUDE generated in clarion is tested ill send it to Mark who admins this site and will be free for him to look at and perhaps send it on to Clarionlive web site for conservation. It will be a while but if the Claude code style clarion controls we will hand it on to Mark..