01-28-2025, 02:58 PM
(This post was last modified: 01-28-2025, 02:59 PM by Pierre Bellisle.)
This is what I mean by ... I was hoping it worked also in code section.
Code:
[b][color=#0000FF]FUNCTION PBMAIN[/color]()
[color=#0000FF]DIALOG NEW[/color] [color=#8000FF]%HWND_DESKTOP[/color] ,[color=#800040]"Center Dialog - Move me"[/color], , , [color=#FF0000]200[/color], [color=#FF0000]150[/color], _
[color=#8000FF]%WS_CAPTION[/color] [color=#0000FF]OR[/color] [color=#8000FF]%WS_MINIMIZEBOX[/color] [color=#0000FF]OR[/color] [color=#8000FF]%WS_MAXIMIZEBOX[/color] [color=#0000FF]OR[/color] [color=#8000FF]%WS_SIZEBOX[/color] [color=#0000FF]OR[/color] [color=#8000FF]%WS_SYSMENU[/color], [color=#8000FF]%WS_EX_LEFT[/color] [color=#0000FF]TO[/color] hDlg
[b][i][color=#008080]'%WS_CAPTION OR %WS_MINIMIZEBOX OR %WS_SYSMENU, %WS_EX_TOPMOST TO hDlg[/color][/i][/b]
[color=#0000FF]CONTROL ADD BUTTON[/color], hDlg, [color=#8000FF]%ButtonMsg[/color], [color=#800040]"MessageBox"[/color], [color=#FF0000]50[/color], [color=#FF0000]60[/color], [color=#FF0000]100[/color], [color=#FF0000]14[/color]
[color=#0000FF]DIALOG SHOW MODAL[/color] hDlg [color=#0000FF]CALL[/color] DlgProc
[color=#0000FF]END FUNCTION[/color][/b]