From: Stephen Quinn on
Harry

> How can I find the best fitting hex numbers?
Probably a bit time consuming but it should get you what you want
eventually<g>

// pick your own number range
FOR i := 0 upto 20000000000 STEP 1000
oWin := DialogWindow{}
// convert to hex
// Set Alignment
// Show the window
// pause & show the current hex codes so you can make a note of them
// Exit the loop if your have the numbers you want
oWin := NULL_OBJECT
NEXT

CYA
Steve


From: Harry B. on
Stephen,

that would be a good solution, too! <g>

--Harry B.
From: Geoff Schaller on
<rofl> (Steve's response)

Ok, so if you are going to do it this way then you are in for some long
and sleepless nights <g>

Seriously, what is wrong with defines provided. If anything you could
override the AddAlign method and tweak it yourself. It might be faster
than doing it this way.

Geoff



"Harry B." <bongoplayer(a)gmail.com> wrote in message
news:hetca0$5m3$1(a)news01.versatel.de:

> Let's talk about the VO example (as mentioned in my initial posting):
>
> - Samples\OwnerAlignment\OwnerAlignmentLinear.AEF
> - METHOD BtnToggle(lProp) CLASS MainDialog
> - oDCMLE4:OwnerAlignment := PTR(_CAST, 0x12231200)
> - oDCMLE5:OwnerAlignment := PTR(_CAST, 0x14132423)
>
> How can I find the best fitting hex numbers?
>
> --Harry B.

From: Harry B. on
Hmmm,

should I define "best fitting"? If so, I would like the controls acting
like a rubberband with a fixed distance between the controls and the
dialog border.

--Harry B.
From: Harry B. on
Nothing is wrong with that defines, but thy don't fall out of the sky!
So: How to find them without try and error or Stephen's method?

--Harry B.

Geoff Schaller schrieb:
> <rofl> (Steve's response)
>
> Ok, so if you are going to do it this way then you are in for some long
> and sleepless nights <g>
>
> Seriously, what is wrong with defines provided. If anything you could
> override the AddAlign method and tweak it yourself. It might be faster
> than doing it this way.
>
> Geoff
>
>
>
> "Harry B." <bongoplayer(a)gmail.com> wrote in message
> news:hetca0$5m3$1(a)news01.versatel.de:
>
>> Let's talk about the VO example (as mentioned in my initial posting):
>>
>> - Samples\OwnerAlignment\OwnerAlignmentLinear.AEF
>> - METHOD BtnToggle(lProp) CLASS MainDialog
>> - oDCMLE4:OwnerAlignment := PTR(_CAST, 0x12231200)
>> - oDCMLE5:OwnerAlignment := PTR(_CAST, 0x14132423)
>>
>> How can I find the best fitting hex numbers?
>>
>> --Harry B.
>