Click here to Skip to main content
15,886,518 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: You learn something new every day Pin
Gary Wheeler24-Jul-19 1:44
Gary Wheeler24-Jul-19 1:44 
GeneralDragging Hairlines to Widen Fields Pin
David A. Gray29-Jun-19 8:10
David A. Gray29-Jun-19 8:10 
JokeRe: Dragging Hairlines to Widen Fields PinPopular
jsc4229-Jun-19 21:33
professionaljsc4229-Jun-19 21:33 
GeneralRe: Dragging Hairlines to Widen Fields Pin
David A. Gray30-Jun-19 10:37
David A. Gray30-Jun-19 10:37 
GeneralRe: Dragging Hairlines to Widen Fields Pin
englebart1-Jul-19 2:42
professionalenglebart1-Jul-19 2:42 
GeneralRe: Dragging Hairlines to Widen Fields Pin
David A. Gray1-Jul-19 6:08
David A. Gray1-Jul-19 6:08 
GeneralRe: Dragging Hairlines to Widen Fields Pin
englebart1-Jul-19 7:38
professionalenglebart1-Jul-19 7:38 
GeneralRe: Dragging Hairlines to Widen Fields Pin
David A. Gray1-Jul-19 7:47
David A. Gray1-Jul-19 7:47 
englebart wrote:
This is known as "Mouse Capture". Native Windows and dotNET apis are available.

That all being said, resizing beyond the borders is not very intuitive. It seems like you are breaking a rule or something.


I know that in principle, although I had forgotten the technical term for it, since I try to stay away from UI design, because it is neither my forte nor fun for me. When possible, I'll leave that to others who are more skilled than am I.

In any case, I don't recall noticing other mouse capture events that persisted beyond the border of the window in which they commenced, and I agree that the behaviour is counter-intuitive.
David A. Gray
Delivering Solutions for the Ages, One Problem at a Time
Interpreting the Fundamental Principle of Tabular Reporting

GeneralRe: Dragging Hairlines to Widen Fields Pin
Eddy Vluggen1-Jul-19 6:21
professionalEddy Vluggen1-Jul-19 6:21 
GeneralRe: Dragging Hairlines to Widen Fields Pin
David A. Gray1-Jul-19 7:48
David A. Gray1-Jul-19 7:48 
GeneralRe: Dragging Hairlines to Widen Fields Pin
Eddy Vluggen1-Jul-19 7:55
professionalEddy Vluggen1-Jul-19 7:55 
GeneralRe: Dragging Hairlines to Widen Fields Pin
Super Lloyd3-Jul-19 20:49
Super Lloyd3-Jul-19 20:49 
GeneralRe: Dragging Hairlines to Widen Fields Pin
Gary R. Wheeler11-Jul-19 14:51
Gary R. Wheeler11-Jul-19 14:51 
GeneralRe: Dragging Hairlines to Widen Fields Pin
David A. Gray12-Jul-19 5:41
David A. Gray12-Jul-19 5:41 
GeneralRe: Dragging Hairlines to Widen Fields Pin
  Forogar  12-Jul-19 6:17
professional  Forogar  12-Jul-19 6:17 
GeneralRe: Dragging Hairlines to Widen Fields Pin
David A. Gray12-Jul-19 13:06
David A. Gray12-Jul-19 13:06 
GeneralRe: Dragging Hairlines to Widen Fields Pin
Gary R. Wheeler12-Jul-19 16:08
Gary R. Wheeler12-Jul-19 16:08 
GeneralRe: Dragging Hairlines to Widen Fields Pin
Gary R. Wheeler12-Jul-19 16:10
Gary R. Wheeler12-Jul-19 16:10 
GeneralRe: Dragging Hairlines to Widen Fields Pin
David A. Gray12-Jul-19 16:56
David A. Gray12-Jul-19 16:56 
GeneralRe: Dragging Hairlines to Widen Fields Pin
obermd24-Jul-19 3:23
obermd24-Jul-19 3:23 
GeneralRe: Dragging Hairlines to Widen Fields Pin
David A. Gray24-Jul-19 5:00
David A. Gray24-Jul-19 5:00 
GeneralWhy try when it's easier to fail? Pin
Marc Clifton27-Jun-19 7:18
mvaMarc Clifton27-Jun-19 7:18 
GeneralRe: Why try when it's easier to fail? Pin
AFell227-Jun-19 11:46
AFell227-Jun-19 11:46 
GeneralRe: Why try when it's easier to fail? Pin
Sander Rossel27-Jun-19 21:09
professionalSander Rossel27-Jun-19 21:09 
GeneralRe: Why try when it's easier to fail? Pin
Dominic Burford28-Jun-19 0:55
professionalDominic Burford28-Jun-19 0:55 

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.