Click here to Skip to main content
16,004,924 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how can I make a multirow CPropertySheet? Pin
Mike Nordell24-Oct-02 3:47
Mike Nordell24-Oct-02 3:47 
GeneralRe: how can I make a multirow CPropertySheet? Pin
DanYELL24-Oct-02 4:54
DanYELL24-Oct-02 4:54 
AnswerRe: how can I make a multirow CPropertySheet? Pin
Ravi Bhavnani24-Oct-02 5:10
professionalRavi Bhavnani24-Oct-02 5:10 
GeneralI want that TabCtrl! Pin
solosnake24-Oct-02 2:55
solosnake24-Oct-02 2:55 
QuestionSockets without MFC/HWNDs or Spin-Locks? Pin
Phil Speller24-Oct-02 2:07
Phil Speller24-Oct-02 2:07 
AnswerRe: Sockets without MFC/HWNDs or Spin-Locks? Pin
Stephane Rodriguez.24-Oct-02 3:46
Stephane Rodriguez.24-Oct-02 3:46 
AnswerRe: Sockets without MFC/HWNDs or Spin-Locks? Pin
JT Anderson24-Oct-02 5:54
JT Anderson24-Oct-02 5:54 
GeneralOwnerDraw ListCtrl problem - help! Pin
Yaron Nir24-Oct-02 1:57
Yaron Nir24-Oct-02 1:57 
Hi all,

I have an owner draw list ctrl.

i want to force a vertical scroll to be shown when the dialog
that the list sits on appears.
this is the code i've tried :

ListView_SetExtendedListViewStyle(m_lc.m_hWnd,
LVS_EX_FLATSB|LVS_EX_FULLROWSELECT );

now i've inserted some columns and then:

m_lc.ModifyStyle(0,WS_VSCROLL);
m_lc.SetScrollRange(SB_VERT,0,100);
m_lc.SetScrollPos(SB_VERT,0);
m_lc.ShowScrollBar(SB_VERT);

this doesn't show the vertical scroll bar.
the bar only show when the limit of inserted items succeeds.

can any1 show me what to do in order to force the scroll bar?

thanks in advanced

Yaron


Ask not what the application can do for you, ask what you can do for your application
GeneralReading a Wav Header Pin
carrie24-Oct-02 1:37
carrie24-Oct-02 1:37 
GeneralRe: Reading a Wav Header Pin
Phil Speller24-Oct-02 2:35
Phil Speller24-Oct-02 2:35 
GeneralRe: Reading a Wav Header Pin
carrie24-Oct-02 2:50
carrie24-Oct-02 2:50 
Generalerror message is Popped up when.. Pin
BK Pradeep24-Oct-02 0:51
BK Pradeep24-Oct-02 0:51 
QuestionWhose problem?ListView or database? Pin
ratios24-Oct-02 0:07
sussratios24-Oct-02 0:07 
AnswerRe: Whose problem?ListView or database? Pin
Michael P Butler24-Oct-02 1:02
Michael P Butler24-Oct-02 1:02 
GeneralRe: Whose problem?ListView or database? Pin
Steve S24-Oct-02 2:43
Steve S24-Oct-02 2:43 
GeneralSubclassing problem Pin
Mazdak23-Oct-02 23:30
Mazdak23-Oct-02 23:30 
GeneralRe: Subclassing problem Pin
Simon.W24-Oct-02 1:15
Simon.W24-Oct-02 1:15 
GeneralRe: Subclassing problem Pin
Mazdak24-Oct-02 1:43
Mazdak24-Oct-02 1:43 
QuestionHow to sort CArray? Pin
ooosawaddee323-Oct-02 22:58
ooosawaddee323-Oct-02 22:58 
AnswerRe: How to sort CArray? Pin
Christian Graus24-Oct-02 0:24
protectorChristian Graus24-Oct-02 0:24 
AnswerRe: How to sort CArray? Pin
Atlantys24-Oct-02 3:34
Atlantys24-Oct-02 3:34 
AnswerRe: How to sort CArray? Pin
Mike Eriksson25-Oct-02 0:06
Mike Eriksson25-Oct-02 0:06 
GeneralBase class constructor Pin
Mazdak23-Oct-02 21:46
Mazdak23-Oct-02 21:46 
GeneralRe: Base class constructor Pin
Daniel Turini23-Oct-02 21:58
Daniel Turini23-Oct-02 21:58 
GeneralRe: Base class constructor Pin
Mazdak23-Oct-02 22:28
Mazdak23-Oct-02 22:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.