🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #10066

Re: Restore Window

#10066
From: KL Chin
Date: Tue, 25 May 2004 02:30
22 lines
1542 bytes
Hi,

This due to algo used, bcoz when using EnumWindow to
get the process ID and thread ID, I thought the HWND
pass-in was the only ONE.

When application in normal (show normal) and used
EnumWindow,  the very 1st match process ID and thread ID
have the right visible HWND (ClassName : Volume Control),
but when minimize the HWND was for the main application
(i.e. ClassName : SndVol32)

Regards
KL Chin

"Thomas Maeder [TeamB]" <maeder@glue.ch> wrote in message
news:m28yfhn586.fsf@madbox2.local...
> "KL Chin" <klchin@1asiarnd.com.my> writes:
>
> > Problem solve.
>
> How?
Technical Details
Message-ID: <40b2af59@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <40b1b7ff@newsgroups.borland.com> <40b1c46b@newsgroups.borland.com> <m28yfhn586.fsf@madbox2.local>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,70be4e267306881
X-Google-Attributes: gid10cc67,public
From: "KL Chin" <klchin@1asia.com.my>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <40b1b7ff@newsgroups.borland.com> <40b1c46b@newsgroups.borland.com> <m28yfhn586.fsf@madbox2.local>
Subject: Re: Restore Window
Date: Tue, 25 May 2004 10:30:01 +0800
Lines: 24
Organization: CIE Corporation
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 219.93.184.30
Message-ID: <40b2af59@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1085452121 219.93.184.30 (24 May 2004 19:28:41 -0700)
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail