Disable the Omnis Close Box

Gary Connor gary_connor at directline-tech.com
Fri Apr 10 12:13:57 EDT 2009


   Register= DLL ('user32','FindWindowA','ICJM')

   Call DLL= ('user32','FindWindowA','Q4',0,0) Returns %HWND



   Register DLL= ('user32','GetSystemMenu','IJJJ')

   Call DLL= ('user32','GetSystemMenu',%HWND,0) Returns %MENUID



   Register DLL= ('user32','RemoveMenu','IJJJ')

   Call DLL= ('user32','RemoveMenu',%MENUID,-4000,0) Returns #1
    ________________________________

   Gary Connor, PhD, CIO

   [1]DirectLine= Technologies, Inc.

   1600 N. Carpenter Road

   Building D

   Modesto, CA 95351

   (209) 491-2020

References

   1. 3D"http://directline-tech.com"/
-------------- next part --------------
***********************
This message has been scanned by the InterScan for CSC SSM and found to be free of known security risks.
***********************


----------------------------------------------------------------------------------------
The information contained in this email and any attachments is confidential
and may be subject to copyright or other intellectual property protection.
If you are not the intended recipient, you are not authorized to use or disclose
this information, and we request that you delete the original message from
your mail system.


More information about the omnisdev-en mailing list