Click here to Skip to main content
6,630,289 members and growing! (23,104 online)
Email Password   helpLost your password?
Announcements
BullFrog Power
 
Search    
Add to IE Search

Articles by Derek Lakin (8 articles found)

Average article rating: 3.87

Button Controls

CButtonSSL
Last Updated: 4 Dec 2001   Page Views: 237,449   Rating: 4.08/5    Votes: 26   Popularity: 5.77   Bookmark Count: 52
An owner-drawn, flat, menu button that correctly handles the default state

Edit Controls

HTML syntax highlighting with the Rich Edit control
Last Updated: 18 Apr 2002   Page Views: 149,461   Rating: 3.67/5    Votes: 12   Popularity: 3.96   Bookmark Count: 34
An extension to CRichEditCtrl to illustrate simple syntax highlighting

Miscellaneous

Windows XP style Collapsible Panel Bar
Last Updated: 20 Dec 2002   Page Views: 380,123   Rating: 4.45/5    Votes: 95   Popularity: 8.81   Bookmark Count: 264
Extended System.Windows.Forms.Panel classes for a collapsible panel and a panel bar to contain them, in a Windows XP style.

Tabs & Property Pages

CTabCtrlSSL - An easy to use, flexible extended tab control
Last Updated: 2 Oct 2003   Page Views: 452,883   Rating: 4.63/5    Votes: 102   Popularity: 9.29   Bookmark Count: 120
An extended tab control that allows tab pages to be added from dialog resources

Internet / Network

How to get a list of users from a server
Last Updated: 27 Nov 2001   Page Views: 136,675   Rating: 4.45/5    Votes: 17   Popularity: 5.48   Bookmark Count: 34
How to get a list of users and their details from a specified server.

Macros and Add-ins

WinDiff Visual Studio Add-in
Last Updated: 1 Jan 2002   Page Views: 71,912   Rating: 3.76/5    Votes: 13   Popularity: 4.19   Bookmark Count: 31
A Visual Studio Add-in that allows the current file, or it's containing folder to be compared using WinDiff
Code Store - A VS.NET Add-in
Last Updated: 15 Sep 2003   Page Views: 101,944   Rating: 3.67/5    Votes: 21   Popularity: 4.86   Bookmark Count: 74
A Visual Studio .NET add-in to provide instant integrated access to an online repository of .NET components.

Threads, Processes & IPC

How to use the same thread function for multiple threads (safely)
Last Updated: 28 May 2001   Page Views: 108,716   Rating: 3.84/5    Votes: 19   Popularity: 4.91   Bookmark Count: 33
This article shows you how to subclass CWinThread to create a class that allows multiple instances to effectively use the same thread function, safely.

Windows Presentation Foundation

