1. PropertyList Control for Win32Lib

If anyone wants to take a look at my emulated Property List control, I've
put it on my site temporarily at:

   http://www.lanset.com/dcuny/download/ide.zip

I hacked an old version of my Win32Lib IDE, so you can dynamically change
control attributes by altering the values on the list. The code's still in
alpha, but I think it's pretty spiff despite the flaws.

-- David Cuny

new topic     » topic index » view message » categorize

2. Re: PropertyList Control for Win32Lib

Hi, David,

If this is what you wanted to send me, I'll just download it from here.

Thanks,
Judith


On Fri, 6 Oct 2000 02:21:14 -0700, David Cuny <dcuny at LANSET.COM> wrote:

>If anyone wants to take a look at my emulated Property List control, I've
>put it on my site temporarily at:

>
>-- David Cuny

new topic     » goto parent     » topic index » view message » categorize

3. Re: PropertyList Control for Win32Lib

Judith Evans wrote:

> If this is what you wanted to send me, I'll just
> download it from here.

That's it. I fixed a number of bugs in the process of getting it to work
with the IDE.

I tried out your IDE. It looks good, but I prefer the single window
interface rather than the floating palette design. The palettes always seem
to get in the way of what I'm trying to do.

I'm probably too lazy to hack the IDE any more, but I might take a stab at
adding 'real' controls to the window if I get a chance. That would make it a
lot easier to support the new controls as they come out.

-- David Cuny

new topic     » goto parent     » topic index » view message » categorize

4. Re: PropertyList Control for Win32Lib

Hi, David,

Glad you sort-of like what I've done to your IDE so far.

I've modified the Controls window to be x-ed out without ending the
Design process and reloaded with a right click on the Design Pad. This puts
it out of the way but only temporarily at best. I know it is a pain to move
around but I wanted to have full screen access. If you have another method
to do this, I would sure like to hear about it.

I looked at the Property Sheet you worked up and think it is very usable. I
just have to see what it does to all the code I've hacked in so far.

Do you mean rewrite the IDE to use real controls on the Design Pad like
Bryan Jackson did?

Regards,

Judith




On Fri, 6 Oct 2000 03:03:52 -0700, David Cuny <dcuny at LANSET.COM> wrote:


>I'm probably too lazy to hack the IDE any more, but I might take a stab at
>adding 'real' controls to the window if I get a chance. That would make it
a
>lot easier to support the new controls as they come out.
>
>-- David Cuny

new topic     » goto parent     » topic index » view message » categorize

5. Re: PropertyList Control for Win32Lib

Judith Evans wrote:

> I've modified the Controls window to be x-ed
> out without ending the Design process and
> reloaded with a right click on the Design Pad.

I was thinking it might share space with the property sheet by placing it in
a tab control. I don't know; I don't have a copy of VB, so I can't to refer
a screenshot.

> I looked at the Property Sheet you worked up
> and think it is very usable. I just have to
> see what it does to all the code I've hacked
> in so far.

There will be more changes coming along. I got the dropdown button to push,
using the Win32 API call DrawFrameControl. I've also changed some of the
drawing routines in the IDE as well.

> Do you mean rewrite the IDE to use real
> controls on the Design Pad like
> Bryan Jackson did?

Yes. I was hoping I could put the controls into an off-screen window, and
then BitBlt the results to the Design window. This would avoid the problem
of having to deactivate the controls. It would also have been nice because
the toolbar and status bar would have been automatic.

Unfortunately, if the window is off the screen, there's nothing to blit, so
you just end up with black chunks where the window is off-screen.

-- David Cuny

new topic     » goto parent     » topic index » view message » categorize

6. Re: PropertyList Control for Win32Lib

David,

I'm having trouble with the scrollbar. When I did my testing I clicked the
top/bottom of the bar to make the editor 'move' up and down. Dan Moyer
noticed that if you slide the bar, then unless you click on the scrollbar
after moving it, nothing happens. I assume this is happening because the IDE
is giving focus to the mle in the toolbar routine. Is my thinking correct? I
haven't got a clue how to get around the problem.

Also in testing all that I noticed that when I fixed the selection at the
bottom of the screen from leaving tic marks on the background I broke the
use of the up/down keys going into the previous/next page. It never ends,
does it!

If you pursue the 'real' control IDE, do you want back the use of "IDE" as
program name? I can always come up with something else. Or are we working on
this together?

Just need a little clarification of where you are heading.

Judith


On Fri, 6 Oct 2000 16:25:13 -0700, Cuny, David at DSS <David.Cuny at DSS.CA.GOV>
wrote:


>
>There will be more changes coming along. I got the dropdown button to push,
>using the Win32 API call DrawFrameControl. I've also changed some of the
>drawing routines in the IDE as well.
>

new topic     » goto parent     » topic index » view message » categorize

7. Re: PropertyList Control for Win32Lib

Judith Evans wrote:

> I'm having trouble with the scrollbar.

I'll try to take a look at it some time this weekend. It's been so long
since I've seen the code, I couldn't even guess what might be happening.

> Also in testing all that I noticed that when I fixed
> the selection at the bottom of the screen from leaving
> tic marks on the background I broke the use of the
> up/down keys going into the previous/next page. It never
> ends, does it!

No, it doesn't. smile

That's why I'm grateful when people like you take these projects over.

> If you pursue the 'real' control IDE, do you want back
> the use of "IDE" as program name? I can always come
> up with something else. Or are we working on this together?

I had a couple ideas I wanted to explore, but none of them panned out. It's
a pity, because it would have simplified a lot of the IDE coding.
Specifically, I was hoping I could create a hidden window (placed
off-screen) that I could blit a copy of the client area onto the IDE Design
window. That way, there could be 'live' controls, without the worry of
having them capture mouse clicks, keys, focus, and the like.

Unfortuately, any part of a window that's not on the screen is not actually
rendered, so when it's blitted, the area off screen appears as solid black.
Pity, it was a clever idea.

Along the way, I ran into the DrawFrameControl function along the way, which
performs a lot of what's hard coded into IDE_DRAW.E. The reason that it
might be might be good to replace some of the existing code in IDE_DRAW with
DrawFrameControl is that if Windows ever allows changing the look and feel,
the code using DrawFrameControl should work just fine. Unfortunately, it
only renders the simple controls, not anything like the Tab Control.

In any event, I don't intend to take over the work on the IDE. You're doing
a fine job (despite my lukewarm praise), and I've got more than enough on my
plate to allow me to even think about adding more to the pile.

Thanks again!

-- David Cuny

new topic     » goto parent     » topic index » view message » categorize

8. Re: PropertyList Control for Win32Lib

David,

I found the problem with the scrollbar. It was a stupid error -- performing
setFocus(mle) instead of editorDraw! Anyway I hope I got this to you in time
to save you some trouble.

Thanks,
Judith

new topic     » goto parent     » topic index » view message » categorize

9. Re: PropertyList Control for Win32Lib

On Fri, 6 Oct 2000 22:58:13 -0700, David Cuny <dcuny at LANSET.COM> wrote:

>Judith Evans wrote:
>
>> I'm having trouble with the scrollbar.
>
>I'll try to take a look at it some time this weekend. It's been so long
>since I've seen the code, I couldn't even guess what might be happening.

>-- David Cuny

I'd really appreciate that. You might need to see my newest code that I put
up this morning (but it still has problems based on the message Dan Moyer
just sent me <sigh>) http://home.flash.net/~camping/judith.htm .

Thanks,

Judith

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu