Board index » Visual Studio » facing a problem with vc++ list control (image list)

facing a problem with vc++ list control (image list)

Visual Studio26
Dear All,



I am facing a problem in vc++ list control

I have created list control using Image list in Report View style

i have only four item , which is not require a scroll bar(or u can

say

don,t need it)

every thing is going fine

now problem came ,

person go to Display properties and in apperance Tab there is button

named effect ,

now in this Effect dlg he check the Large view Icon.

now afetr this check now list control is showing only three items and

fourth one is hidden inside because there is no scroll bar,





now i want please suggest me how can i resolve my problem.





thanks in advance

Ashish Kasama


-
 

Re:facing a problem with vc++ list control (image list)

Add WS_VSCROLL style to get a vertial scrollbar when creating

your list control.



--

=====================================

Alexander Nickolov

Microsoft MVP [VC], MCSD

email: agnickolov@mvps.org

MVP VC FAQ: vcfaq.mvps.org">vcfaq.mvps.org

=====================================



<ashukasama@gmail.com>wrote in message

Quote
Dear All,



I am facing a problem in vc++ list control

I have created list control using Image list in Report View style

i have only four item , which is not require a scroll bar(or u can

say

don,t need it)

every thing is going fine

now problem came ,

person go to Display properties and in apperance Tab there is button

named effect ,

now in this Effect dlg he check the Large view Icon.

now afetr this check now list control is showing only three items and

fourth one is hidden inside because there is no scroll bar,





now i want please suggest me how can i resolve my problem.





thanks in advance

Ashish Kasama







-

Re:facing a problem with vc++ list control (image list)

On May 7, 11:24 pm, "Alexander Nickolov" <agnicko...@mvps.org>wrote:

Quote
Add WS_VSCROLL style to get a vertial scrollbar when creating

yourlistcontrol.



--

=====================================

Alexander Nickolov

Microsoft MVP [VC], MCSD

email: agnicko...@mvps.org

MVP VC FAQ:vcfaq.mvps.org">vcfaq.mvps.org

=====================================



<ashukas...@gmail.com>wrote in message



news:1178547362.925058.268980@e65g2000hsc.googlegroups.com...







>Dear All,



>I am facing aprobleminvc++listcontrol

>I have createdlistcontrolusing Imagelistin Report View style

>i have only four item , which is not require a scroll bar(or u can

>say

>don,t need it)

>every thing is going fine

>nowproblemcame ,

>person go to Display properties and in apperance Tab there is button

>named effect ,

>now in this Effect dlg he check the Large view Icon.

>now afetr this check nowlistcontrolis showing only three items and

>fourth one is hidden inside because there is no scroll bar,



>now i want please suggest me how can i resolve myproblem.



>thanks in advance

>Ashish Kasama- Hide quoted text -



- Show quoted text -



hi dear ,



I have design time list control

so i am unable to add vsscroll

thanks in advance

Ashish Kasama





-

Re:facing a problem with vc++ list control (image list)

Sure you can. In your case in the resource editor...



--

=====================================

Alexander Nickolov

Microsoft MVP [VC], MCSD

email: agnickolov@mvps.org

MVP VC FAQ: vcfaq.mvps.org">vcfaq.mvps.org

=====================================



<ashukasama@gmail.com>wrote in message

Quote
On May 7, 11:24 pm, "Alexander Nickolov" <agnicko...@mvps.org>wrote:

>Add WS_VSCROLL style to get a vertial scrollbar when creating

>yourlistcontrol.

>

>--

>=====================================

>Alexander Nickolov

>Microsoft MVP [VC], MCSD

>email: agnicko...@mvps.org

>MVP VC FAQ:vcfaq.mvps.org">vcfaq.mvps.org

>=====================================

>

><ashukas...@gmail.com>wrote in message

>

>news:1178547362.925058.268980@e65g2000hsc.googlegroups.com...

>

>

>

>>Dear All,

>

>>I am facing aprobleminvc++listcontrol

>>I have createdlistcontrolusing Imagelistin Report View style

>>i have only four item , which is not require a scroll bar(or u can

>>say

>>don,t need it)

>>every thing is going fine

>>nowproblemcame ,

>>person go to Display properties and in apperance Tab there is button

>>named effect ,

>>now in this Effect dlg he check the Large view Icon.

>>now afetr this check nowlistcontrolis showing only three items and

>>fourth one is hidden inside because there is no scroll bar,

>

>>now i want please suggest me how can i resolve myproblem.

>

>>thanks in advance

>>Ashish Kasama- Hide quoted text -

>

>- Show quoted text -



hi dear ,



I have design time list control

so i am unable to add vsscroll

thanks in advance

Ashish Kasama









-

Re:facing a problem with vc++ list control (image list)

On May 9, 1:04 am, "Alexander Nickolov" <agnicko...@mvps.org>wrote:

