🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: microsoft.public.vc.ide_general
Article #4

Re: VC++ for a C++Builder user

#4
From: Michael Kutscher
Date: Fri, 12 Nov 2004 08:39
26 lines
2521 bytes
Hi, Jason,

> Could some kind soul please write the code to do this set of actions via Visual C++ just so I can see how its done???

I'm not shure, wether it ist possible at all, to do it in a similar way. 
I've used VCC sometimes (against better knowledge) and didn't like it.

When you are placing f.e. a button on a form using the graphical-editor 
of vcc, other things happen, than with builder. It is in fact much more 
equivalent to the "traditional" kind of making windows-software:
There is a constant for the button defined, message-handlers for this 
constant are created in the message-map and linked to the functions, you 
are writing. The button itself is defined in a ressource-file.
When you are using the graphical tools, you don't have to deal with this 
awful ... very much, its just 2 or three clicks more, til You get to the 
point of typing the on-click-function. But if You try to create a button 
(or anything else) dynamically (as in Your builder-code), that would be 
quite tricky, if its possible at all!
It might even be easier, to create the button in the traditional 
(dinosaur) C-way using the windows-api directly and writing an own 
windows-procedure for the dynamically created buttons.

But maybe, someone who likes vcc a bit more, knows of a better way.

Good luck
Michael
Technical Details
Message-ID: <cn1t3q$t26$05$1@news.t-online.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail
References: <pxYkd.84$Hn.17@lakeread06>

Show Full Headers
Complete Article Headers
X-Google-Thread: f707b,6ee133a88a5b8c9e
X-Google-Thread: f5c5c,6ee133a88a5b8c9e
X-Google-Attributes: gidf707b,gidf5c5c,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail
From: Michael Kutscher <spam.ignore@pc-coach.de>
Newsgroups: microsoft.public.vc.ide_general,borland.public.cppbuilder.vcl.components.using
Subject: Re: VC++ for a C++Builder user
Date: Fri, 12 Nov 2004 09:39:21 +0100
Organization: T-Online
Lines: 27
Message-ID: <cn1t3q$t26$05$1@news.t-online.com>
References: <pxYkd.84$Hn.17@lakeread06>
Reply-To: spam.ignore@pc-coach.de
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.t-online.com 1100249018 05 29766 qxyyX6TJtBYfiuu 041112 08:43:38
X-Complaints-To: usenet-abuse@t-online.de
X-ID: XdOHWqZcQeITPp8TbXn1sFZzN9W0bqeb1DUqpcOnf2p35uDsTx7-6K
User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; de-DE; rv:1.5) Gecko/20031013 Thunderbird/0.3
X-Accept-Language: de-de, de-at, de, en-us, en
In-Reply-To: <pxYkd.84$Hn.17@lakeread06>