Click here to Skip to main content
15,891,903 members
Home / Discussions / C#
   

C#

 
Questionneural network Pin
nth404022-Aug-08 5:08
nth404022-Aug-08 5:08 
JokeRe: neural network Pin
Brady Kelly22-Aug-08 6:14
Brady Kelly22-Aug-08 6:14 
QuestionVirtual Camera Control Pin
tjschilling22-Aug-08 5:06
tjschilling22-Aug-08 5:06 
QuestionRe: Virtual Camera Control Pin
led mike22-Aug-08 5:19
led mike22-Aug-08 5:19 
AnswerRe: Virtual Camera Control Pin
tjschilling22-Aug-08 5:32
tjschilling22-Aug-08 5:32 
GeneralRe: Virtual Camera Control Pin
led mike22-Aug-08 6:13
led mike22-Aug-08 6:13 
Questionmdi child form Pin
laknath22-Aug-08 4:22
laknath22-Aug-08 4:22 
AnswerRe: mdi child form Pin
DaveyM6922-Aug-08 4:37
professionalDaveyM6922-Aug-08 4:37 
It can be done by checking the location property of the form in the move or locationchanged event but it's nasty as the form jumps.

I wrote an article[^] about doing this with dialog forms (not children) but you may be able to adapt it.

The trick is to capture the WM_NCLBUTTONDOWN message that occurs when the title bar of the form is clicked and calculate the rectangle from that cursor point where movement is allowed - and set the cursor's clip property to that rectangle. You need to remove the clip after the mouse is released

Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Expect everything to be hard and then enjoy the things that come easy. (code-frog)

AnswerRe: mdi child form Pin
Manas Bhardwaj22-Aug-08 5:00
professionalManas Bhardwaj22-Aug-08 5:00 
QuestionLink Keyboard Shortcut to Button Pin
polishprogrammer22-Aug-08 4:09
polishprogrammer22-Aug-08 4:09 
AnswerRe: Link Keyboard Shortcut to Button Pin
Abhijit Jana22-Aug-08 4:23
professionalAbhijit Jana22-Aug-08 4:23 
GeneralRe: Link Keyboard Shortcut to Button Pin
DaveyM6922-Aug-08 4:25
professionalDaveyM6922-Aug-08 4:25 
GeneralRe: Link Keyboard Shortcut to Button Pin
polishprogrammer22-Aug-08 6:26
polishprogrammer22-Aug-08 6:26 
AnswerRe: Link Keyboard Shortcut to Button Pin
DaveyM6922-Aug-08 4:28
professionalDaveyM6922-Aug-08 4:28 
AnswerRe: Link Keyboard Shortcut to Button Pin
Nirandas22-Aug-08 7:02
Nirandas22-Aug-08 7:02 
Question(WPF)need relative path [modified] Pin
wolfshad322-Aug-08 4:08
wolfshad322-Aug-08 4:08 
AnswerRe: (WPF)need relative path(solved) Pin
wolfshad323-Aug-08 4:48
wolfshad323-Aug-08 4:48 
Questionpage won't fit in A4 (itextsharp dll used) Pin
stephan_00722-Aug-08 4:06
stephan_00722-Aug-08 4:06 
QuestionDefaultNewRowValue disappears from DataGridView Pin
RobScripta22-Aug-08 3:28
professionalRobScripta22-Aug-08 3:28 
QuestionVista annoyance: CLR error 80004005 (new info) [updated] Pin
Harvey Saayman22-Aug-08 3:05
Harvey Saayman22-Aug-08 3:05 
AnswerRe: Vista annoyance: CLR error 80004005 (new info) Pin
DaveyM6922-Aug-08 3:32
professionalDaveyM6922-Aug-08 3:32 
GeneralRe: Vista annoyance: CLR error 80004005 (new info) Pin
Harvey Saayman22-Aug-08 3:36
Harvey Saayman22-Aug-08 3:36 
GeneralRe: Vista annoyance: CLR error 80004005 (new info) Pin
DaveyM6922-Aug-08 3:51
professionalDaveyM6922-Aug-08 3:51 
GeneralRe: Vista annoyance: CLR error 80004005 (new info) Pin
Harvey Saayman22-Aug-08 4:20
Harvey Saayman22-Aug-08 4:20 
GeneralRe: Vista annoyance: CLR error 80004005 (new info) Pin
DaveyM6922-Aug-08 4:23
professionalDaveyM6922-Aug-08 4:23 

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.