Click here to Skip to main content
15,886,919 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: printing form Pin
Steven J Jowett20-Apr-08 11:12
Steven J Jowett20-Apr-08 11:12 
GeneralRe: printing form Pin
asha_s21-Apr-08 0:39
asha_s21-Apr-08 0:39 
GeneralPrinting Problem² [modified] Pin
Zaegra16-Apr-08 0:14
Zaegra16-Apr-08 0:14 
GeneralRe: Printing Problem² Pin
Chinners16-Apr-08 0:55
Chinners16-Apr-08 0:55 
GeneralRe: Printing Problem² Pin
Zaegra16-Apr-08 1:37
Zaegra16-Apr-08 1:37 
QuestionCapture screen as movie Pin
Mohammad Al Hoss15-Apr-08 22:29
Mohammad Al Hoss15-Apr-08 22:29 
GeneralRe: Capture screen as movie Pin
Dave Kreskowiak16-Apr-08 4:04
mveDave Kreskowiak16-Apr-08 4:04 
QuestionHow manage scroll position in listview without using API function. Pin
Coban_15-Apr-08 21:43
Coban_15-Apr-08 21:43 
Hi all, I have a user control (listview) and i want to see position of scrool. How can i manage scroll position on listview without using API.
My code below please help me..
'--------------- user control side
Public Class List

Inherits ListView
Private Const WM_HSCROLL As Integer = 276
Private Const WM_VSCROLL As Integer = 277
Private Const WM_KEYDOWN As Integer = 256
Private Const WM_MOUSEWHEEL As Integer = 522
Public Event ScrollEvent As System.EventHandler

Protected Overloads Overrides Sub WndProc(ByRef m As Message)
If m.Msg = WM_VSCROLL OrElse m.Msg = WM_HSCROLL OrElse m.Msg = WM_KEYDOWN OrElse m.Msg = WM_MOUSEWHEEL Then
RaiseEvent ScrollEvent(Me, Nothing)
End If
MyBase.WndProc(m)
End Sub

End Class
'------------- And other code side ------------
Private Sub List_ScrollEvent(ByVal sender As Object, ByVal e As System.EventArgs) Handles L.ScrollEvent
lblScrollDown.Text = lblScrollDown.Text + System.Threading.Interlocked.Increment(scrollCount)
End Sub
'here i just see move to scrool, not any other.

S.A.A

AnswerRe: How manage scroll position in listview without using API function. Pin
Dave Kreskowiak16-Apr-08 3:59
mveDave Kreskowiak16-Apr-08 3:59 
GeneralRe: How manage scroll position in listview without using API function. Pin
Coban_16-Apr-08 4:42
Coban_16-Apr-08 4:42 
GeneralRe: How manage scroll position in listview without using API function. Pin
Dave Kreskowiak16-Apr-08 12:23
mveDave Kreskowiak16-Apr-08 12:23 
GeneralRe: How manage scroll position in listview without using API function. Pin
Coban_16-Apr-08 20:11
Coban_16-Apr-08 20:11 
GeneralRe: How manage scroll position in listview without using API function. Pin
Dave Kreskowiak17-Apr-08 2:47
mveDave Kreskowiak17-Apr-08 2:47 
GeneralRe: How manage scroll position in listview without using API function. Pin
Coban_17-Apr-08 4:07
Coban_17-Apr-08 4:07 
Questionis any program that make exe file that work on computers without .netframework Pin
en.Mahdi15-Apr-08 21:02
en.Mahdi15-Apr-08 21:02 
GeneralRe: is any program that make exe file that work on computers without .netframework Pin
Christian Graus15-Apr-08 21:03
protectorChristian Graus15-Apr-08 21:03 
GeneralRe: is any program that make exe file that work on computers without .netframework Pin
N a v a n e e t h15-Apr-08 21:14
N a v a n e e t h15-Apr-08 21:14 
AnswerRe: is any program that make exe file that work on computers without .netframework Pin
en.Mahdi16-Apr-08 1:43
en.Mahdi16-Apr-08 1:43 
GeneralRe: is any program that make exe file that work on computers without .netframework Pin
Dave Kreskowiak16-Apr-08 3:55
mveDave Kreskowiak16-Apr-08 3:55 
GeneralRe: is any program that make exe file that work on computers without .netframework Pin
~V~16-Apr-08 1:32
~V~16-Apr-08 1:32 
QuestionRegarding Windows Registry Pin
vijaylumar15-Apr-08 20:51
vijaylumar15-Apr-08 20:51 
GeneralRe: Regarding Windows Registry Pin
Ashfield16-Apr-08 0:51
Ashfield16-Apr-08 0:51 
GeneralRe: Regarding Windows Registry Pin
Dave Kreskowiak16-Apr-08 3:30
mveDave Kreskowiak16-Apr-08 3:30 
QuestionRe: Regarding Windows Registry Pin
vijaylumar16-Apr-08 18:54
vijaylumar16-Apr-08 18:54 
GeneralRe: Regarding Windows Registry Pin
Dave Kreskowiak17-Apr-08 1:31
mveDave Kreskowiak17-Apr-08 1:31 

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.