Article View: borland.public.cppbuilder.nativeapi
Article #2548Getting Message with WinMain
From: poojo hackma
Date: Mon, 12 Feb 2007 20:21
Date: Mon, 12 Feb 2007 20:21
12 lines
1481 bytes
1481 bytes
I've got a small AutoRun style application that currently only has a WinMain function (i.e. old C program style). How can I add the ability to search for Windows Messages like WM_COMMAND? TCustomForm includes a WndProc function that has what I want, but my small WinMain application does not have (or need) a TForm. Is there some way to implement this without having to create a form that I don't use? Or, how would I create a custom WndProc for my application? Thanks in advance! PJ
Technical Details
Message-ID:
<45d0cc1f@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ece89f4506d844ba,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "poojo hackma" <poojo.com/mail> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Getting Message with WinMain Date: Mon, 12 Feb 2007 14:21:02 -0600 Lines: 14 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3028 x-mimeole: Produced By Microsoft MimeOLE V6.00.2900.3028 X-RFC2646: Format=Flowed; Original X-Antivirus: avast! (VPS 000712-7, 02/12/2007), Outbound message X-Antivirus-Status: Clean NNTP-Posting-Host: 12.191.89.68 Message-ID: <45d0cc1f@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1171311647 12.191.89.68 (12 Feb 2007 12:20:47 -0800) Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail