From: <Mat...@bm...> - 2009-02-01 07:01:58
|
Simple example... SendMessage(hwnd, WM_CLOSE, NULL, NULL); // will send a WM_CLOSE to the window referenced by hwnd Hope that helps, Matt ________________________________ From: J Hall [mailto:jsh...@ho...] Sent: 31 January 2009 18:22 To: Dev...@li... Subject: [Dev-C++] MSG I am not sure of how to send a MSG to the HWND. Could someone provide a simple example? I am just beginning to actually use windows as presentation for the programs I have been writing, and would really like to be able to make them pretty... Thanks, Yohaan This email was sent from an email account of BMW (UK) Manufacturing Limited. BMW (UK) Manufacturing Limited is a company registered in England and Wales with company number 3950868; and has its offices at Ellesfield Avenue, Bracknell, Berkshire, RG12 8TA; registered in England and Wales. The contents of this e-mail are confidential and may be privileged and subject to internal monitoring. If you are not the addressee indicated in this message, you may not copy, forward, disclose, deliver or otherwise use it or any part of it in any form whatsoever. You should then kindly notify the sender by replying to this message and destroy it thereafter. Opinions, conclusions and other information in this message that do not relate to the official business of any BMW Group Company shall be understood as neither given nor endorsed by them. |