Author: Roman

Automated Resource Updater updated

The COM object that allows automated file resource updates is updated with a few new features: STRINGTABLE management, methods and properties to read/write string resources of a binary BITMAP management, methods and properties to read/write bitmap resources of a binary Documentation and samples are still pending, just a binary this time once again. Here is…

Read the full article

CHyperStatic: a hypertext static control in ATL and WTL

As well known, WTL provides CHyperLinkImpl custom control implementation to use clickable hyperlink controls. Also control uses a few styles (underlining, tags, command vs. notify notifications), the main implementation is limited: control frequently requires static text, tooltip text and location for ShellExecute; you cannot embed all three strings into dialog template control’s window text so…

Read the full article

CAPTCHA for ASP

CAPTCHA stands for “Completely Automated Public Turing test to tell Computers and Humans Apart” which is more known to public as a verification code one needs to enter in order to proceed with certain action. The challenge is aimed to prevent from automated operation, such as, for instance, user registration, spam or data mining. Alax.Info…

Read the full article

Replace in Clipboard: update

Alax.Info Replace in Clipboard updates: New: hotkey (default Win+C, configurable) to perform pending replacement; “global” section of configuration file defines hot key to use New: “suppresstooltips” per-replacement option to suppress system tray icon tool tips for the replacement Updated: after replacement the tool tip also shows the replacement text put into clipboard Application Name: Alax.Info…

Read the full article

Windows Sockets fun

Simple stress application brings down Windows Sockets subsystem within tens of seconds on Microsoft Windows XP Professional Service Pack 2… It appears to be a key point that SO_RCVBUF and SO_SNDBUF sockets options are increased from default value. The expected behavior, and it is the case with default socket buffer sizes, is running out of…

Read the full article

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