07 Jun

Run application only once per windows-session

Using this simple tip, you can block your application to be executable only once per windows sessions. To run application again, Windows must be restarted before. Continue Reading »

  • Digg
  • del.icio.us
  • Facebook
  • Technorati
  • Google Bookmarks
  • Live
  • YahooMyWeb
  • LinkedIn
  • MySpace
17 Feb

Own cool text cursor in Editbox

Standard text cursor is boring. What about replacing default vertical line with some cool shape? Continue Reading »

  • Digg
  • del.icio.us
  • Facebook
  • Technorati
  • Google Bookmarks
  • Live
  • YahooMyWeb
  • LinkedIn
  • MySpace
21 Jan

Add own item to Internet Explorer Tools menu

If you want to add own items to Tools menu of Internet Explorer, it’s simple. All we have to do is to add some keys to Windows registry, therefore we must use Registry unit. Continue Reading »

  • Digg
  • del.icio.us
  • Facebook
  • Technorati
  • Google Bookmarks
  • Live
  • YahooMyWeb
  • LinkedIn
  • MySpace
14 Jan

How to detect clipboard change

Detecting clipboard change is very similar to detecting system time change. We will detect WM_DRAWCLIPBOARD system message. Continue Reading »

  • Digg
  • del.icio.us
  • Facebook
  • Technorati
  • Google Bookmarks
  • Live
  • YahooMyWeb
  • LinkedIn
  • MySpace
07 Jan

How to detect system time change

If the user changes the system time either with Date and Time properties dialog box or using command line, we can detect this by catching WM_TIMECHANGE system message. Here is how. Continue Reading »

  • Digg
  • del.icio.us
  • Facebook
  • Technorati
  • Google Bookmarks
  • Live
  • YahooMyWeb
  • LinkedIn
  • MySpace
04 Jan

Right justify ListBox items

The default ListBox items alignment is LeftJustify. There is no Object Inspector property to change this, so if we need to right justify items, we must use a simple trick. Continue Reading »

  • Digg
  • del.icio.us
  • Facebook
  • Technorati
  • Google Bookmarks
  • Live
  • YahooMyWeb
  • LinkedIn
  • MySpace
29 Sep

Get Process Memory Info

If you want to know how many bytes of memory is using your process, here is simple example. Continue Reading »

  • Digg
  • del.icio.us
  • Facebook
  • Technorati
  • Google Bookmarks
  • Live
  • YahooMyWeb
  • LinkedIn
  • MySpace
29 Jul

Change font, size and style of hint

Hints are everywhere. Almost every GUI element in Windows can be “hinted”. When user hover mouse over element, small yellow bubble with help text pops up. Is it possible to change hint “window” behavior? Of course… Continue Reading »

  • Digg
  • del.icio.us
  • Facebook
  • Technorati
  • Google Bookmarks
  • Live
  • YahooMyWeb
  • LinkedIn
  • MySpace
06 Jul

Change color of ListView items

To change background color of ListView items, you need to write your own OnCustomDrawItem event handler. Continue Reading »

  • Digg
  • del.icio.us
  • Facebook
  • Technorati
  • Google Bookmarks
  • Live
  • YahooMyWeb
  • LinkedIn
  • MySpace
30 Jun

Listbox with colored lines

Colored lines in listbox are more user-friendly and easy to read. Here is how to do it… Continue Reading »

  • Digg
  • del.icio.us
  • Facebook
  • Technorati
  • Google Bookmarks
  • Live
  • YahooMyWeb
  • LinkedIn
  • MySpace