Menu

#605 GetMenu and SetMenu called for children

8
pending
Internal (141)
1
2025-04-26
2025-04-26
No

According to the Windows API documentation for ::GetMenu the return value is undefined if the window is a child (has the style WS_CHILD). Also, ::SetMenu will fail if the window is a child.

OWL does not take any notice of this. GetMenu and SetMenu are called without ensuring the window is not a child, while ignoring any failures.

Related

Commit: [r7771]
Discussion: TMDIChild::GetMenu returns non-handle!
Wiki: OWLNext_Roadmap_and_Prereleases

Discussion

  • Vidar Hasfjord

    Vidar Hasfjord - 2025-04-26
    • status: open --> pending
     

Log in to post a comment.