Month: December 2006

How to customize OLE property frame window with ATL and WTL

Window API provides useful functions OleCreatePropertyFrame and OleCreatePropertyFrameIndirect, which allow easily to pop up object’s property pages, OLE property pages. The frame, however, is not customizable, does not even allows centering relative to parent’s window. COlePropertyFrameDialogT template class is to be a solution for this problem. Additionally the template offers useful methods to discover available…

Read the full article

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