Setting the Initial Focus in WPF [Technical Blog]
Last Updated: 6 Apr 2009   Page Views: 5,566   Rating: 4.44/5    Votes: 5   Popularity: 3.11   Bookmark Count: 13
Licence: The Code Project Open License (CPOL)   
In WPF dialog boxes, I quite often see some code which looks like the following code. example. private void OnLoaded(object sender, EventArgs e){ this._textSearch.Focus();}This is usually accompanied by some XAML that likes like the following XAML example. Migrating a Legacy WPF Application to Prism - Part 2 [Technical Blog]
Last Updated: 6 Apr 2009   Page Views: 4,404   Rating: 3.00/5    Votes: 1   Popularity: 0.00   Bookmark Count: 4
Licence: The Code Project Open License (CPOL)   
After my initial successes in moving to a Prism-style bootstrapper in Part 1 it was time to move onto the next step. But in the case of a legacy application, what's the next step? Application Structure Overview Our legacy application consists primarily of a WPF user interface, a WCF service that p
Creating a Custom View Mode that Supports a Template Selector [Technical Blog]
Last Updated: 6 Apr 2009   Page Views: 5,102   Rating: 5.00/5    Votes: 1   Popularity: 0.00   Bookmark Count: 9
Licence: The Code Project Open License (CPOL)   
Background The controls that inherit from ItemsControl (such as ListBox, ListView, and so on) expose an ItemTemplateSelector property that you can use instead of the ItemTemplate property to specify a DataTemplateSelector. The DataTemplateSelector enables you to specify your own custom logic that d
Changing the Caret Colour in WPF [Technical Blog]
Last Updated: 7 Apr 2009   Page Views: 4,585   Rating: 3.20/5    Votes: 3   Popularity: 1.53   Bookmark Count: 1
Licence: The Code Project Open License (CPOL)   
In WPF, you don’t have direct control over the colour of the caret in a TextBox or a RichTextBox. What the framework does is to use the inverse of the colour that you choose for the Background property. I’ve seen a few examples of styles that explicitly set the Background property to {x:Null} to com
Defining the Default Style for a Lookless Control [Technical Blog]
Last Updated: 14 Apr 2009   Page Views: 3,614   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0   Bookmark Count: 6
Licence: The Code Project Open License (CPOL)   
Microsoft introduced the concept of “lookless” controls in WPF, which means that the control defines its behaviour without any information about how it actually looks, which is where templates and styles come in. However, all of the default controls provide a default look, which is in keeping with
Binding to Enumerations [Technical Blog]
Last Updated: 6 Apr 2009   Page Views: 3,059   Rating: 3.00/5    Votes: 3   Popularity: 1.43   Bookmark Count: 10
Licence: The Code Project Open License (CPOL)   
Every now and then you find yourself needing to bind a some control or other to the values of an enumeration, such as System.DayOfWeek. You'd think this would be fairly simple, but it's actually trickier than you think. I am fortunate to work with Paul Jackson, who's a very clever chap, especially
Migrating a Legacy WPF Application to Prism - Part 1 [Technical Blog]
Last Updated: 6 Apr 2009   Page Views: 2,952   Rating: 3.00/5    Votes: 1   Popularity: 0.00   Bookmark Count: 8
Licence: The Code Project Open License (CPOL)   
This is the first of several posts on my journey migrating a legacy application to use the Composite Application Guidance for WPF, which (like Brian Noyes) I prefer to call Prism, mainly because it's shorter, but it's also cooler! I've watched the "Brian Noyes on Prism" dnr TV episode intently, rea
Change Notification for Dependency Properties [Technical Blog]
Last Updated: 6 Apr 2009   Page Views: 3,032   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0   Bookmark Count: 8
Licence: The Code Project Open License (CPOL)   
The other day I was hacking away in WPF and I decided that I needed to be able to do something specific when the Visibility property of a control changed. Now, as you probably know, most of the properties of WPF controls have an accompanying Changed event, such as IsEnabled/IsEnabledCh
Moving a WPF Window with a WindowStyle of None [Technical Blog]
Last Updated: 6 Apr 2009   Page Views: 5,006   Rating: 3.60/5    Votes: 3   Popularity: 1.72   Bookmark Count: 7
Licence: The Code Project Open License (CPOL)   
In my previous post: Creating a Custom Window Style, I showed how to create a custom Style in WPF using WindowStyle.None and ResizeMode.NoResize. What bugged me about this approach was that you can’t move the custom window, because you have no Window chrome to drag around the screen. I read one ar
Creating a Custom Window Style [Technical Blog]
Last Updated: 6 Apr 2009   Page Views: 5,399   Rating: 4.00/5    Votes: 3   Popularity: 1.91   Bookmark Count: 21
Licence: The Code Project Open License (CPOL)   
I'm currently neck deep in refactoring an application for my company and one of the issues that I've just finished tidying up was that of providing a custom Window Style. The original application developer (in his infinite wisdom) had the same markup in every single file to produce the same look-an

C#

HyperlinkButton Gotcha [Technical Blog]
Last Updated: 6 Apr 2009   Page Views: 2,233   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0   Bookmark Count: 3
Licence: The Code Project Open License (CPOL)   
The new Silverlight 2 HyperlinkButton control is one of the few controls that there is no exact match for between Silverlight 2 and WPF, and it's use it quite simple. You specify a value for the NavigateUri property, which defines where the link will navigate to (it's all in the name!) and also spec

Programming Tips

Cloud-Based Source Control using Live Mesh and Git [Technical Blog]
Last Updated: 12 Jun 2009   Page Views: 2,422   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0   Bookmark Count: 1
Licence: The Code Project Open License (CPOL)   
I’ve been working on a couple of projects recently where I’ve been storing the source in the cloud using Live Mesh so that I could access the solution from any of the PCs and laptops that litter the house. On the whole this approach has worked fairly well, although it results in a lot of changes thr
Testing Private Members in Visual Studio [Technical Blog]
Last Updated: 12 Jun 2009   Page Views: 2,481   Rating: 4.00/5    Votes: 1   Popularity: 0.00   Bookmark Count: 4
Licence: The Code Project Open License (CPOL)   
I’m currently working on a CommandBehaviour class to enable me to fire commands in response to arbitrary routed events on elements that don’t natively support commands, inspired by Sacha Barber’s post WPF: Attached Commands. Whilst trying to apply some unit tests to what I’m writing I came across t

Derek Lakin


Member

Occupation: Software Developer (Senior)
Location: United Kingdom United Kingdom


Last Updated 21 Nov 2009
Web17 | 2.2.0175 | Advertise | Privacy
Copyright © CodeProject, 1999-2009
All Rights Reserved. Terms of Use