Click here to Skip to main content
15,887,288 members
Home / Discussions / C#
   

C#

 
Questionhow to detect that user touch the panel left or right edge WinForm Pin
Tridip Bhattacharjee18-Sep-14 4:56
professionalTridip Bhattacharjee18-Sep-14 4:56 
AnswerRe: how to detect that user touch the panel left or right edge WinForm Pin
Eddy Vluggen18-Sep-14 5:27
professionalEddy Vluggen18-Sep-14 5:27 
AnswerRe: how to detect that user touch the panel left or right edge WinForm Pin
BillWoodruff18-Sep-14 6:10
professionalBillWoodruff18-Sep-14 6:10 
GeneralRe: how to detect that user touch the panel left or right edge WinForm Pin
Tridip Bhattacharjee18-Sep-14 21:46
professionalTridip Bhattacharjee18-Sep-14 21:46 
GeneralRe: how to detect that user touch the panel left or right edge WinForm Pin
BillWoodruff18-Sep-14 22:23
professionalBillWoodruff18-Sep-14 22:23 
QuestionProgrammatically Scrolling is not working C# WinForm Pin
Tridip Bhattacharjee18-Sep-14 4:41
professionalTridip Bhattacharjee18-Sep-14 4:41 
AnswerRe: Programmatically Scrolling is not working C# WinForm Pin
Dave Kreskowiak18-Sep-14 5:46
mveDave Kreskowiak18-Sep-14 5:46 
AnswerRe: Programmatically Scrolling is not working C# WinForm Pin
BillWoodruff18-Sep-14 7:05
professionalBillWoodruff18-Sep-14 7:05 
The problem with Windows ContainerControls and trying to create your own alternative for "seamless" AutoScrolling is that setting 'AutoScroll to 'true means Scrollbars will be shown.

But, the bigger problem is that Win Forms is not designed for smooth animation ... at least not from programming regular C# with no API calls ... If you have a FlowLayoutPanel with lots of fancy Controls in it, moving it yourself within its ContainerControl will probably lead to a "herky-jerky" kind of effect. And, what the user sees is probably going to be influenced by the power of their CPU, GPU, etc.

To do animation of Controls, Windows, etc., why not consider WPF rather than WinForms: it's designed to support such advanced graphic features.

Please, as Dave suggested, format your code example.

Try and state your goal here very clearly: is it to make a FlowLayoutTable Control inside a Panel automatically move right or left ... an animation ... when the mouse is within certain areas ?

The solution I would use would not involve using 'AutoScroll at all: I'd use a 'Timer, and two Panels outside the Panel that contains the FlowLayoutTable.

Be happy to help you discover how to achieve this, but I want to see more work on your part, first, and I strongly suggest you think about whether a lot of work here might lead to a disappointing visual result.
« I had therefore to remove knowledge, in order to make room for belief » Immanuel Kant


modified 18-Sep-14 13:40pm.

GeneralRe: Programmatically Scrolling is not working C# WinForm Pin
Tridip Bhattacharjee18-Sep-14 21:43
professionalTridip Bhattacharjee18-Sep-14 21:43 
GeneralRe: Programmatically Scrolling is not working C# WinForm Pin
BillWoodruff18-Sep-14 22:38
professionalBillWoodruff18-Sep-14 22:38 
GeneralRe: Programmatically Scrolling is not working C# WinForm Pin
Tridip Bhattacharjee19-Sep-14 3:34
professionalTridip Bhattacharjee19-Sep-14 3:34 
GeneralRe: Programmatically Scrolling is not working C# WinForm Pin
BillWoodruff19-Sep-14 21:36
professionalBillWoodruff19-Sep-14 21:36 
QuestionHow do i delete my visual studio online project Pin
J.J.S_;)18-Sep-14 0:51
J.J.S_;)18-Sep-14 0:51 
AnswerRe: How do i delete my visual studio online project Pin
Eddy Vluggen18-Sep-14 1:01
professionalEddy Vluggen18-Sep-14 1:01 
AnswerRe: How do i delete my visual studio online project Pin
Marco Bertschi18-Sep-14 1:51
protectorMarco Bertschi18-Sep-14 1:51 
QuestionStreaming USB webcam for image processing Pin
admbrt17-Sep-14 11:58
admbrt17-Sep-14 11:58 
AnswerRe: Streaming USB webcam for image processing Pin
Ravi Bhavnani17-Sep-14 15:15
professionalRavi Bhavnani17-Sep-14 15:15 
GeneralRe: Streaming USB webcam for image processing Pin
admbrt18-Sep-14 6:54
admbrt18-Sep-14 6:54 
AnswerRe: Streaming USB webcam for image processing Pin
Ravi Bhavnani20-Sep-14 11:16
professionalRavi Bhavnani20-Sep-14 11:16 
GeneralRe: Streaming USB webcam for image processing Pin
admbrt28-Sep-14 2:23
admbrt28-Sep-14 2:23 
Questionfinger print attendance device Pin
Jassim Rahma17-Sep-14 10:24
Jassim Rahma17-Sep-14 10:24 
AnswerRe: finger print attendance device Pin
Ravi Bhavnani17-Sep-14 15:17
professionalRavi Bhavnani17-Sep-14 15:17 
QuestionHow to use entity frame work in MVC web Application Pin
jeenak17-Sep-14 2:44
jeenak17-Sep-14 2:44 
AnswerRe: How to use entity frame work in MVC web Application Pin
Ravi Bhavnani17-Sep-14 4:51
professionalRavi Bhavnani17-Sep-14 4:51 
AnswerRe: How to use entity frame work in MVC web Application Pin
Dave Kreskowiak17-Sep-14 5:03
mveDave Kreskowiak17-Sep-14 5:03 

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.