Archive for December, 2006

Published by alax on 02 Dec 2006

How to add features to standard message boxes in ATL and WTL

MessageBox function is easy to use but it sometimes lacks features. They can be added through a hook, however. This sample demonstrates three features for message boxes:

  1. AtlMessageBoxEx shows message box centered by parent window
  2. AtlTimedMessageBoxEx shows message box with countdown timer to close
  3. AtlOptionalMessageBoxEx shows message box with checkbox to suppress the box in future (the setting is stored into registry)

Continue Reading »

Published by alax on 02 Dec 2006

Replace in Clipboard: update

Alax.Info Replace in Clipboard updates:

  • Fixed: application might stop watching clipboard
  • Updated: default configuration file location moved to Application Data subdirectory of user’s profile directory; should it be missing there, the application will still look into binary directory
  • New: open configuration file and reload configuration commands in tray menu
  • Updated: better UI feedback on application status

Application Name: Alax.Info Replace in Clipboard
License: Free for personal use, request commercial licenses via email or contact form
Latest Version: 1.0.0.82
Download Link: Alax.Info Replace in Clipboard 1.0.0.82

Published by alax on 02 Dec 2006

Seagate’s CEO Bill Watkins: “It’s the content that’s important”

Being undoubtedly true, the important understating of the role of content is still neglected by many. Bill told great about this:
http://money.cnn.com/2006/11/30/magazines/fortune/obrienseagate.fortune/index.htm?section=money_latest

The media: “People worry that newspapers are going out of business. So what? It’s the content that’s important. No one gives a shit about the delivery mechanism. Think about mail. You had the pony express, truck delivery, airmail, email. You don’t care how it gets to you. I read more now than I ever did, but I get it off my PC. I don’t need to go down to the end of the driveway and pick up the newspaper. It’s the content that’s most important.”

Published by alax on 01 Dec 2006

How to use native window classes (controls) in resource dialog templates in ATL and WTL

Having custom controls implemented as window classes, it is convenient to use them directly in resource dialog templates. Visual Studio resource editor allow to add custom control item to dialog. This custom control has a Class property which defines window class name of the control. Should native C++ implementation of window class be registered, it can be used in dialog templates.

image101.png

Continue Reading »

« Prev