Quote
Sure you can. In your case in the resource editor...



--

=====================================

Alexander Nickolov

Microsoft MVP [VC], MCSD

email: agnicko...@mvps.org

MVP VC FAQ:vcfaq.mvps.org">vcfaq.mvps.org

=====================================



<ashukas...@gmail.com>wrote in message



news:1178605582.614448.113970@h2g2000hsg.googlegroups.com...







>On May 7, 11:24 pm, "Alexander Nickolov" <agnicko...@mvps.org>wrote:

>>Add WS_VSCROLL style to get a vertial scrollbar when creating

>>yourlistcontrol.



>>--

>>=====================================

>>Alexander Nickolov

>>Microsoft MVP [VC], MCSD

>>email: agnicko...@mvps.org

>>MVP VC FAQ:vcfaq.mvps.org">vcfaq.mvps.org

>>=====================================



>><ashukas...@gmail.com>wrote in message



>>news:1178547362.925058.268980@e65g2000hsc.googlegroups.com...



>>>Dear All,



>>>I amfacingaprobleminvc++listcontrol

>>>I have createdlistcontrolusing Imagelistin Report View style

>>>i have only four item , which is not require a scroll bar(or u can

>>>say

>>>don,t need it)

>>>every thing is going fine

>>>nowproblemcame ,

>>>person go to Display properties and in apperance Tab there is button

>>>named effect ,

>>>now in this Effect dlg he check the Large view Icon.

>>>now afetr this check nowlistcontrolis showing only three items and

>>>fourth one is hidden inside because there is no scroll bar,



>>>now i want please suggest me how can i resolve myproblem.



>>>thanks in advance

>>>Ashish Kasama- Hide quoted text -



>>- Show quoted text -



>hi dear ,



>I have design timelistcontrol

>so i am unable to add vsscroll

>thanks in advance

>Ashish Kasama- Hide quoted text -



- Show quoted text -



thanks Alexander Nickolov

i add this line also resource editor , now it is working



is this possible to know the currently my icon size(in OS setting ) is

large icon or small icon



Ashish Kasama







-

Re:facing a problem with vc++ list control (image list)

You might want to ask that question in the UI group:



microsoft.public.win32.programmer.ui



I assume you are talking about the icon size for the desktop?



--

=====================================

Alexander Nickolov

Microsoft MVP [VC], MCSD

email: agnickolov@mvps.org

MVP VC FAQ: vcfaq.mvps.org">vcfaq.mvps.org

=====================================



<ashukasama@gmail.com>wrote in message

Quote
On May 9, 1:04 am, "Alexander Nickolov" <agnicko...@mvps.org>wrote:

>Sure you can. In your case in the resource editor...

>

>--

>=====================================

>Alexander Nickolov

>Microsoft MVP [VC], MCSD

>email: agnicko...@mvps.org

>MVP VC FAQ:vcfaq.mvps.org">vcfaq.mvps.org

>=====================================

>

><ashukas...@gmail.com>wrote in message

>

>news:1178605582.614448.113970@h2g2000hsg.googlegroups.com...

>

>

>

>>On May 7, 11:24 pm, "Alexander Nickolov" <agnicko...@mvps.org>wrote:

>>>Add WS_VSCROLL style to get a vertial scrollbar when creating

>>>yourlistcontrol.

>

>>>--

>>>=====================================

>>>Alexander Nickolov

>>>Microsoft MVP [VC], MCSD

>>>email: agnicko...@mvps.org

>>>MVP VC FAQ:vcfaq.mvps.org">vcfaq.mvps.org

>>>=====================================

>

>>><ashukas...@gmail.com>wrote in message

>

>>>news:1178547362.925058.268980@e65g2000hsc.googlegroups.com...

>

>>>>Dear All,

>

>>>>I amfacingaprobleminvc++listcontrol

>>>>I have createdlistcontrolusing Imagelistin Report View style

>>>>i have only four item , which is not require a scroll bar(or u can

>>>>say

>>>>don,t need it)

>>>>every thing is going fine

>>>>nowproblemcame ,

>>>>person go to Display properties and in apperance Tab there is button

>>>>named effect ,

>>>>now in this Effect dlg he check the Large view Icon.

>>>>now afetr this check nowlistcontrolis showing only three items and

>>>>fourth one is hidden inside because there is no scroll bar,

>

>>>>now i want please suggest me how can i resolve myproblem.

>

>>>>thanks in advance

>>>>Ashish Kasama- Hide quoted text -

>

>>>- Show quoted text -

>

>>hi dear ,

>

>>I have design timelistcontrol

>>so i am unable to add vsscroll

>>thanks in advance

>>Ashish Kasama- Hide quoted text -

>

>- Show quoted text -



thanks Alexander Nickolov

i add this line also resource editor , now it is working



is this possible to know the currently my icon size(in OS setting ) is

large icon or small icon



Ashish Kasama











-