Click here to Skip to main content
15,890,825 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Change Column width from Datagridview without dataset Pin
DaveAuld21-Sep-11 21:38
professionalDaveAuld21-Sep-11 21:38 
QuestionNeed An Application Pin
trustamar921-Sep-11 8:32
trustamar921-Sep-11 8:32 
AnswerRe: Need An Application PinPopular
Kevin Marois21-Sep-11 11:11
professionalKevin Marois21-Sep-11 11:11 
GeneralRe: Need An Application Pin
David C# Hobbyist.21-Sep-11 17:01
professionalDavid C# Hobbyist.21-Sep-11 17:01 
GeneralRe: Need An Application Pin
DaveAuld21-Sep-11 20:59
professionalDaveAuld21-Sep-11 20:59 
AnswerRe: Need An Application Pin
Thomas Krojer21-Sep-11 21:28
Thomas Krojer21-Sep-11 21:28 
AnswerRe: Need An Application Pin
Dalek Dave25-Sep-11 21:48
professionalDalek Dave25-Sep-11 21:48 
QuestionKeep Mouse Inside Window? Pin
shawndeprey20-Sep-11 8:32
shawndeprey20-Sep-11 8:32 
Hi there,

I have been searching the web for quite some time now, searching for a way to keep the mouse cursor under a forms control: Not letting the mouse leave the form. I found many answers using the SetCapture function in the user32 lib. However, I cannot get anything to work/the examples used deprecated materials(this was the case most of the time).

Does anybody know how to make a form keep control of the mouse? Examples would be great.

Thank You,
Shawn

PROJECT DESCRIPTION:
I am making a terms and conditions form which will run on start of every computer. I need to make the mouse stay inside the forms control. If the user clicks accept, the form should close; if the user clicks decline, the user should be logged out.
AnswerRe: Keep Mouse Inside Window? Pin
Ian Shlasko20-Sep-11 9:11
Ian Shlasko20-Sep-11 9:11 
GeneralRe: Keep Mouse Inside Window? Pin
Dave Kreskowiak21-Sep-11 3:14
mveDave Kreskowiak21-Sep-11 3:14 
GeneralRe: Keep Mouse Inside Window? Pin
Ian Shlasko21-Sep-11 7:51
Ian Shlasko21-Sep-11 7:51 
AnswerRe: Keep Mouse Inside Window? Pin
Dave Kreskowiak21-Sep-11 3:24
mveDave Kreskowiak21-Sep-11 3:24 
GeneralRe: Keep Mouse Inside Window? Pin
Bert Mitton22-Sep-11 3:17
professionalBert Mitton22-Sep-11 3:17 
Questionvb Pin
magesr20-Sep-11 7:11
magesr20-Sep-11 7:11 
AnswerRe: vb Pin
Luc Pattyn20-Sep-11 7:41
sitebuilderLuc Pattyn20-Sep-11 7:41 
AnswerRe: vb Pin
Dalek Dave25-Sep-11 21:50
professionalDalek Dave25-Sep-11 21:50 
QuestionFilter between two dates Pin
Lek Plepi20-Sep-11 1:37
Lek Plepi20-Sep-11 1:37 
AnswerRe: Filter between two dates Pin
Wayne Gaylard20-Sep-11 2:38
professionalWayne Gaylard20-Sep-11 2:38 
GeneralRe: Filter between two dates Pin
Lek Plepi20-Sep-11 3:31
Lek Plepi20-Sep-11 3:31 
GeneralRe: Filter between two dates Pin
Wayne Gaylard20-Sep-11 3:45
professionalWayne Gaylard20-Sep-11 3:45 
AnswerRe: Filter between two dates Pin
DaveAuld20-Sep-11 3:59
professionalDaveAuld20-Sep-11 3:59 
GeneralRe: Filter between two dates Pin
Lek Plepi20-Sep-11 4:12
Lek Plepi20-Sep-11 4:12 
AnswerRe: Filter between two dates Pin
Eddy Vluggen20-Sep-11 6:28
professionalEddy Vluggen20-Sep-11 6:28 
GeneralRe: Filter between two dates Pin
Lek Plepi20-Sep-11 20:58
Lek Plepi20-Sep-11 20:58 
AnswerRe: Filter between two dates Pin
Luc Pattyn20-Sep-11 4:57
sitebuilderLuc Pattyn20-Sep-11 4:57 

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.