Article View: borland.public.cppbuilder.nativeapi
Article #4566How can I send a message to QT component?
From: Avex
Date: Tue, 10 Jan 2006 16:23
Date: Tue, 10 Jan 2006 16:23
15 lines
1603 bytes
1603 bytes
Hi all, I want to send Lon./Lat. values to GoogleEarth and force it to search the location I want for me. Now, I have got the handle of GoogleEarth window and its component handle, however I found the combobox component of GoogleEarth is QComboBox which inherit from QWidget (QT). Is there a way to send message to control QComboBox as to control ComboBox in windows? Moreover, CB_XXXX messages seems not work, but , 'SetWindowPos' can show/hide the QComboBox I found. I have no experience on QT, can anyone tell me what the mechanism QT is? And how can I control it? Does QT also support messages concepts ? thanks for any help, Avex
Technical Details
Message-ID:
<43c3e093@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!meganewsservers.com!feeder2.on.meganewsservers.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,1d0229862694f78f,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Avex" <avex@I.Dont.Like.Spammer> Newsgroups: borland.public.cppbuilder.nativeapi Subject: How can I send a message to QT component? Date: Wed, 11 Jan 2006 00:23:43 +0800 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 NNTP-Posting-Host: 220.140.44.147 Message-ID: <43c3e093@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1136910483 220.140.44.147 (10 Jan 2006 08:28:03 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!meganewsservers.com!feeder2.on.meganewsservers.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail