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

C#

 
AnswerRe: what happens if value is longer than fieldlength Pin
SomeGuyThatIsMe5-May-08 2:57
SomeGuyThatIsMe5-May-08 2:57 
GeneralRe: what happens if value is longer than fieldlength Pin
stephan_0075-May-08 3:16
stephan_0075-May-08 3:16 
GeneralRe: what happens if value is longer than fieldlength Pin
SomeGuyThatIsMe5-May-08 3:31
SomeGuyThatIsMe5-May-08 3:31 
QuestionUsing "DictationGrammar" to dictate a URL Pin
thoraia5-May-08 2:37
thoraia5-May-08 2:37 
QuestionDynamic workflow Project Pin
Thaer Hamael5-May-08 2:00
Thaer Hamael5-May-08 2:00 
AnswerCP Members: question already asked Pin
leckey5-May-08 17:40
leckey5-May-08 17:40 
QuestionLayout takes time to rearrange after rezise, how to fix? Pin
leeoze5-May-08 1:59
leeoze5-May-08 1:59 
AnswerRe: Layout takes time to rearrange after rezise, how to fix? Pin
Anthony Mushrow5-May-08 2:13
professionalAnthony Mushrow5-May-08 2:13 
Resize event doesn't quite work like that, it gets fired when the forms size has changed. So when you resize your form with your mouse, every time you see a visible change in the size of your form, then event has been fired.

Sadly you can't get the mouseDown mouseUp events for clicking on the border. The only way i know to get that information is to override WndProc and look at the messages, one of them is sent when you mouse down on the caption bar/border and other are sent when the mouse moves or the button is released.

But, i tried using SuspendLayout and ResumeLayout with docked controls, and i think after ResumeLayout the controls just stayed where they were. So you should check that.

Good news is though, if you also override the OnPaint event you can stop any drawing yourself. So if you use WndProc to work out when the form is being resized then you can set a bool to false or something, and have an if statement around base.OnPaint(e); in your OnPaint override. Of course even without drawing it will still try to reposition all of the controls every time the resize event is fired, so it may still end up going slow.

Well, good luck.

My current favourite word is: Bacon!
-SK Genius


QuestionHyperlinks to access outlook items Pin
asasov5-May-08 1:49
asasov5-May-08 1:49 
AnswerRe: Hyperlinks to access outlook items Pin
Anthony Mushrow5-May-08 2:19
professionalAnthony Mushrow5-May-08 2:19 
GeneralRe: Hyperlinks to access outlook items Pin
asasov5-May-08 2:31
asasov5-May-08 2:31 
GeneralRe: Hyperlinks to access outlook items Pin
Anthony Mushrow5-May-08 2:37
professionalAnthony Mushrow5-May-08 2:37 
GeneralRe: Hyperlinks to access outlook items Pin
asasov5-May-08 2:40
asasov5-May-08 2:40 
QuestionAsynCallback Pin
AlexPizzano5-May-08 1:28
AlexPizzano5-May-08 1:28 
QuestionHow to access the rights and authorised users of a shared folder (in C# web based application)? Pin
Deepali Dhingra5-May-08 0:48
professionalDeepali Dhingra5-May-08 0:48 
AnswerRe: How to access the rights and authorised users of a shared folder (in C# web based application)? Pin
Peter Josefsson Sweden5-May-08 3:01
Peter Josefsson Sweden5-May-08 3:01 
GeneralRe: How to access the rights and authorised users of a shared folder (in C# web based application)? Pin
Deepali Dhingra6-May-08 19:27
professionalDeepali Dhingra6-May-08 19:27 
GeneralRe: How to access the rights and authorised users of a shared folder (in C# web based application)? Pin
Peter Josefsson Sweden6-May-08 22:04
Peter Josefsson Sweden6-May-08 22:04 
QuestionWhile editing a cell that is newly created in GridView throws Index out of range error Pin
vytheese4-May-08 23:19
professionalvytheese4-May-08 23:19 
AnswerRe: While editing a cell that is newly created in GridView throws Index out of range error Pin
Luc Pattyn4-May-08 23:33
sitebuilderLuc Pattyn4-May-08 23:33 
GeneralRe: While editing a cell that is newly created in GridView throws Index out of range error Pin
vytheese5-May-08 0:13
professionalvytheese5-May-08 0:13 
QuestionProblem with Modal Form Pin
MehmetFurkan4-May-08 22:21
MehmetFurkan4-May-08 22:21 
AnswerRe: Problem with Modal Form Pin
Anindya Chatterjee4-May-08 22:39
Anindya Chatterjee4-May-08 22:39 
AnswerRe: Problem with Modal Form Pin
Luc Pattyn4-May-08 23:14
sitebuilderLuc Pattyn4-May-08 23:14 
QuestionException : RowNotInTableException was unhandled by user code Pin
cocoonwls4-May-08 22:04
cocoonwls4-May-08 22:04 

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.