Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Changing Line Spacing in ListBox
#11
some weird behaviors that may help in finding a solution:
the separate function that refills the LB after changing the font, etc - it will sometimes work once after being triggered by the calling dialog, and then on subsequent times fails to set the font size. If I manually click on the LB-setting function, it does change the font but as soon as a series is selected via code below from calling dialog (see below), it immediately reverts back to a small font (leaving wider spacing intact).

I hope this helps!
Stuart

Function SeriesPicker_MR_Brain_MonA
Code:
Copy      Help
,case WM_SETCURSOR
,,if GetDlgCtrlID(wParam)=9
,,,SendMessage id(9 hDlg) LB_SELITEMRANGE 0 100;;deselects all in  LB
,,,POINT p; xm p wParam 1
,,,_i=SendMessage(wParam LB_ITEMFROMPOINT 0 MakeInt(p.x p.y))
,,,out _i
,,,LB_SelectItem id(9 hDlg) _i 0;err


Messages In This Thread

Forum Jump:


Users browsing this thread: 7 Guest(s)