🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.basic.visual.misc
Article #424

Re: Control creation

#424
From: Ryan Faricy
Date: Wed, 17 Sep 1997 00:00
58 lines
3239 bytes
 For your first question, you can use SetWindowLong for this.

For your second, try looping through the array and saving each array as
Array1=..., Array2=...
When you want to retrieve the properties, loop and parse the properties and
use the method to add whatever it is that you need.
--
R�an � Fearthachse (Ryan Faricy) - jtons@minn.net
� Eire! (from Ireland!)
CEO - RySoft Corporation

RySoft VB Expedition, version 2.0!
http://www1.minn.net/~jtons/
Microsoft SiteBuilder Network Level 2

Mo �hdar (my quote): "The unparalleled evacuation of rampant paradigm
shifts
will destabilize tomorrow's egalitarianism"

Lukas Casar wrote in article <341E897E.3749@integia.cz>...

>Hello everyone, I've got serious problems in control creation...
>
>1) How to write to runtime-read-only properties of control I'm using as
>the base of my new control.
>   I need to create my own control based on standard ListView. ListView
>has for example 'HideSelection' property, which is read-only in runtime.
>But when I'm creating own control based on ListView, this ListView is in
>'runtime' mode while my new control is in design-time in VB development
>environment. It means that I can't change this property of ListView in
>design-time of my new control, because that ListView in already in
>runtime mode. How to solve this ?
>
>2) Problem with PropBag (Property Bag). I need to define own properties
>for each column in original ListView (BO property bounding and other new
>features). In fact this requires to store a collection or an array to
>the PropBag. But when I tried to use collection, it displayed 'System
>error - Such interface not supported' message after WriteProperties. So
>I tried to use an array, but I wasn't able to read it then by
>ReadProperties, because it isn't possible to write something like
>MyArray=PropBag.ReadProperties("MyArray") - you can't assign a array by
>"=".
>
>Thanks for any advice
>   Lukas Casar
>
>
>PS: Please reply to casar@integia.cz, I don't read news often...


begin 666 Reahan T. Fearthachse.vcf
M0D5'24XZ5D-!4D0-"DXZ1F5A<G1H86-H<V4[4F5A:&%N.U0N#0I&3CI296%H
M86X@5"X@1F5A<G1H86-H<V4-"D5-04E,.U!2148[24Y415).150Z:G1O;G- 
5;6EN;BYN970-"D5.1#I60T%21 T*
`
end
end
Technical Details
Message-ID: <34204a0e.0@steggy.minn.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <341E897E.3749@integia.cz>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10c949,56c43aebb403b64c
X-Google-Attributes: gid10c949,public
X-Google-Thread: 113d8f,56c43aebb403b64c
X-Google-Attributes: gid113d8f,public
X-Google-Thread: 108062,56c43aebb403b64c
X-Google-Attributes: gid108062,public
X-Google-Thread: 110e3b,56c43aebb403b64c
X-Google-Attributes: gid110e3b,public
X-Google-Thread: f645d,56c43aebb403b64c
X-Google-Attributes: gidf645d,public
X-Google-Thread: 10b213,56c43aebb403b64c
X-Google-Attributes: gid10b213,public
From: "Ryan Faricy" <jtons@minn.net>
Subject: Re: Control creation
Date: 1997/09/17
Message-ID: <34204a0e.0@steggy.minn.net>
X-Deja-AN: 273354917
References: <341E897E.3749@integia.cz>
X-MimeOle: Produced By Microsoft MimeOLE Engine V4.71.1008.3
Organization: RySoft
Newsgroups: comp.lang.basic.visual.misc,comp.lang.basic.misc,comp.lang.basic.visual,cz.comp.lang.basic.visual,microsoft.public.vb.controls,microsoft.public.vb.controls.creation