1. Pete: Look into draw rectangle placement yet?

Hi Pete,

Did you get a change to look into that draw rectangle around
combo boxes problem yet?
I was just curious to find out what the difference was or whatever
was going on.
If you're busy with other stuff dont worry too much, but i would
think you'd want to check this out so that when users of your software
use other systems they get consistent results.

Take care,
Al

And, good luck with your Euphoria programming!

My bumper sticker: "I brake for LED's"

new topic     » topic index » view message » categorize

2. Re: Pete: Look into draw rectangle placement yet?

On Sun, 10 Apr 2005 02:25:00 -0700, Al Getz <guest at RapidEuphoria.com>
wrote:

>Hi Pete,
>
>Did you get a change to look into that draw rectangle around
>combo boxes problem yet?
Where's the demo?

Pete

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

3. Re: Pete: Look into draw rectangle placement yet?

Hi Pete,

Demo? What demo?


Take care,
Al

And, good luck with your Euphoria programming!

My bumper sticker: "I brake for LED's"

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

4. Re: Pete: Look into draw rectangle placement yet?

On Sun, 10 Apr 2005 09:30:57 -0700, Al Getz <guest at RapidEuphoria.com>
wrote:

>Demo? What demo?
I wrote a 30-line demo for arwen and one for win32lib.
You said you needed a few days to add a class for Combo to WinClass(?)
If it is anything like the other classes, it is at least 140 lines of
code, and I imagine the same for a ListBox, so to get that demo
working in WinClass, to see what you mean, I have the impression I am
expected to write around 400 of lines of code?

Pete

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

5. Re: Pete: Look into draw rectangle placement yet?

Pete Lomax wrote:
> 
> On Sun, 10 Apr 2005 09:30:57 -0700, Al Getz <guest at RapidEuphoria.com>
> wrote:
> 
> >Demo? What demo?
> I wrote a 30-line demo for arwen and one for win32lib.
> You said you needed a few days to add a class for Combo to WinClass(?)
> If it is anything like the other classes, it is at least 140 lines of
> code, and I imagine the same for a ListBox, so to get that demo
> working in WinClass, to see what you mean, I have the impression I am
> expected to write around 400 of lines of code?
> 
> Pete
> 
> 

Hi Pete,

No you dont have to write a bunch of code for WinClass.  I stuck a
'quick' version of ComboBox.ew into my WinClass directory 'just' to
try this out with a different lib.  Since it behaved differently
(more as expected) all you should have to do is hunt down the
function calls in the lib(s) you are already using to see what
might be changing the returned values or whatever.

BTW the demo i used was simply adding these lines to my other demo:

include ComboBox.ew as CB

constant CB1=CB:Create(...params...)

then i added your code to a button event so that when you clicked
the button it drew the focus rect.  That part of the code was
almost exactly like yours except the way the functions are called...
DrawFocusRect(...) instead of c_func(xDrawFocusRect,{...}), etc., etc.
These functions do not modify the return values in any way either.

I hope to have the newer version of the library done soon along with
some more demos.  Until then if you would like a screen shot i can
take a snapshot and send it to you so you can examine how it gets
drawn using this other lib, but it's rather simple to visualize
by looking at the pic you sent me (the CB on the right side).
I didnt test Listbox because i thought you said that was working ok?


Take care,
Al

And, good luck with your Euphoria programming!

My bumper sticker: "I brake for LED's"

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

Search



Quick Links

User menu

Not signed in.

Misc Menu