Listbox selected line mostly just below bottom of window
- From: David Deley <deleyd@xxxxxxx>
- Date: Mon, 26 Nov 2007 23:52:06 -0800
I think I'm just missing a call of some sort. I have a listbox. Then I sort the lines, select the line I want and redisplay the listbox using:
sendmessage( g_TagBrowse_HDlg, LB_SETCURSEL, C_LINE-1, 0);
RedrawWindow( window, 0, 0, rdw_Invalidate );
But sometimes my selected line is mostly just below the bottom of the window. (see image http://members.cox.net/deleyd2/misc/listbox.gif )
I'm relatively new to this so I assume the problem is I just need to make another call of some sort to get the line fully in view?
.
- Follow-Ups:
- Re: Listbox selected line mostly just below bottom of window
- From: David Lowndes
- Re: Listbox selected line mostly just below bottom of window
- From: Joseph M . Newcomer
- Re: Listbox selected line mostly just below bottom of window
- Prev by Date: Re: MFC updates and enhancements
- Next by Date: Re: Listbox selected line mostly just below bottom of window
- Previous by thread: Owner draw CListBox color problem.
- Next by thread: Re: Listbox selected line mostly just below bottom of window
- Index(es):
Relevant Pages
|