Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: Visual Basic
Expertise: Intermediate
Aug 21, 1997



Application Security Testing: An Integral Part of DevOps

Build Your Own Floating Toolbar

Ever wanted a floating toolbar? To make one form "owned" by another, all it takes is a simple API call. Afterwards, the owned form will float above the form that owns it, and will be automatically hidden whenever the owner form is minimized. To set up such a relationship, use SetWindowWord with the constant SWW_HPARENT:
 Declare Sub SetWindowWord Lib "User" (ByVal _ 
hWnd%, ByVal nCmd%, ByVal nVal%) 
Global Const SWW_HPARENT = -8 
Call SetWindowWord(frmOwned.hWnd, SWW_HPARENT, _ 
Karl E.
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date