DevCon for OS/2 - Developer Connection |
Operating systems: ArcaOS, eComStation, IBM OS/2 Warp |
|
|
|
Q: How to restrict window resize?
case WM_QUERYTRACKINFO: {
WinDefWindowProc( hwnd,msg,mp1,mp2 );
PTRACKINFO pti = (PTRACKINFO)mp2;
pti->ptlMaxTrackSize.x = bitmap.size.cx + border.cx;
pti->ptlMaxTrackSize.y = bitmap.size.cy + border.cy;
return (PVOID)TRUE;
}
case WM_MINMAXFRAME:
if ( ((PSWP)mp1)->fl & SWP_MAXIMIZE ) {
PSWP pswp = (PSWP)mp1;
SHORT ytop = pswp->y + pswp->cy;
pswp->cx = min( pswp->cx,bitmap.size.cx+border.cx );
pswp->cy = min( pswp->cy,bitmap.size.cy+border.cy );
pswp->y = ytop - pswp->cy;
return WinDefWindowProc( hwnd,msg,mp1,mp2 );
}
default:
return WinDefWindowProc( hwnd,msg,mp1,mp2 );
|
|
||
|
ArcaOS 5.1.1 - DOS works againDOS virtual machine works again (it was working on Core 2 Duo, and didn't for i5). Install ArcaOS in UEFI mode to use DOS VM. |
FOC file selectoreCo Software have created File Open Container - modern dialog to open/select files. |
// надо на ENG!!
Buy OS/2 application: OS/2 Doctor to analyze what is broken in OS/2 (15$) |
| Every conference is important. |
Warpstock Europe 2016
Interview with Roderick Klein
What was happening at that conference? The work on ArcaOS was starting.. |