Article View: borland.public.cppbuilder.nativeapi
Article #2582How do I get HWND?
From: poojo hackma
Date: Fri, 16 Feb 2007 20:25
Date: Fri, 16 Feb 2007 20:25
7 lines
1160 bytes
1160 bytes
I have a thread running in a non-VCL app. I want to post a WM_PAINT message to the main window from this thread, but I need to know the HWND for UpdateWindow(HWND hWnd). How do I get that from the main window? Once I have it, I can make it available to the thread.
Technical Details
Message-ID:
<45d61341$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,b586f03571cff47c,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: How do I get HWND? Date: Fri, 16 Feb 2007 14:25:58 -0600 Lines: 9 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 000714-2, 02/16/2007), Outbound message X-Antivirus-Status: Clean NNTP-Posting-Host: 12.191.89.68 Message-ID: <45d61341$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1171657537 12.191.89.68 (16 Feb 2007 12:25:37 -0800) Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail