Subversion Repositories filter_foundry

Compare Revisions

Regard whitespace Rev 422 → Rev 423

/trunk/WinNT31Compat.md
46,14 → 46,18
Fixed in SVN Revision 419: Windows 3.51 does not allow static controls to be clicked.
Therefore, the zoom icons and the caution icons are now Buttons classes (or subclasses).
 
- WinNT311: "msctls_trackbar32" is not supported by Windows NT 3.1. `DialogBoxParamA` crashes with the confusing error code "Invalid Cursor Handle".
Note: msctls_trackbar32 seems to be defined in COMCTL32.DLL, but Win NT 3.1 has no REGSVR32.EXE, so there can't be any controls added??
Windows NT 3.51 has COMCTL32.DLL and works perfectly with the trackbars!
Fixed in SVN Revision 422: We are now using the sliders of Photoshop using PLUGIN.DLL (like Filter Factory 3.0.4 does).
If PLUGIN.DLL is not existing (e.g. non-Photoshop host) and msctls_trackbar32 is not available (Windows NT 3.1),
then we will simply remove the sliders completely by subclassing them from a static control,
and let the user enter the control values via keyboard only (SVN Revision 419).
Note that you can copy PLUGIN.DLL to any host application. It is not bound to Photoshop. However, it is copyrighted by Adobe!
 
Things couldn't solve yet:
--------------------------
 
- WinNT311: "msctls_trackbar32" is not supported by Windows NT 3.1. DialogBoxParamA crashes with the confusing error code "Invalid Cursor Handle".
Note: msctls_trackbar32 seems to be defined in COMCTL32.DLL, but Win NT 3.1 has no REGSVR32.EXE, so there can't be any controls added??
For now, we simply remove the sliders by subclassing them from a static control, and let the user enter the numbers via keyboard only (SVN Revision 419).
Windows NT 3.51 has COMCTL32.DLL and works perfectly with the trackbars!
 
- Preview pane cannot be panned, because it seems that anything clickable needs to be a pushbutton in Win NT 3.51
It also doesn't work if the control is `STATIC`
It looks like `SS_NOTIFY` and `STN_CLICKED` is not implemented in Win NT 3.5x