by 'Crazey' dAVE Paterson ()
Category: Windows API Call/Explanation
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating:
(2 Votes)
A control that sets the topmost style for a form without code !. The control show's a Visual C++ style pin graphic. The object/control poll's the form for the actual state. Includes an object to allow custom implementation. (Without the need for 'subclassing' Spit & Curse). But be warned the topmost state does not allways work under the IDE, (it's a known problem (check the MS KB) but work's ok in the compiled EXE. If you have a problem's mail me. I'm happy to hear every comment & suggstion.
P.S I'm working on a version that show's the graphic on the caption bar, I'll post it when I can.
Inputs
None. Just drop the control on the form.
Assumes
Just drop the control on the form, and hit ctrl+F5
Code Returns
The current 'state' (Topmost or Normal) of the form specified.
Side Effects
None currently known.
API DeclarationsIn the zip file.
Download Topmost Class (14 KB)