Dirk1
September 22, 2026, 9:01am
1
Hi All,
I have ie this procedure declaration inside the global map
SubclassMDIChild PROCEDURE(LONG pHwnd, STRING pShortText),LONG
After running i get an error Expected: (,*;
because it jumps to column 6
before! it stayed on column 1
C11
Single but big app
Any ideas?
If i try this app all works
[ClarionSubClassMDITabsDemo]
I created this demo in response to a post in the Clarion newsgroups asking about how to shorten the window titles when using the MDI tab feature of Clarion on an appframe.
Here is a demo app in C11 that shows how to do it.
https://www.clarionproseries.com/download/SubClassMDITabs.zip
It has five MDI windows and the code applied to three of them so you can
see how it works and what it is like without it.
I hope this helps someone in the future!
Charles
Hi Dirk,
There are two ways to fix this.
First is to mark the embed a column 1
Or use the “short form” definition
SubclassMDIChild(LONG pHwnd, STRING pShortText),LONG
Mark
jslarve
September 22, 2026, 11:56am
3
take the word PROCEDURE out, then it won’t need to be on column 1
I prefer to use the the “short form” definition rather than Column 1. If I copy the embed code into another App I won’t run into compile errors until I remember to go back and check Column 1.