i was trying yo convert my existing app from using %BT to %BB and i am getting unexpected behaviour. for the simple case below on XP when the top button is pressed the lower button goes blank until the cursor is placed over it. If I comment out the default.manifset entry the buttons teext get overwritten. ftn95 v8.05 salflibc.dll ver Xr1 (15:3938-17.6:2016). with ftn95 v8.1 salflibc ver xe! (12:39:56-13:7:2017) it does not have the greying issue but does not display the icons steve WINAPP PROGRAM BB_TEST c ============== IMPLICIT NONE INCLUDE <windows.ins> INTEGER BB_CB1, BB_CB2 EXTERNAL BB_CB1, BB_CB2 INTEGER GREY_BUT1, GREY_BUT2 COMMON /BB_TEST_X1/ GREY_BUT1, GREY_BUT2 INTEGER IWIN GREY_BUT2 = 0 GREY_BUT1 = 1 IWIN = WINIO@('%^bb[MN_but1/grey button 2]&', GREY_BUT1, BB_CB1) IWIN = WINIO@('%ff&') IWIN = WINIO@('%^bb[mn_but2/grey button 1]&', GREY_BUT2, BB_CB2) IWIN = WINIO@('%ff') END
INTEGER FUNCTIONBB_CB1()
IMPLICIT NONE
INTEGER GREY_BUT1, GREY_BUT2
COMMON /BB_TEST_X1/ GREY_BUT1, GREY_BUT2
BB_CB1 = 1
GREY_BUT1 = 0
GREY_BUT2 = 1
END
INTEGER FUNCTIONBB_CB2()
IMPLICIT NONE
INTEGER GREY_BUT1, GREY_BUT2
COMMON /BB_TEST_X1/ GREY_BUT1, GREY_BUT2
BB_CB2 = 1
GREY_BUT2 = 0
GREY_BUT1 = 1
END
RESOURCES
1 24 DEFAULT.MANIFEST
MN_BUT1 ICON \'MN_dnd_clsupd.ico\'
MN_BUT2 ICON \'MN_dnd_clscan.ico\'