Month: December 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: AtlMessageBoxEx shows message box centered by parent window AtlTimedMessageBoxEx shows message box with countdown timer to close AtlOptionalMessageBoxEx shows message box with checkbox to suppress the box in…

Read the full article

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…

Read the full article

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…

Read the full article

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…

Read the full article