MobiNav

All Things Mobility

février 21st, 2007

Transparent Button with Region and Anti-Aliased Edges

This is an example of how to create and use masked and semi-transparent bitmap buttons that can be overlaid on any background, including other bitmaps. The buttons are automatically alpha-blended (anti-aliased) with the background to create nice smooth edges, and provide region clipping to create various elliptical and other shapes.

For details click codeproject

fdljmkdfsqlmfdsqqjfl

février 21st, 2007

alternative to MFC

Win32++ provides a framework for developing applications, using the Win32 API directly. It supports all MS operating systems which run the Win32 API, from Windows 95 through to Windows XP and Vista. This framework is designed to produce programs with a similar look and feel to those created using MFC. It can develop applications based on simple windows, dialogs, frames and MDI frames. The frames produced by Win32++ have the following features:

  • Rebar Control (to contain the Menubar and Toolbar)
  • Menubar
  • Toolbar
  • Status bar
  • Tool tips

Win32++ also brings an object oriented approach to programming directly with the Win32 API. Each window created is a C++ class object capable of having its own window procedure for routing messages.

Click CodeProject for detail

You may also interest in VCF or Ultimae++ or wxWidgets

février 21st, 2007

Plugin System – an alternative to GetProcAddress and interfaces

Plugins are the common way for extending applications. They are usually implemented as DLLs. The host application locates the plugins (either by looking in a predefined folder, or by some sort of registry setting or configuration file) then loads them one by one with LoadLibrary. The plugins are then integrated into the host application and extend it with new functionality.

This article will show how to create a host EXE with multiple plugin DLLs. We’ll see how to seamlessly expose any of the host’s classes, functions and data as an API to the plugins. There will be some technical challenges that we are going to solve along the way.

Click CodeProject for detail.

|