Click here to Skip to main content
15,793,085 members
Home / Discussions / C#
   

C#

 
GeneralRe: Recomended Data Store... Pin
perlmunger8-Nov-02 6:20
perlmunger8-Nov-02 6:20 
GeneralRe: Recomended Data Store... Pin
Paul Watson8-Nov-02 7:54
sitebuilderPaul Watson8-Nov-02 7:54 
GeneralRe: Recomended Data Store... Pin
Steve McLenithan8-Nov-02 13:00
Steve McLenithan8-Nov-02 13:00 
GeneralNeed Help!!! C# Interfaces and C++ Classes Pin
Chris Powers8-Nov-02 2:51
Chris Powers8-Nov-02 2:51 
QuestionHow do i find if user clik "ok" on my Modal Dialog? Pin
Karavaev Denis8-Nov-02 1:54
Karavaev Denis8-Nov-02 1:54 
AnswerRe: How do i find if user clik "ok" on my Modal Dialog? Pin
Chad Smith8-Nov-02 4:30
professionalChad Smith8-Nov-02 4:30 
GeneralRe: How do i find if user clik "ok" on my Modal Dialog? Pin
Karavaev Denis8-Nov-02 4:46
Karavaev Denis8-Nov-02 4:46 
GeneralScroll Listbox with API Pin
CristianRicciolo8-Nov-02 0:32
CristianRicciolo8-Nov-02 0:32 
Hi guys,
I'm writing some controls to build skin application,and I would like to apply skin to the scroll bar. Because I can not change system scroll bars I think to hide the listbox scroll bar with this code:
int sb=Convert.ToInt32(ScrollBarTypes.SB_VERT);
WindowsAPI.ShowScrollBar(_toScroll.Handle,sb,0);

In my skin scroll bar code when I want to scroll I use this code:

int scroll=Convert.ToInt32(Msg.WM_VSCROLL);
IntPtr hwnd=_toScroll.Handle;

int hiword=Convert.ToInt32(ScrollBarRequests.SB_THUMBPOSITION);
int par=Convert.ToInt32(0x10000);
int par2=65535;
Debug.WriteLine(Value);
IntPtr index=new IntPtr(((Value-1) * par) | (hiword & par2));
WindowsAPI.SendMessage(hwnd,scroll,index,new IntPtr(0));

It runs correctly but each time the listbox scrolls, the system scrollbar remains visibile

Are there other methods to scroll the listbox?
GeneralComponent based programming in C# (newbie!) Pin
AaronStibich7-Nov-02 17:41
AaronStibich7-Nov-02 17:41 
GeneralRe: Component based programming in C# (newbie!) Pin
Nick Parker7-Nov-02 18:44
protectorNick Parker7-Nov-02 18:44 
GeneralRe: Component based programming in C# (newbie!) Pin
Stephane Rodriguez.7-Nov-02 20:11
Stephane Rodriguez.7-Nov-02 20:11 
GeneralRe: Component based programming in C# (newbie!) Pin
Nick Parker8-Nov-02 2:54
protectorNick Parker8-Nov-02 2:54 
GeneralRe: Component based programming in C# (newbie!) Pin
Stephane Rodriguez.8-Nov-02 3:26
Stephane Rodriguez.8-Nov-02 3:26 
GeneralRe: Component based programming in C# (newbie!) Pin
Nick Parker8-Nov-02 4:36
protectorNick Parker8-Nov-02 4:36 
GeneralRe: Component based programming in C# (newbie!) Pin
Stephane Rodriguez.8-Nov-02 4:45
Stephane Rodriguez.8-Nov-02 4:45 
GeneralRe: Component based programming in C# (newbie!) Pin
Nick Parker8-Nov-02 18:20
protectorNick Parker8-Nov-02 18:20 
GeneralRe: Component based programming in C# (newbie!) Pin
Stephane Rodriguez.8-Nov-02 20:26
Stephane Rodriguez.8-Nov-02 20:26 
GeneralRe: Component based programming in C# (newbie!) Pin
Nick Parker9-Nov-02 3:07
protectorNick Parker9-Nov-02 3:07 
General.INI file usage in C# Pin
Darryl Borden7-Nov-02 12:54
Darryl Borden7-Nov-02 12:54 
GeneralRe: .INI file usage in C# Pin
Nick Parker7-Nov-02 14:20
protectorNick Parker7-Nov-02 14:20 
GeneralBy the way, ... Pin
Anonymous7-Nov-02 21:33
Anonymous7-Nov-02 21:33 
GeneralRe: By the way, ... Pin
Nick Parker8-Nov-02 4:40
protectorNick Parker8-Nov-02 4:40 
GeneralRe: .INI file usage in C# Pin
Karavaev Denis8-Nov-02 2:10
Karavaev Denis8-Nov-02 2:10 
GeneralClass/Collection tutorial Pin
hammackj7-Nov-02 11:34
hammackj7-Nov-02 11:34 
GeneralBeginner Q: How to create a splash screen Pin
matthias s.7-Nov-02 9:28
matthias s.7-Nov-02 9: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.