









Show a custom popup menu for a TextBox without subclassing
Elsewhere in the TipBank we show how you can display a custom popup menu on a TextBox control by subclassing the WM_CONTEXTMENU message that Windows sends the control when the
Elsewhere in the TipBank we show how you can display a custom popup menu on a TextBox control by subclassing the WM_CONTEXTMENU message that Windows sends the control when the
The TextBox control supports the capability to undo changes, but there is no property or method that exposes this feature. You can achieve the same goal with a a set
You can quickly determine how many lines of text are contained in a multiline TextBox control whose Scrollbars property is set to 3-Both – that is, when the TextBox behaves
To determine the index of the first visible line in a multiline TextBox control you only need to send it the EM_GETFIRSTVISIBLELINE message: Private Declare Function SendMessage Lib “user32” Alias
If your video display has 256 colors or less and you assign a dithered color to the BackColor property of a TextBox control, you’ll find that the background color under
By default, DreamWeaver 2 assumes that your page will be downloaded with a 28.8 KB per second modem. The estimated download time appears in the status bar. If you are
Java lets you cast an integer into a byte and vice versa. While this provides power and flexibility, we should be aware that Java’s byte data type is signed, meaning
We can use java.text.DateFormat to validate dates. DateFormat is an abstract class for date/time formatting subclasses. It provides parsing methods for conversion of text into date. If the conversion cannot
If we have a comma delimited string like “token0,token1,token2,,token4” that has some token(s) missing, and we try to use java.util.StringTokenizer to place each delimited token in a slot of an