Windows And Windows Apis

SetIEStartPage – Change IE start page

‘ Set the IE start page’ Note: requires the SetRegistryValue, CheckRegistryKey and CreateRegistryKey ‘ routines, you can find them in the CodeBank’ Example:’ SetIEStartPage “”Public Sub SetIEStartPage(ByVal sPage As String) Const HKEY_CURRENT_USER = &H80000001 Dim sKey As String sKey = “SoftwareMicrosoftInternet ExplorerMain” ‘ if the Key does not exist If

Understanding Iterator Categories

The Standard Template Library defines five major categories of iterators. The following diagram illustrates these categories:input iterators output iterators / forward iterators | bidirectional iterators | random access iteratorsNote that this illustration doesn’t represent inheritance relationships; it merely describes the iterator categories and their interfaces. Each lower category is a

GetTreeViewNodeRect – The bounding rectangle of a TreeView’s node

Option ExplicitPrivate Declare Function SendMessage Lib “user32” Alias “SendMessageA” (ByVal _ hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, _ lParam As Any) As LongType RECT Left As Long Top As Long Right As Long Bottom As LongEnd TypePrivate Const TV_FIRST = &H1100Private Const TVM_GETITEMRECT = (TV_FIRST