| View previous topic :: View next topic |
| Author |
Message |
steveDoyle
Joined: 04 Sep 2009 Posts: 125 Location: Manchester
|
Posted: Mon Oct 27, 2025 8:53 pm Post subject: %NC message but never called |
|
|
Hi
in one of my apps i an getting a message
Invalid format code order %NC cannot preceed %MI
but i never call %NC
any ideas?
thanks
steve |
|
| Back to top |
|
 |
mecej4
Joined: 31 Oct 2006 Posts: 1925
|
Posted: Tue Oct 28, 2025 3:31 am Post subject: |
|
|
| In addition to answering your question, the incorrectly spelled word "preceed" needs to be replaced. |
|
| Back to top |
|
 |
steveDoyle
Joined: 04 Sep 2009 Posts: 125 Location: Manchester
|
Posted: Tue Oct 28, 2025 9:53 am Post subject: |
|
|
i copied the message from the feedback dialogue so i guess silverfrost needs to update the text
steve |
|
| Back to top |
|
 |
steveDoyle
Joined: 04 Sep 2009 Posts: 125 Location: Manchester
|
Posted: Tue Oct 28, 2025 1:50 pm Post subject: |
|
|
Hi Guys
I managed to sort out the issue. Th %mi was actually being called twice for the same window. once i deleted the second call the app worked as expected
the clearwin feedback messages may need to be revised to handle this situation
regards
steve |
|
| Back to top |
|
 |
LitusSaxonicum
Joined: 23 Aug 2005 Posts: 2430 Location: Yateley, Hants, UK
|
Posted: Wed Oct 29, 2025 6:08 pm Post subject: |
|
|
| Everybody probably knows this already, but %mi has a side effect, and that is that the icon serves as a pathway into maximising the window, especially from the taskbar when the window is minimised. Hence no a good idea to include it for any dialogs, or for a fixed-size window. |
|
| Back to top |
|
 |
steveDoyle
Joined: 04 Sep 2009 Posts: 125 Location: Manchester
|
Posted: Wed Oct 29, 2025 7:19 pm Post subject: |
|
|
HI
Thanks for the heads up. I was unaware of this side effect. i will explore my dialogs and see what the effects are
steve |
|
| Back to top |
|
 |
LitusSaxonicum
Joined: 23 Aug 2005 Posts: 2430 Location: Yateley, Hants, UK
|
Posted: Thu Nov 27, 2025 8:59 pm Post subject: |
|
|
Steve, did you see what I mean?
Paul, I notice that a variety of applications (examples Microsoft Solitaire & games, Google Chrome) are minimisable, but don't display a minimise icon on their main window. I hink that in the original, early, versions of Windows, the minimise, maximise etc actions were in the drop-down menu from the application icon on the task bar. It was a later development to put the icons on the RHS of the caption bar, although that is now the norm.
My suggestion is to have a variant of %mi such that the icon is put on the task bar when the application main window is minimised, but not displayed on the application caption bar. |
|
| Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8300 Location: Salford, UK
|
Posted: Fri Nov 28, 2025 8:03 am Post subject: |
|
|
| I have fixed the spelling mistake and made a note about the %mi suggestion. |
|
| Back to top |
|
 |
|