A useful preprocessor _CRTDBG_MAP_ALLOC which gives more information about the memory leak. (more>>)
L | Ma | Me | J | V | S | D |
---|---|---|---|---|---|---|
« sept | ||||||
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 |
A useful preprocessor _CRTDBG_MAP_ALLOC which gives more information about the memory leak. (more>>)
A class that allows you to display your data for a control as tooltip. written by Eugene Pustovoyt and published in Codeproject. Very cool.
Features
- Standard and balloon tooltip
- Built-in HTML-lite language for a tooltip
- Built-in support for CSS styles
- Built-in support for menus and toolbars
- Support for any size icons (max. 256 colors)
- Support for bitmaps
- Support for ImageList
- Load icons, bitmaps and strings from resources, DLLs or files
- Support Fade-in and Fade-out effects
- Support for gradient shadow for tooltip and images
- Support for applies miscellaneous effects over the any images (lighten, darken, grayed)
- Support for hyperlinks
- Support for hot areas
- Support for tables
- Support for
CScrollView
- Extended <br> and <t> tags
- Extended resource strings for the menu and toolbars items
- Every size can be customized
- Change runtime a tooltip’s text
- Implemented a Debug Mode (an idea from www.tooltips.net site with Vitaly Tomilov‘s permission)
- Support for an animation – NEW in v2.1
- Support a text wrapping – NEW in v2.1
- Full source code included!
An example can be found in Perry Bruins’ article « Track your position using a Windows Mobile 6 device« .
A great article in CodeProject by Hosh Jackson who gave a look at into the area of preventing reserse engineering.
Source: msdn
This topic describes the use of the visual styles API to create custom controls or owner-drawn controls that take advantage of the visual styles available in Microsoft Windows XP and later versions of the operating system.
First your application should determine whether visual styles are available, by calling IsAppThemed. If visual styles are not available, use fallback code to draw the control.
If visual styles are available, you can use visual-styles functions such as DrawThemeText to render your control. Note that DrawThemeTextEx enables you to customize the appearance of text, retaining some properties of the theme font while modifying others.
To draw a control in the current visual style
Responding to Theme Changes
When your control receives a WM_THEMECHANGED message and is holding a global handle to the theme, it should do the following:
look here
This is a very good article that gives a way for cool user friendly look GUI. Much imagination with simple implementation.