Description: 1. How to make the window always on top of PB
SetWindowPos function bar by the window display level was revised to HWND_TOPMOST, you can make the specified window
I will never be covered by other windows, this function is declared as follows:
Function Long SetWindowPos (Long hwnd, Long ord, Long x, Long y, Long
dx, Long dy, Long uflag) Library "user32.dll"
Parameters of an order to show top-level window handle, the parameter 2 shows the level of the specified parameter 7 as an additional option, the rest of
Parameter specifies the window position and size, can be ignored. Open the window or the Activate event by adding the following
Function call:
SetWindowPos (Handle (This),-1,0,0,0,0,3)
-1 Means that two parameters take the most top-level display window, check that at the bottom of a display the last argument, if taken one,
Indicated that the window size remains unchanged, taking two positions that remain unchanged, therefore, take 3 (= 1+2) that the size and
Position r
File list (Check if you may need any files):
Win32APIandPB.txt