Non-Client control 1.0
Downloads:
Publisher: viksoe.dk
File size: 55KB
OS: Windows XP, 2000, 98, Me
Date added: 2009-10-27
Homepage: http://www.viksoe.dk/
Category: Development
Non-Client control 1.0 Description
"Testing non-client painting in Windows."
BSEditor: Non Client painting in Windows allows you to custom paint the frames, Border and caption of your window. Two important messages need to be handled: the WM_NCCALCSIZE, which determines the size of the non-client area, and WM_NCPAINT where you do the painting.
The WM_NCPAINT message is sent to all windows just prior the usual WM_PAINT message. Unlike WM_PAINT, you need to grab hold of the Device Context (HDC) yourself using the GetWindowDC API. Once set up, you can do custom painting of any sort of the Window border and caption.
The sample included here custom paints my old Property Grid control with bulky and slanted headers. It's not very pretty, but shows that it is really not too difficult to create new headerbars for the common ListView control.
There are only a few samples available from Microsoft to demonstrate this technique. It's probably due to the fact that they change the appearance (theme) of the standard controls from time to time (OS to OS), and too much custom painting will create non-compliant controls in the end. I have actually seen comments like "if they're writing the code, they must know what they're doing." As someone who writes code, I appreciate the vote of confidence, but knowing how to program isn't the same thing as knowing what you're doing. Knowing when not to write a certain piece of code is probably a much more powerful gift. you can free download Non-Client control 1.0 now.
Non-Client control 1.0 Keywords
Non-Client control 1.0 Related Software
- Hidetools Parental Control
Remotely monitor all computer activities. Restrict Internet and program access. - Another Bittorrent
ABC is an client for the Bittorrent peer-to-peer file distribution solution. - Movie Player Pro ActiveX Control
media player, video player activex Mov, Mp4, 3gp, AVI, WMV, MPEG-1, RM, MPEG-2 - GMail Drive shell extension
creates a virtual filesystem around your Google GMail account - atldock
A basic docking windows framework for WTL. - Non-Client control
Testing non-client painting in Windows. - Skinned Button control
A WTL version of Shinya Miyamoto's Window Blinds skinned button. - Edit control (filter)
A simple subclassed EDIT control, which filters input. - Menu Button control
A menu button control. Ownerdrawn button painting. - BVRDE
An IDE for remote compiling debugging UNIX and LINUX applications from Windows - Coloured controls
Extensions to most of the standard Windows controls with custom colouring. - HTML Source Bar
Shows parsed HTML, script code,style sheet source, image information o fbrowser. - Console Screen class
The class wraps the Win32 Console API. - PropertyList control
A WTL property list control; just like the one in MS Visual Basic. - Command Bar XP
An extension to the WTL Command Bar - A LED control
A LED control. - CFixedString
Implements a CString-like class with a fixed-length string buffer. - PropertyGrid control
A simple WTL grid control. - Cool Tabs
Includes DevStudio 6 and VisualStudio.NET folder tabs. - MultiSelect Tree View control
A tree with multi-select capabilities. - ComboBoxes
Various ComboBox controls. - Simple HTML Viewer
A RTF-based HTML viewer control. Extends the RichEdit control. - CShellLink
A small MFC class that wraps the Windows Shell's shortcut API. - CPathMonitor
Uses the FindFirstChangeNotification Win32 API to detect changes in a file path. - MiniHTML control
A GDI based label control with text formatting. - Gmail Driver
Shell Namespace Extension that creates a virtual filesystem around Gmail account - Alpha Play
A short walk-through of the alpha functions in Windows XP. - ASMIL
ASM to IL compiler - RTF Script Editor
A RTF based editor with syntax highlighting. - XML OLE DB Provider
An OLE DB Provider allowing you to query XML documents with SQL. - WriteRes
Modifies the icon resource section of any application. - Database wrappers Class
A set of classes wrapping the ODBC and OLE DB database APIs. - Script Studio
A remake of the Envox Studio application. - Dialog Ed
Dialog Ed implements a dialog editor using the DHTML Editing Component. - ASCII Desktop
This small utility displays your desktop as ASCII art. - HTML ListBox
A WTL list control which uses the HTML layout engine. - BaseScript
A scripting language with C or JavaScript-like syntax
Non-Client control 1.0 Publisher's Software
Popular Searches
Hot Downloads Software
New Release Software