Click here to Skip to main content
15,922,533 members
Home / Discussions / C#
   

C#

 
GeneralRe: Recomended Data Store... Pin
perlmunger8-Nov-02 5:20
perlmunger8-Nov-02 5:20 
GeneralRe: Recomended Data Store... Pin
Paul Watson8-Nov-02 6:54
sitebuilderPaul Watson8-Nov-02 6:54 
GeneralRe: Recomended Data Store... Pin
Steve McLenithan8-Nov-02 12:00
Steve McLenithan8-Nov-02 12:00 
GeneralNeed Help!!! C# Interfaces and C++ Classes Pin
Chris Powers8-Nov-02 1:51
Chris Powers8-Nov-02 1:51 
QuestionHow do i find if user clik "ok" on my Modal Dialog? Pin
Karavaev Denis8-Nov-02 0:54
Karavaev Denis8-Nov-02 0:54 
AnswerRe: How do i find if user clik "ok" on my Modal Dialog? Pin
Chad Smith8-Nov-02 3:30
professionalChad Smith8-Nov-02 3:30 
GeneralRe: How do i find if user clik "ok" on my Modal Dialog? Pin
Karavaev Denis8-Nov-02 3:46
Karavaev Denis8-Nov-02 3:46 
GeneralScroll Listbox with API Pin
CristianRicciolo7-Nov-02 23:32
CristianRicciolo7-Nov-02 23: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 16:41
AaronStibich7-Nov-02 16:41 
GeneralRe: Component based programming in C# (newbie!) Pin
Nick Parker7-Nov-02 17:44
protectorNick Parker7-Nov-02 17:44 
GeneralRe: Component based programming in C# (newbie!) Pin
Stephane Rodriguez.7-Nov-02 19:11
Stephane Rodriguez.7-Nov-02 19:11 
GeneralRe: Component based programming in C# (newbie!) Pin
Nick Parker8-Nov-02 1:54
protectorNick Parker8-Nov-02 1:54 
GeneralRe: Component based programming in C# (newbie!) Pin
Stephane Rodriguez.8-Nov-02 2:26
Stephane Rodriguez.8-Nov-02 2:26 
GeneralRe: Component based programming in C# (newbie!) Pin
Nick Parker8-Nov-02 3:36
protectorNick Parker8-Nov-02 3:36 
GeneralRe: Component based programming in C# (newbie!) Pin
Stephane Rodriguez.8-Nov-02 3:45
Stephane Rodriguez.8-Nov-02 3:45 
GeneralRe: Component based programming in C# (newbie!) Pin
Nick Parker8-Nov-02 17:20
protectorNick Parker8-Nov-02 17:20 
GeneralRe: Component based programming in C# (newbie!) Pin
Stephane Rodriguez.8-Nov-02 19:26
Stephane Rodriguez.8-Nov-02 19:26 
GeneralRe: Component based programming in C# (newbie!) Pin
Nick Parker9-Nov-02 2:07
protectorNick Parker9-Nov-02 2:07 
General.INI file usage in C# Pin
Darryl Borden7-Nov-02 11:54
Darryl Borden7-Nov-02 11:54 
GeneralRe: .INI file usage in C# Pin
Nick Parker7-Nov-02 13:20
protectorNick Parker7-Nov-02 13:20 
GeneralBy the way, ... Pin
Anonymous7-Nov-02 20:33
Anonymous7-Nov-02 20:33 
GeneralRe: By the way, ... Pin
Nick Parker8-Nov-02 3:40
protectorNick Parker8-Nov-02 3:40 
GeneralRe: .INI file usage in C# Pin
Karavaev Denis8-Nov-02 1:10
Karavaev Denis8-Nov-02 1:10 
GeneralClass/Collection tutorial Pin
hammackj7-Nov-02 10:34
hammackj7-Nov-02 10:34 
GeneralBeginner Q: How to create a splash screen Pin
matthias s.7-Nov-02 8:28
matthias s.7-Nov-02 8: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.