Skip to main content

[archive] w$menu-changes window size

  • January 8, 2008
  • 5 replies
  • 0 views

[Migrated content. Thread originally posted on 07 January 2008]

In my menu program, I display an initial window using auto-resize auto-miminimize. The screen window covers the viewable screen as I would like for it to do. When I call w$menu using wmenu-show, the window size is reduced by about 1/3. Why does this happen and is it preventable. After this occurs, I can minimize, then maximise and the window looks like it did prior to the w$menu call. I would like not to have to do this however,

5 replies

[Migrated content. Thread originally posted on 07 January 2008]

In my menu program, I display an initial window using auto-resize auto-miminimize. The screen window covers the viewable screen as I would like for it to do. When I call w$menu using wmenu-show, the window size is reduced by about 1/3. Why does this happen and is it preventable. After this occurs, I can minimize, then maximise and the window looks like it did prior to the w$menu call. I would like not to have to do this however,
As always, a little code to illustrate the problem won't hurt...

However, it sounds to me like it is the "fit" technique that triggers, when menues were first introduced, it was significant that they could be adopted to existing screens with the least effort. This would then have the side effect of the resizing you see.

If this is it, I doubt this will change as I cannot recall having seen anyone complaining about this before, but for a start you will have to run this by support.

[Migrated content. Thread originally posted on 07 January 2008]

In my menu program, I display an initial window using auto-resize auto-miminimize. The screen window covers the viewable screen as I would like for it to do. When I call w$menu using wmenu-show, the window size is reduced by about 1/3. Why does this happen and is it preventable. After this occurs, I can minimize, then maximise and the window looks like it did prior to the w$menu call. I would like not to have to do this however,
As always, a little code to illustrate the problem won't hurt...

However, it sounds to me like it is the "fit" technique that triggers, when menues were first introduced, it was significant that they could be adopted to existing screens with the least effort. This would then have the side effect of the resizing you see.

If this is it, I doubt this will change as I cannot recall having seen anyone complaining about this before, but for a start you will have to run this by support.

[Migrated content. Thread originally posted on 07 January 2008]

In my menu program, I display an initial window using auto-resize auto-miminimize. The screen window covers the viewable screen as I would like for it to do. When I call w$menu using wmenu-show, the window size is reduced by about 1/3. Why does this happen and is it preventable. After this occurs, I can minimize, then maximise and the window looks like it did prior to the w$menu call. I would like not to have to do this however,
In our programs we had similar problem with the window not displaying correctly after calling the W$MENU command. Some of our controls at the bottom of the window would just not display until the user did a minimize/maximize. We finally got runtime 7.2.2 and the problem went away.

[Migrated content. Thread originally posted on 07 January 2008]

In my menu program, I display an initial window using auto-resize auto-miminimize. The screen window covers the viewable screen as I would like for it to do. When I call w$menu using wmenu-show, the window size is reduced by about 1/3. Why does this happen and is it preventable. After this occurs, I can minimize, then maximise and the window looks like it did prior to the w$menu call. I would like not to have to do this however,
In our programs we had similar problem with the window not displaying correctly after calling the W$MENU command. Some of our controls at the bottom of the window would just not display until the user did a minimize/maximize. We finally got runtime 7.2.2 and the problem went away.

[Migrated content. Thread originally posted on 07 January 2008]

In my menu program, I display an initial window using auto-resize auto-miminimize. The screen window covers the viewable screen as I would like for it to do. When I call w$menu using wmenu-show, the window size is reduced by about 1/3. Why does this happen and is it preventable. After this occurs, I can minimize, then maximise and the window looks like it did prior to the w$menu call. I would like not to have to do this however,
I'd also hedge a bet that there is a non zero value in "Min Lines/Min Size"