Author Topic: How to modify the border width of win-os2 seamless window?  (Read 2807 times)

KO Myung-Hun

  • Jr. Member
  • **
  • Posts: 89
  • Karma: +12/-0
    • View Profile
How to modify the border width of win-os2 seamless window?
« on: October 28, 2025, 12:25:10 pm »
Hi/2.

Since when, the border width of WIN-OS2 seamless window has been too thick. And I cannot modify it. Even if I modify the value of BorderWidth in WIN.INI, it does not have any effects on WIN-OS2 seamless window at all.

I attach the appearance of my WIN-OS2 seamless window and WIN-OS2 full screen.

Any idea ?

KO Myung-Hun

Lars

  • Hero Member
  • *****
  • Posts: 1471
  • Karma: +74/-0
    • View Profile
Re: How to modify the border width of win-os2 seamless window?
« Reply #1 on: October 29, 2025, 12:21:21 pm »
I don't pretend to understand it but just a gut feeling: have you tried and toogle between different OS/2 Desktop schemes ? Maybe that helps.
If there is something like Window Desktop schemes (I cannot remember) you can try that, too.

Are you using the default drivers (that come with GRADD, I think) for fullscreen and seamless Windows or have you replaced these with the Windows drivers that Martin is advertising:
https://www.os2world.com/forum/index.php/topic,3836.msg49420/topicseen.html#new

?
« Last Edit: October 29, 2025, 01:03:31 pm by Lars »

KO Myung-Hun

  • Jr. Member
  • **
  • Posts: 89
  • Karma: +12/-0
    • View Profile
Re: How to modify the border width of win-os2 seamless window?
« Reply #2 on: November 03, 2025, 07:39:44 am »
Hi/2.

Sorry too late.

1. OS/2 desktop schemes do not have any effects on WIN-OS/2 seamless session. Desktop in WIN-OS2 Contrl Panel does not change the width of border, too.

2. I'm already using vbesvga.drv for full screen, and isgdi2vm.drv for seamless window. ifgdi2vm.drv for full screen is the same as vbesvga.drv in aspect of width of border.


Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5533
  • Karma: +49/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: How to modify the border width of win-os2 seamless window?
« Reply #3 on: November 03, 2025, 06:37:15 pm »
Hello KO Myung-Hun

I'm speechless because I don't know how did you pull that. I can not find any information about BorderWidth in WIN.INI for Windows 3.1

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Lars

  • Hero Member
  • *****
  • Posts: 1471
  • Karma: +74/-0
    • View Profile
Re: How to modify the border width of win-os2 seamless window?
« Reply #4 on: November 04, 2025, 08:41:10 am »
What happens if you maximize and then restore a window while in seamless mode ?

Another idea: open Windows in full screen mode, go to ProgramManager->ControlPanel->Desktop and set "Border Width" to say 3. Maybe you need to change back and forth between two values. The default value seems to be 3. Note that this will not be possible if you are in seamless mode !

If that still does not help: there are entries in OS2.INI like "WIN_RES_x". In each of these there are 4 keys that reference what windows display driver is in use for fullscreen and seamless, respectively. Maybe you will have to manually update each of these to match your settings in system.ini.
« Last Edit: November 04, 2025, 08:53:52 am by Lars »

David McKenna

  • Hero Member
  • *****
  • Posts: 916
  • Karma: +36/-0
    • View Profile
Re: How to modify the border width of win-os2 seamless window?
« Reply #5 on: November 04, 2025, 12:07:49 pm »
Lars,

  I never paid much attention to those 'Win_Res_xx' entries in OS2.ini - but noticed there is no entry for 1920x1080 resolutions. Do you know if this can be manually added? It looks like, besides the display drivers (entries 51 and 52), the entries only determine the font to use. If they can be added, then using the github screen driver, 1920x1080 could be added to explicitly call out that driver (which is what it seems to be good for). Anyone know of a document that describes these settings in OS2.ini?

Regards,

Lars

  • Hero Member
  • *****
  • Posts: 1471
  • Karma: +74/-0
    • View Profile
Re: How to modify the border width of win-os2 seamless window?
« Reply #6 on: November 04, 2025, 01:53:16 pm »
The best I can think of is to look into "Presentation Manager Driver" source code and see how it is being used. Other than that, I would not know.

KO Myung-Hun

  • Jr. Member
  • **
  • Posts: 89
  • Karma: +12/-0
    • View Profile
Re: How to modify the border width of win-os2 seamless window?
« Reply #7 on: November 05, 2025, 12:55:24 pm »
What happens if you maximize and then restore a window while in seamless mode ?

Nothing.

Quote
Another idea: open Windows in full screen mode, go to ProgramManager->ControlPanel->Desktop and set "Border Width" to say 3. Maybe you need to change back and forth between two values. The default value seems to be 3. Note that this will not be possible if you are in seamless mode !

If that still does not help: there are entries in OS2.INI like "WIN_RES_x". In each of these there are 4 keys that reference what windows display driver is in use for fullscreen and seamless, respectively. Maybe you will have to manually update each of these to match your settings in system.ini.

I already did what you said, but no helps.

Even though I renamed my MDOS dir and copied a MDOS dir from other OS/2 installation and reset to VGA mode, they do not change anything.

I don't understand that the border width of a seamless window comes from where.

KO Myung-Hun

  • Jr. Member
  • **
  • Posts: 89
  • Karma: +12/-0
    • View Profile
Re: How to modify the border width of win-os2 seamless window?
« Reply #8 on: November 07, 2025, 01:14:58 pm »
I've found a clue. If disabling XWP v1.0.17, the border width is back to 5 from 28.

At least, XWP is related to this problem, and I've found the clue to fix too thick border width of WIN-OS2 seamless window.
« Last Edit: November 07, 2025, 01:17:36 pm by KO Myung-Hun »

KO Myung-Hun

  • Jr. Member
  • **
  • Posts: 89
  • Karma: +12/-0
    • View Profile
Re: How to modify the border width of win-os2 seamless window?
« Reply #9 on: November 07, 2025, 01:54:49 pm »
Ok, I've found the cause for the border width being too thick. It's PM Downloader. PM Downloader was in XWorkplace Startup Folder. So when disabling XWorkplace, PM Downloader does not start and the border width of WIN-OS2 seamless window becomes normal.

More precisely, if PM Downloader has too many downloaded items, this problem occurs. Cleaning the item list fixes this problem. This seems to be a memory corruption problem.

Conversely, with using this it would be possible to modify the border width of WIN-OS2 seamless window. But it is not worth doing it.