Last active
June 24, 2020 15:39
-
-
Save CarlTBarnes/ed29557b7142ec4695f7d460cabef3fd to your computer and use it in GitHub Desktop.
Cascade open MDI Child windows like Clarion RTL STD:CascadeWindow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MAP | |
MODULE('Win32') | |
SendMessageA(LONG hWnd, LONG nMsg, LONG wParam, LONG lParam),LONG,PROC,PASCAL,DLL(1) | |
!https://docs.microsoft.com/en-us/windows/win32/winmsg/wm-mdicascade | |
. . | |
CascadeWindows ROUTINE !Like STD:CascadeWindow Clarion RTL | |
!Message must be sent to the Frame MDI Client Handle and not the Frame Handle | |
SendMessageA( AppFrame{PROP:ClientHandle} , 0227H, 4, 0) | |
EXIT | |
! SendMessage( MdiCLientWindow , WM_MDICASCADE , MDITILE_Xxxxx, 0) | |
! WM_MDICASCADE equate(0227H) | |
! wParam The cascade behavior. This parameter can be one or more of the following values. | |
! Value Meaning | |
! MDITILE_SKIPDISABLED 0x0002 Prevents disabled MDI child windows from being cascaded. | |
! MDITILE_ZORDER 0x0004 Arranges the windows in Z order. | |
! lParam Always Zero |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment