reactos/base/applications
Ștefan Fulea 3d48aa2992 [MSPAINT] Fix scrollbar presence on canvas/view fitting (#878)
* [MSPAINT] Fix scrollbar presence on canvas/view fitting

This is a small fix for a scrollbar related edge case functionality exhibited in mspaint (and in a lesser degree also elsewhere in instances of) scrollbar controlled content. As known, the scrollbars presence is given by the size ratio between the accommodating outer frame and the scroll-controlled contents inside it, and it works for the most part. There is, however, a case where the presence of both toolbars is kept even when the contents would fit the frame (if not for the scrollbars themselves that increase the size of the contents' area). Please take the current commit as a demo fix and a provisional correction for mspaint (as I think that the proper fix should reside in common controls).

* [MSPAINT] Fix a small mistake and improve readability in UpdateScrollbox()

Although with no visible impact on testing, I've used a wrong constant related to vertical scrollbox width in one instance (SM_CXHSCROLL instead of SM_CXVSCROLL), and this fixes it. Also, prefer using constants, to improve a bit readability and performance (by avoiding repeated function calls).
2018-11-16 23:05:51 +01:00
..
atactl
cacls [TRANSLATION] Update Romanian translation (#851) 2018-09-14 11:04:36 +02:00
calc [TRANSLATION] Update Romanian translation (#851) 2018-09-14 11:04:36 +02:00
charmap [TRANSLATIONS] Estonian for various base applications 2018-11-07 16:58:16 +01:00
charmap_new [TRANSLATIONS] Estonian for various base applications 2018-11-07 16:58:16 +01:00
clipbrd [TRANSLATIONS] Estonian for various base applications 2018-11-07 16:58:16 +01:00
cmdutils [TRANSLATIONS] Estonian for various base applications 2018-11-07 16:58:16 +01:00
control
drwtsn32 [DRWTSN32] Include displacement in stacktrace. 2018-11-11 17:21:16 +01:00
dxdiag [TRANSLATION] Polish translation update 2018-10-20 21:26:07 +02:00
extrac32 [EXTRAC32] Sync with Wine Staging 3.3. CORE-14434 2018-03-25 12:58:56 +01:00
findstr [TRANSLATIONS] Estonian for various base applications 2018-11-07 16:58:16 +01:00
fltmc [FLTMC] Add volumes usage info 2018-11-11 18:05:47 +00:00
fontview [TRANSLATION] Update Simplified Chinese translation. (#1025) 2018-11-09 15:31:53 +01:00
games [TRANSLATION] Update Romanian translation (#851) 2018-09-14 11:04:36 +02:00
hh
iexplore [IEXPLORE] Sync with Wine Staging 3.3. CORE-14434 2018-04-01 13:08:41 +01:00
kbswitch [TRANSLATIONS] Estonian for various base applications 2018-11-07 16:58:16 +01:00
logoff [TRANSLATIONS] Estonian for various base applications 2018-11-07 16:58:16 +01:00
magnify [TRANSLATION] Update Romanian translation (#851) 2018-09-14 11:04:36 +02:00
mmc [TRANSLATION] Update Romanian translation (#851) 2018-09-14 11:04:36 +02:00
mplay32 [TRANSLATION] Update Romanian translation (#851) 2018-09-14 11:04:36 +02:00
msconfig [TRANSLATION] Update Romanian translation (#851) 2018-09-14 11:04:36 +02:00
msconfig_new [TRANSLATION]Update Simplified Chinese translation. (#1032) 2018-11-14 21:42:21 +09:00
mscutils [TRANSLATION] Update Romanian translation (#851) 2018-09-14 11:04:36 +02:00
mshta [MSHTA] Implement MSHTA.exe (#577) CORE-12813 2018-06-05 17:17:00 +02:00
mspaint [MSPAINT] Fix scrollbar presence on canvas/view fitting (#878) 2018-11-16 23:05:51 +01:00
mstsc [TRANSLATION] Update Romanian translation (#851) 2018-09-14 11:04:36 +02:00
network [TRACERT] Fix Coverity #1434258 "Out-of-Bounds access" (#1038) 2018-11-15 14:15:23 +01:00
notepad [TRANSLATIONS] Style fixes for Estonian 2018-11-07 22:10:27 +01:00
osk [OSK][RAPPS][USETUP] Turkish translations update. (#1024) 2018-11-09 15:13:03 +01:00
rapps [OSK][RAPPS][USETUP] Turkish translations update. (#1024) 2018-11-09 15:13:03 +01:00
regedit [REGEDIT] Improve the layout of controls (#967) 2018-10-24 18:19:48 +09:00
regedt32
sc [APPLICATIONS] Fix 64 bit issues 2018-08-04 19:19:34 +02:00
screensavers [TRANSLATIONS] Estonian for various base applications 2018-11-07 16:58:16 +01:00
setup16
shutdown [TRANSLATION] Update Romanian translation (#851) 2018-09-14 11:04:36 +02:00
sndrec32 [TRANSLATION] Update Romanian translation (#851) 2018-09-14 11:04:36 +02:00
sndvol32 [TRANSLATION] Update Romanian translation (#851) 2018-09-14 11:04:36 +02:00
taskmgr [TASKMGR][TRANSLATION] Estonian localization 2018-10-24 21:35:20 +02:00
winhlp32 [FDEBUG][OSK][WINHLP32] Turkish translations update. (#1022) 2018-11-08 18:52:56 +01:00
winver
wordpad [BASE/APPLICATIONS] Hebrew translation updates (#321) 2018-01-24 16:00:43 +01:00
write [WRITE] Sync with Wine Staging 3.3. CORE-14434 2018-04-01 13:10:37 +01:00
wusa [UPDATES] New stubs for Automatic Updates service and WUSA.exe. Presence of this modules required for installation by some NT6+ applications. 2018-08-19 19:56:18 +02:00
CMakeLists.txt [UPDATES] New stubs for Automatic Updates service and WUSA.exe. Presence of this modules required for installation by some NT6+ applications. 2018-08-19 19:56:18 +02:00