|
Cool Calendar Control |
Top Previous Next |
|
This control may be used to select a date. We took the "BSGetDate" procedure from the BST example and exclude some controls to print just the calendar. This is how the window looks:
We skipped all the buttons and the header to get just the calendar. A trick to hide the PrintWindow button: the button is actually zero width and height, with a "hot key" of Ctrl-P. Therefore, when you press the Ctrl-P key in this window you get the printout, but the button is not visible (The hot key won't work if the button is actually hide). This way you can activate the template by a "hot key" in a single procedure, without using the global hotkey extension. This is how the printout looks:
|