• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 215
  • Last Modified:

Keeping a form on top of another

Hi,

I am looking to have a form stay on top of another form which is currently active.  It would be somewhat like a tool window.  How can this be done?

Sincerely,
Razvan Loghin
0
razvanl
Asked:
razvanl
1 Solution
 
mcixCommented:
0
 
VBDesignsCommented:
Use the SetWindowPos API:

SetWindowPos frmMain.hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE Or SWP_NOSIZE
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now