Okay. Looking at the SetWindowPos function, maybe this should work.
Declare the SetWindowPos function.
Declare Sub SetWindowPos Lib "User32" (ByVal hWnd As Long, ByVal hWndInsertAfter As Long, ByVal X As Long, ByVal Y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long)
Add these constants.
Global Const HWND_TOPMOST = -1
Global Const SWP_NOMOVE = 2
Global Const SWP_NOSIZE = 1
Global Const FLAGS = SWP_NOMOVE Or SWP_NOSIZE
Call this code snippet in your other function.
SetWindowPos frm.hWnd, HWND_TOPMOST, 0, 0, 0, 0, FLAGS
Hope this helps.