pbColors dialog discussion...
#2
Hey! Hey! Borje!

just reading through your code, I noticed a small typo...
Code:
'------------------------------------------------------------------
  ' Page 4 LB is special - we use multicolumn feature for gridlike looks
  CONTROL ADD LISTBOX, hTab4, %IDC_LISTBOX1,, 1, 1, 179, 127, dwStyle OR _
                      %LBS_MULTICOLUMN, %WS_EX_CLIENTEDGE

  'CONTROL HANDLE hTab2, %IDC_LISTBOX1 TO ghListBox4  '<-wrong tab page
  CONTROL HANDLE hTab4, %IDC_LISTBOX1 TO ghListBox4 

The ownerDraw listbox, for the first 3 tabs it shows white space scrolling to the very bottom. No big deal, I simply added one line after each control add listbox... 
Code:
  CONTROL ADD LISTBOX, hTab1, %IDC_LISTBOX1, , 1, 1, 179, 147, dwStyle, %WS_EX_CLIENTEDGE
  CONTROL SET COLOR hTab1, %IDC_LISTBOX1, -1, GetSysColor(%COLOR_INFOBK) '<-JM added, blends in with the items instead of white.  

Thanks again for posting this!  I just retired my old version for yours.   Wink
Reply


Messages In This Thread
RE: pbColors dialog discussion... - by Jules Marchildon - 16 minutes ago

Forum Jump:


Users browsing this thread: 1 Guest(s)