c# Programming Glossary: chen
Maximum number of threads in a .NET app? http://stackoverflow.com/questions/145312/maximum-number-of-threads-in-a-net-app physical resources available. See this article by Raymond Chen for specifics. If you need to ask what the maximum number of..
What's the best way of accessing field in the enclosing class from the nested class? http://stackoverflow.com/questions/185124/whats-the-best-way-of-accessing-field-in-the-enclosing-class-from-the-nested-cl inner class so you'd need to pass a reference. Raymond Chen has an example describing the differences here C# nested classes..
Drag & drop of a dynamically created shortcut http://stackoverflow.com/questions/1935925/drag-drop-of-a-dynamically-created-shortcut drop windows shell share improve this question Raymond Chen did a whole article on this very topic on his blog check out..
Enumerate windows like alt-tab does http://stackoverflow.com/questions/210504/enumerate-windows-like-alt-tab-does c# windows winapi share improve this question Raymond Chen answered this a while back http blogs.msdn.com oldnewthing archive.. hwndWalk hwndTry return hwndWalk hwnd Follow the link to Chen's blog entry for more details and some corner conditions. share..
Checking stack size in C# http://stackoverflow.com/questions/2901185/checking-stack-size-in-c-sharp a case of if you have to ask you can't afford it Raymond Chen said it first. If the code depends on there being enough stack..
How to detect Windows 64-bit platform with .NET? http://stackoverflow.com/questions/336633/how-to-detect-windows-64-bit-platform-with-net Windows it would return 32 bit . As Microsoft's Raymond Chen describes you have to first check if running in a 64 bit process.. in a 32 bit process on 64 bit Windows. Microsoft's Raymond Chen How to detect programmatically whether you are running on 64..
Get selected items of folder with WinAPI http://stackoverflow.com/questions/3382946/get-selected-items-of-folder-with-winapi discoverable but the functionality is there. Raymond Chen wrote a great article about using these interfaces. There doesn't..
Recognize Windows Shell Special Folder (i.e. get its CSIDL) via its pIDL (Now determine if pIDLs are equal with C#) http://stackoverflow.com/questions/3572220/recognize-windows-shell-special-folder-i-e-get-its-csidl-via-its-pidl-now-de shell pidls share improve this question Per Raymond Chen ITEMIDLISTs can be equivalent without being byte for byte identical...
How can I prevent a user from closing my C# application? http://stackoverflow.com/questions/4655810/how-can-i-prevent-a-user-from-closing-my-c-sharp-application just your app being shut down As Microsoft's Raymond Chen would tell you Windows doesn't have a mechanism for this because..
How to make 'always-on-bottom'-window http://stackoverflow.com/questions/527950/how-to-make-always-on-bottom-window Desktop to your child window this is a bad thing Raymond Chen explains why. Also keep in mind that calling SetWindowPos with..
Lambda expression not returning expected MemberInfo http://stackoverflow.com/questions/6658669/lambda-expression-not-returning-expected-memberinfo a lambda expression. Restated code sample by Danny Chen public class Base public string Name get set public class Derived..
How to make a window always stay on top in .Net? http://stackoverflow.com/questions/683330/how-to-make-a-window-always-stay-on-top-in-net
|