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 whatsnew - PNG iconsPNG icons on Desktop PNG icons on Desktop. (instead of ancient .ico designed in 1994) |
PNG icons on DesktopeCo Software: it's a significant achievement that we have created PNG icons engine for OS/2 Desktop. and designed the set of system icons. In other words, we have modernized the external view of OS/2. Now we can discuss how to attract new users. |
// надо на ENG!!
|
| Every conference is important. |
Warpstock Europe 2011Interview with Keith Merrington (active user and standalone developer) |