Click here to Skip to main content
15,892,737 members
Articles / Desktop Programming / MFC

XXControls - Library to Develop User Interface

Rate me:
Please Sign up or sign in to vote.
1.88/5 (13 votes)
14 Jan 2007CPOL2 min read 44.9K   2.6K   25   4
Menu Button Print and Preview
Sample Image - XXcontrols.jpg

Sample image

Introduction

XXControls - Library to Develop User Interface

  • Easy project linking:
    • static (LIB only)
    • dynamic (DLL+LIB)
  • Synchronization of menu colour scheme with current Windows colour scheme
  • Support for low depth colour modes

Menu

  • Support for all types of menu (main, system, popup)
  • Hot change menu style (Office XP, Office 2000,  XNET, Default)
  • Support for icons (16*16, 32*32, 48*48, custom size...)
  • Support for control sequences \t, \a (example: MENUITEM "&New\tCtrl+N", MENUITEM "&New\aCtrl+N")
  • Left-side menu border creation with unlimited drawing capabilities with only single function call

Buttons

  • Fully configurable buttons with single function call
  • Button styles (Office XP (border and fill), Office 2000 (border and default fill, or transparency), XNET (border and fill), Default (border and default fill, or transparency) and other)
  • Support for different icons for buttons for normal and hover states
  • Support for buttons with multiline text: text becomes multiline automatically when does not fit to the button width
  • "Multibutton" buttons opening popup menus
  • Tooltips of 2 types (standard and balloon)
  • BMP-support for 4 states of button
  • Support for region BMP-based buttons
  • Support for text colouring for 3 states of button
  • Support transparency for control against window background
  • Support for checkbox and radiobutton
  • Separate font for 2 states of button (hover and normal)
  • Support for sound for hover state

Print preview, printing, page setup (XXRichEdit.dll):

  • Easy usage, only 3 function calls
  • Printing from RICHEDIT control
    • Support for all RICHEDIT control versions
    • Automatic print of OLE and other objects
  • Print from any editor (edit - control, control send you message EM_FORMATRANGE)
  • Graphic and raster printing from any window
  • Combined print: anything that can be drawn in GDI context
  • Automatic multipage preview
  • Scaling from 10% to 500%
  • Single mouse click on page pops a tooltip with page number
  • Double click sets current preview scale to 100%

History

  • 15th January, 2007: Initial post

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
Russian Federation Russian Federation
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
Generalmasm32.lib [modified] Pin
Chib77716-Jan-07 20:11
Chib77716-Jan-07 20:11 
GeneralLovely UI controls, but masm32.lib is missing while compile the sample Pin
Tage16-Jan-07 18:09
Tage16-Jan-07 18:09 
Nice and good-looking controls!

When I extraced the samples and compile the "Button" project, I got the following
error message:
Button fatal error LNK1104: cannot open file '\masm32\lib\masm32.lib'

And no where in the sample could I find this lib, or source code for producing it.
Could you offer some help?

------------

Additionally: The main striking feature of the the controls to me is the buttons.
What kind of UI features does your library offer for other kinds of controls?
Could you explain a little or add some demo about it?

Your library is not dependent on MFC or any other LIB, whihc is a truly good
consideration! Thank you for the great work!

GeneralThank you Pin
Chib77715-Jan-07 19:40
Chib77715-Jan-07 19:40 
Generalsource is corrupted Pin
ErosLin15-Jan-07 14:25
ErosLin15-Jan-07 14:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.